Fu-Kwun Hwang
|
 |
«
Embed this message
on: January 29, 2004, 09:54:42 pm » posted from:,,Satellite Provider |
|
Registed user can get files related to this applet for offline access.Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIMEor The magnetic field is always in the y direction, However, you can enter Ex,Ey,Ez to add electric field to the system. The force for charge particle in the electric and magnetic field is  If the initial velocity is proportional to the magnetic field and there is no electric field presented, then the force  is always perpendicular to the velocity  and magnetic fiel d  , which means that it is a circular motion  , so  , or  which is a independent on the velocity of the particle. it only depends on  and magnetic field B.
This java applet tries to show : The motion of a charged particle in a uniform and constant electric/magnetic field
- Particle starts at the origin of the coordinate system
- Blue arrow starts from the origin shows the magnetic field (always in the Y direction)
- Red arrow starts from the origin shows the electric field.
- LEFT Click near the tip of the arrow, and drag the mouse to change the E field (Both direction and magnitude),
The black arrow on X-Z plane shows the drift velocity Vd
- You can also key in values in the textFields to change E / B fields.
- Do not forget to hit the RETURN key after enter the value into the textfield.
- Change the coordinate system:
- Translation : LEFT Click near the origin, and drag the mouse
- Rotation: RIGHT Click within the window and drag the mouse
- Change the initial Velocity V:
- Left click the mouse button within the window and drag the mouse

- The above changes depend on where you press the mouse button.
- (X-Y, Y-Z or Z-X plane, watch the color of the axis)
Press start button to start the animation- The position, initial velocity and the period of the motion are shown at the top left region.
- During the animation
- If the trajectory is not on the X-Z plane :
- Its color is GREEN
- The black curve shows projection of the trajectory on the X-Z plane.
- RED arrow reprenents velocity of the charge
- BLUE arrow represents the force acting on the charge.
- Press the LEFT mouse button will suspend the animation, press it again to resume.
- Click the checkbox on the right to save all the traces
- Drag the RIGHT mouse button to change the viewing angle.
- Animation resumes when you release the mouse button -- with the same initial condition
- If the trace is saved, you can view the trace from various angle.
- Press Reset button to reset the condition
You might want to check out EJS version of Charged particle motion in E/B Field
Physics Law: The Lorentz frce acting on a point charge q is given by F = m a = q ( E + V X B )
- If E=0. ¡GF = q V X B is perpendicular to both V and B
(example 1)

