# NTNUJAVA: Virtual Physics Laboratory: Enjoy the fun of Physics

• Elastic bouncing ball by:hwangat 2007/02/25 13:57An elastic ball bouncing off the walls and another hard semi-circle object.
Collision between two objects is simulated with a invisible spring.
$\vec{F}=-k*\Delta \vec{s}$, where $\Delta\vec{s}$ is the displacement of the spring from it's original length.
You can adjust the spring constant k to change its elastic property.
Press pause and adjust the velocity of the ball with mouse (or drag it off center) to watch interesting motion.

-*-

See 7 replies click

1. EJS source file download button error: file does not exists! by:lookangat 2007/07/09 23:58sorry but i can't get it ;D

2. Re: Elastic bouncing ball by:hwangat 2007/07/10 04:45You should be able to download it now.

3. Re: Elastic bouncing ball by:Engineeroat 2009/10/31 05:47could you but java code for this simulation please
and I'm not that good in open source is there any source for this
http://faculty.ifmo.ru/butikov/Projects/Falling_bodies.html

4. Re: Elastic bouncing ball by:lookangat 2009/10/31 12:22for source codes by other authors u should ask them directly.

alternatives similar applet that i made
Ejs Open Source Creative Commons Attribute Projectile motion Java Applet
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=745.0

u could do a search for "projectile motion" in this forum and u will find a couple more :)

enjoy!

5. Re: Elastic bouncing ball by:hwangat 2009/10/31 23:34Here is a EJS version of the simulation similar to the one at http://faculty.ifmo.ru/butikov/Projects/Falling_bodies.html

The force for the particle is assumed to be $\vec{F}=-b\vec{V}-\vec{g}$.
You can adjust parameter b and restitution coefficient with slider.

The id slider control which particle will be modified when x,y,z,vx,vy,vz are adjusted with slider.

You will find "size effect" when b>0. i.e. smaller particle slow down faster.

Click

[ejsapplet]
to view simulation.

6. Elastic bouncing ball by:Femidaat 2015/03/27 02:37I congratulate, your idea simply excellent

7. Re: Elastic bouncing ball by:lookangat 2015/12/23 10:30i have a JavaScript version here

http://iwant2study.org/ospsg/index.php/interactive-resources/physics/02-newtonian-mechanics/01-kinematics/37-kinematics-in-y-direction

select dropdown menu "free fall and rebounce"

enjoy!