Charged particle — Lorentz force simulator
Electric field E (Ex, Ey, Ez)
Magnetic field B (Bx, By, Bz)
Initial velocity v (vx, vy, vz)
Charge q (use minus sign for negative charge)
Mass m
Enable damping
Damping coefficient k:
Time step dt (s)
Start
Pause
Reset
Step
t =
0.00
s
speed =
0.00
Force magnitude =
0.00
Equations used:
F = q (E + v × B) - kv
,
a = F / m
with RK4 integration for stability.