- If initial velocity V is perpendicular to magnetic field B, the change will move in a circular orbit with
- P = m V = q R X B
- (R is the radius of the circular motion)
- The period of the motion is not depend on the velocity
- the angular frequency (also known as cyclotron frequency)
- w = q B / m
- Try with larger q/m value (let q/m=0.1) ! charge moves along B field
- If EXB exists, the charge will drift in that direction with drift velocity Vdrift = EXB/|B|2.
- called "E cross B drift"
( example 2)  ( example 3) 
- Try it with a larger q/m value ( let q/m=0.1 => smaller radius R)!
Electrostatic Field | - The work done by the field will increase the kinetci energy of the change particle K = q E¡ER (R is the displacement vector¡^
- Particles with different velocities will spread out in E field
|
Magnetostatic Field | - Magnetostatic field can not change the kinetic energy of the particle ( only change the direction of its velocity, F is always perpendicular to its velocity V¡^
- The cyclotron frequency does not depend on the speed of the particle or the radius of the orbit.
- Particles with different velocities will not spread out in a uniform magnetostatic field.
|
Registed user can get files related to this applet for offline access.Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list If java program did not show up, please download and install latest Java RUN TIMEor
|
*** There are 2 more attached files. You need to login to acces it!
|
|
Logged
|
|
|
|
Guest
|
 |
«
Embed this message
Reply #1 on: January 30, 2004, 12:52:38 pm » posted from:,,Satellite Provider |
|
 Subject: applet Date: Fri, 15 Oct 1999 14:09:41 -0400 From: Daniel Lemire <Daniel.Lemire@Videotron.ca> To: hwang@phy03.phy.ntnu.edu.tw Good day, I checked your E/M applet today. Maybe you can help me out... When I set both E and M fields to zero, I would expect the particule to move at a constant speed in a constant direction (or possibly stay still). Yet, no matter what I do, it doesn't seem to work. I am just trying to show to a friend that a charged particule standing still in a magnetic field won't feel a thing... if there is not E field. Your applet would be perfect... but it doesn't give the desired result. Daniel Lemire -------------------------------------------------------------------------------- Subject: Re: applet Date: Fri, 15 Oct 1999 22:11:30 -0400 From: Daniel Lemire <Daniel.Lemire@Videotron.ca> To: Fu-Kwun Hwang <hwang@phy03.phy.ntnu.edu.tw> Thanks for your quick reply!
|
|
|
Logged
|
|
|
|
Guest
|
 |
«
Embed this message
Reply #2 on: April 03, 2004, 02:10:44 pm » |
|
 Subject: applet Date: Fri, 15 Oct 1999 14:09:41 -0400 From: Daniel Lemire <Daniel.Lemire@Videotron.ca> To: hwang@phy03.phy.ntnu.edu.tw Good day,
I checked your E/M applet today. Maybe you can help me out...
When I set both E and M fields to zero, I would expect the particule to move at a constant speed in a constant direction (or possibly stay still).
Yet, no matter what I do, it doesn't seem to work.
I am just trying to show to a friend that a charged particule standing still in a magnetic field won't feel a thing... if there is not E field. Your applet would be perfect... but it doesn't give the desired result.
Daniel Lemire
--------------------------------------------------------------------------------
Subject: Re: applet Date: Fri, 15 Oct 1999 22:11:30 -0400 From: Daniel Lemire <Daniel.Lemire@Videotron.ca> To: Fu-Kwun Hwang <hwang@phy03.phy.ntnu.edu.tw> Thanks for your quick reply!
|
|
|
Logged
|
|
|
|
parrenas18
Newbie
Offline
Posts: 1
|
 |
«
Embed this message
Reply #3 on: March 17, 2006, 03:16:15 pm » |
|
 Can get your codes in the particle charge in motion.... Because i have a science project about the said topic and i need to make a simulator... I need a code reference to make that project plsssssssss!!!!!!!!!!!!!!!!1
|
|
|
Logged
|
|
|
|
delores.knipp
Newbie
Offline
Posts: 1
|
 |
«
Embed this message
Reply #4 on: February 22, 2007, 01:33:21 am » |
|
 Is it possible to download the files rather than having them e-mailed? My firewall is stripping off the attachments to your e-mails. Delores Knipp
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #5 on: February 22, 2007, 04:22:44 pm » |
|
 Please change you firewall setting or email acoount setting!
|
|
|
Logged
|
|
|
|
guybrush
Newbie
Offline
Posts: 1
|
 |
«
Embed this message
Reply #6 on: April 25, 2007, 03:43:19 am » |
|
 Hello, I observed that in the java applet "Charged particle motion in E/M Field" when there exits both magnetic(y-axis) and electric field (x-axis), and initial velocity has only i (x) component, charge drifts in Z direction. B causes charge to make rotational motion and E causes it to drift, this is what I assume. According to my assumption, charge should drift in the direction of electric field, in x direction. What is the reason of moving in Z direction? I would like to learn the nature of the motion. My second question is when we solve equation m a = q ( E + V X B ), we get (for conditons above) qE = m dVx/dt which means acceleration is constant in X axis; is it possible for a drifting motion to have constant acceleration? Thanks for your help Hasan Serce
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #7 on: April 25, 2007, 01:02:21 pm » posted from:Taipei,T\'ai-pei,Taiwan |
|
 If the velocity of a charge particle is perpendicular to the B field, The force q vXB will cause a particle to move in a circle with constant velocity. From qvB=m v 2/r so r=mv/(qB) The E field will cause a particle to accelerate along the field direction. Now, we have a charge particle in E and B field. The circular motion radius r=mv/(qB), which is dependent on the velocity of the particle. Because the velocity is changing due to E field, so the circular radius r also is changing,too. The changing in radius cause the particle to drift in the EXB direction, so called EXB drift (E cross B drift).
|
|
|
Logged
|
|
|
|
prendergast.david
Newbie
Offline
Posts: 2
|
 |
«
Embed this message
Reply #8 on: November 03, 2007, 02:32:07 am » |
|
 any chance i can get the source code for this as it would really help with a project im doing. thanks
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #9 on: November 03, 2007, 04:35:08 pm » |
|
 You should have received the source code now.
|
|
|
Logged
|
|
|
|
prendergast.david
Newbie
Offline
Posts: 2
|
 |
«
Embed this message
Reply #10 on: November 04, 2007, 05:06:15 am » |
|
 Thanks very much. got it and helped loads. thanks!
|
|
|
Logged
|
|
|
|
blackjackchik
Newbie
Offline
Posts: 1
|
 |
«
Embed this message
Reply #11 on: May 12, 2008, 02:35:37 pm » |
|
 Please send me source code too.
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #12 on: October 24, 2008, 10:13:54 am » posted from:Taipei,T'ai-pei,Taiwan |
|
 My students and I ran your "particle in a crossed E and B field" simulation today. It appears that the axes shown in the applet are not the axes the program reads. For example, if I click and drag the velocity vector to a point along the +x axis, the program does not show (+vx, 0, 0) as expected. Please could you check into this and contact me?
A physics teacher sent me the above email message. I am sorry that I did not write it clearly about how to change the initial velocity in the above applet. Because I want user to be able to change initial velocity in 3D. However, the screen is 2D. So user can use mouse to change the initial velocity either in the X-Y(Vz=0), Y-Z(Vx=0) or Z-X(Vy=0) plane. Please see the attached file to find out how to switch between the above 3 different planes (Click in different region to switch between plane).
|
|
|
Logged
|
|
|
|
ruby amit bhatt
Newbie
Offline
Posts: 1
|
 |
«
Embed this message
Reply #13 on: February 12, 2010, 12:07:17 pm » posted from:Bhopal,Madhya Pradesh,India |
|
 I woud like to see your code for cyclotron simulation in java[
|
|
|
Logged
|
|
|
|
Fu-Kwun Hwang
|
 |
«
Embed this message
Reply #14 on: February 12, 2010, 12:16:39 pm » posted from:Taipei,T'ai-pei,Taiwan |
|
 Please check out emField.java (attached file under the first message) by yourself.
|
|
|
Logged
|
|
|
|
hawraa
Newbie
Offline
Posts: 4
|
 |
«
Embed this message
Reply #15 on: January 06, 2016, 11:57:30 pm » |
|
 plz sir, can i have a java applet for an electron between 2 charged parallel plate(2-D | path of electron in an electric field where we use this equation Electron path: y = [eV/2dmv2]x2)...simple one...thanks
|
|
|
Logged
|
|
|
|
|