I modify the code so that the velocity can be adjust to 20km/s, however, you better to change the time step to smaller value.

The unit for change has been change to e (1.6*10^{-19})$

The program will change the scale if the particle come out right/left.
The bounce off the wall (above/below) kept the same.


Click the eye (image) to display the simulation
[eye]

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/changeGaussianField4_pkg/changeGaussianField4.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1055.9kB):double click downloaded file to run it. (1 times by 1 users) , Download EJS source View EJS source
[/eye]