The model assumes that energy is lost only during the floor collision.  Modify the differential equation to include energy loss due to air friction.  This energy loss can be modeled by including a friction (fluid drag) force Ffriction that is proportional to the velocity:
Ffriction = - b v .
Because drag is a vector force it will affect the ball's motion in both the x and y directions.  Compare the effect of friction in this activity with the one-dimensional Free Fall activity.
How i implement the model is

1. add variable k
2. add variable mass
3. dvy/dt = -g - k/mass*vy
4. dvx/dt = -  k/mass*vx[/color][/b]

[b][color=red]source code
download the *.jar for using the applet on standalone without internet connection.[/color][/b]

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/FreeFallweefriction_pkg/FreeFallweefriction.propertiesFull screen applet or Problem viewing java?Add 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(1280.3kB):double click downloaded file to run it. (17 times by 9 users) , Download EJS source (1 times by 1 users) View EJS source