- #1

Noone1982

- 83

- 0

As you know, an electron experiences a force of F = qVxB in a magnetic field and equating this to centripetral force, we can find the radius of the electron's path to be R = mv/qB Ok, that's simple enough.

Now, I want to model an electron via 3D graphing in a magnetic field. For this, I need to model every part of its trajectory. This is proving tricky.

Say we have:

Bx = 0

By = 0

Bz = 1 micro tesla

The initial electron is coming in at

Vx = 0

Vy = 1.5e8 m/s

Vz = 0

The cross product is

Fx = q(VyBz - ByVz)

Fy = q(VxBz - VzBx)

Fz = q(VxBy - VyBx)

Now the acceleration is just a = F / m

However, For ax I'm getting 4.23e13 m/s^2! which is a wee bit high. Ok, just plain wrong. How would you generate an animation of an electon in a magnetic field? I would like to extend it so the magnetic field osccilates and varies with amplitude versus time.