Ejs Open Source Ball throw up and down with scientific graphs Java Applet
Ejs Open Source Bouncing Ball with Drag Java Applet

this Model is made using the 4 equations
dx/dt = vx
dy/dt = vy
dvx/dt = ax
dvy/dt = ay
the event handler is  zero crossing
if (vy<0) return yground-(y); // bounced at x=xmax
// else if(v<0)return xbumpertop-(x-carSize/2); // bounced at x=xmin or x+carSize/2
//return 1.0; // time will stop if use return 1.0
return 0; // time continues
Action is
vy=-e*vy;

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/UpandDownBouncingBall_pkg/UpandDownBouncingBall.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(1693.8kB):double click downloaded file to run it. (86 times by 23 users) , Download EJS source View EJS source