3D Motion of a charged particle through magnetic and electric fields
A finite difference method is used to solve the equation of motion derived from the Lorentz force law for the motion of a charged particle in uniform magnetic fields or uniform electric fields or crossed magnetic and electric fields. The graphical output from the mscript gives a summary of the parameters used in a simulation, the trajectory in an
XY plane and 3D trajectory and displacement, velocity and acceleration time graphs.
The notes for the simulation can be found at
http://www.physics.usyd.edu.au/teach_res/mp/doc/em_vBE.pdf
Cite As
Ian Cooper (2024). 3D Motion of a charged particle through magnetic and electric fields (https://www.mathworks.com/matlabcentral/fileexchange/53973-3d-motion-of-a-charged-particle-through-magnetic-and-electric-fields), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Aerospace > Aerospace Blockset > Visualization >
- Sciences > Physics > Particle & Nuclear Physics >
- Sciences > Chemistry > Quantum Chemistry >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |
The documentation for the simulation can be found at
|