NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Kinematics => Topic started by: Fu-Kwun Hwang on February 25, 2007, 12:57:16 pm



Title: Elastic bouncing ball
Post by: Fu-Kwun Hwang on February 25, 2007, 12:57:16 pm
An 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.


-*-


Title: EJS source file download button error: file does not exists!
Post by: lookang on July 09, 2007, 10:58:22 pm
sorry but i can't get it ;D


Title: Re: Elastic bouncing ball
Post by: Fu-Kwun Hwang on July 10, 2007, 03:45:16 am
You should be able to download it now.


Title: Re: Elastic bouncing ball
Post by: Engineero on October 31, 2009, 04:47:39 am
could 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


Title: Re: Elastic bouncing ball
Post by: lookang on October 31, 2009, 11:22:59 am
for 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
has the source codes for sharing under license attribution.

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

enjoy!


Title: Re: Elastic bouncing ball
Post by: Fu-Kwun Hwang on October 31, 2009, 10:34:34 pm
Here 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 [eye]
[ejsapplet]
[/eye] to view simulation.


Title: Elastic bouncing ball
Post by: Femida on March 27, 2015, 01:37:32 am
I congratulate, your idea simply excellent


Title: Re: Elastic bouncing ball
Post by: lookang on December 23, 2015, 09:30:56 am
i 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"
(https://lh4.googleusercontent.com/-o1a8H9RVMMQ/U0SBSYyWhzI/AAAAAAAAgNg/NcFU1wEkoCU/s640/blogger-image-1827329758.jpg)
enjoy!