Bouncing a ball force calculation

AI Thread Summary
When a ball bounces, its speed component normal to the surface reverses, indicating a change in momentum due to an impulse force. To simulate this accurately, one must consider the forces involved, including the rigidity of the wall and the ball's speed, rather than simply reversing the speed component. A mass and spring model can be used to create realistic parabolic motion by adjusting the velocity to decrease and then increase in the opposite direction. Newton's equations can help calculate the necessary parameters, including acceleration derived from force and mass, while Hooke's Law can guide the spring constant adjustments. Additionally, the discussion raises the importance of accounting for energy loss, which affects the ball's bouncing behavior over time.
daniel_i_l
Gold Member
Messages
864
Reaction score
0
When a ball bounces into something like the floor the component of the speed normal to the plane (for example the floor) gets reversed.
I'm trying to program a physics simulation were there are, among other things, balls bouncing off walls and stuff. Now I know that I could simply reverse the speed component as I explained above to make the ball bounce but this is somewhat af a "hack", what I want to know is how it "really" happens - in terms of forces and stuff. The ball changes it's momentum which means that there is some force that pushes the ball from the wall over a certain time - impulse. How do I calculate this force (by perimiters such as the rigedness of the wall, speed of the ball...) and how do you know when to apply it and when to stop?
Thanks.
 
Physics news on Phys.org
If it were me, I would start with the mass and spring model. Let the velocity decrease linearly to zero then increase back to where it was, but in the other direction. Keep the slope the same no matter how fast the ball approaches the wall. This will create the parabolic motion that a bouncing ball in contact with the floor in slow motion would so closely resemble.

Relevant Newton's Equations:

(velocity) = (initial velocity) + (acceleration) x (time)

(Position) = (initial position) + (initial velocity) x (time) +
1/2 (acceleration) x (time)^2

The acceleration is of course in reality determined from the force and the mass, and the force is determined from Hooke's Law F = -kx where k is the spring constant which you can play with, but you could also just play with the acceleration until it looks right.

Are you going to consider energy loss? i.e. will the ball eventually stop bouncing?
 
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top