Re: quick question about bouncing balls [message #65975] |
Thu, 09 April 2009 14:54 |
Giorgio
Messages: 31 Registered: March 2008
|
Member |
|
|
To get the resultant you have to know if the the collision is elastic
or inelastic (or how much energy is dissipated during the collision).
Then, you establish the equations for momentum and energy
conservation. By solving them, you get the resultants.
Giorgio
On Apr 9, 8:21 am, oxfordenergyservi...@googlemail.com wrote:
> I've hit a thursday afernoon wall and want to write some code which
> bounces balles around in 2d.
>
> this should be A level. but I can't do it and cant find it on the web
>
> if i have 2 spheres with positions
>
> x1,y1 and x2,y2
>
> and velocities
>
> vx1,vy2 and vx2,vy2
>
> when they hit each other, what are the resultant
>
> vx1,vy2 and vx2,vy2
>
> ???
>
> Thanks
>
> Russ
|
|
|