# NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

## Easy Java Simulations (2001- ) => Electromagnetism => Topic started by: jmz on March 10, 2010, 08:27:42 pm

 Title: Charge in a uniform magnetic field in 3D Post by: jmz on March 10, 2010, 08:27:42 pm You can change the orientation of the magnetic field. If you open the control window you can also modify the charge options Title: Re: Charge in a uniform magnetic field in 3D Post by: lookang on March 10, 2010, 09:35:59 pm nice applet!i have a couple of suggestions but i will just give one for now.make the field a volume with some transparency  , the lines currently alone is hard for learners to appreciate the region of the 3D space where there is magnetic field lines.wow, U r a Colos member! cool! hope to see more applets from U! Title: Re: Charge in a uniform magnetic field in 3D Post by: jmz on March 11, 2010, 11:25:32 pm Quote from: lookang on March 10, 2010, 09:35:59 pmmake the field a volume with some transparency  , the lines currently alone is hard for learners to appreciate the region of the 3D space where there is magnetic field lines.I think it is a good idea, I'm working on it, please let me know if you have more comments Title: Re: Charge in a uniform magnetic field in 3D Post by: lookang on March 12, 2010, 09:02:54 am from the point of a learner, it will make learning relational when it is possible for the the learner to verify the equation of motion of a charged particle in B field.F = v^B*qin the case of a constant velocity and in a circular motion caseF = m*v*v/rv^B*q = m*v*v/rB*q = m*v/rmake B, r, m, v measurable helps the learner to understand the equation is really a suitable model to predict the motion.http://www.lon-capa.org/~mmp/kap21/cd533capp.htmhas some interesting features you may take reference from :) Title: Re: Charge in a uniform magnetic field in 3D Post by: Fu-Kwun Hwang on March 12, 2010, 04:00:15 pm $\vec{F}=q\vec{v}\times\vec{B}$.The following show a charged particle trapped bwtween two uniform field.You can use sliders to change the width and the separation between two sets of magnet.The magnetic field is assumed to be uniform $Bz\hat{z}$ inside the magnet region. and the field is zero when outside the boundary.You can change the location and velocity of the charged particle with mouse drag and drop or with sliders. Title: Re: Charge in a uniform magnetic field in 3D Post by: lookang on December 08, 2010, 12:17:04 pm Hi prof,i noticed a bug in the direction of F magnetic.// use return q*v*(-Bz) instead of return q*v*(Bz); becaue Bz is define as down positivebtw i manage to create 2 variant simulationsEjs Open Source Charge Particle in Magnetic Field B Java Applet in 3Dhttp://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1972.msg7328#msg7328Ejs Open Source Cyclotron Java Applet in 3Dhttp://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2021.msg7600#msg7600i will update the 2 variant simulations soon! Title: Re: Charge in a uniform magnetic field in 3D Post by: Fu-Kwun Hwang on December 08, 2010, 10:37:14 pm Thank you for the bug report. It is updated now!