Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sorry if this isn't the correct place but it did seem to be! Basically, I'm coding a small test with a bouncing ball. All works well, but the problem is I need to work out the b needed for a ball to bounce a realistic looking height where b = 'bounce'. This isn't a physics question!

I have worked out b = distance_from_ground / modifier. However the modifier needs to be different each time depending on distance_from_ground. So I've experimented quite bit and found the following pattern for realistic bouncing.

distance_from_ground  |  modifier
50                        12.5
130                       10
330                       5

What's the best way of working out a pattern? I want the program to work out the modifier based on the distance_from_ground?

share|cite|improve this question
1  
- linear model : $m(d) := 13.25-d/40$ (default : $12.5\to 12$) - power model : $m(d):= 14.84-0.118*t^{0.7627}$ (you didn't provide the asymptotics...). But a physical model would be nicer and more reliable ! – Raymond Manzoni Dec 21 '12 at 13:37
    
@RaymondManzoni Thank you that's awesome! I will switch to a physically accurate model eventually, but this is just a test that's more about testing to technology than anything else :) – andy Dec 21 '12 at 13:45
    
Glad it helped @andy and fine continuation ! – Raymond Manzoni Dec 21 '12 at 13:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.