comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: quick question about bouncing balls
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: quick question about bouncing balls [message #65975] Thu, 09 April 2009 14:54
Giorgio is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: Missing Data Programming Contest
Next Topic: Filling Contour with Patterns

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:36:10 PDT 2025

Total time taken to generate the page: 0.23992 seconds