Enjoy the fun of physics with simulations!

Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Title: Free Fall Cartesian with friction 2D Wolfgang Christian and Francisco EsquembrePost by: lookang on November 27, 2008, 02:27:46 pm
Friction
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 source codedownload the *.jar for using the applet on standalone without internet connection. |