PPRuNe Forums - View Single Post - C Code Problem
Thread: C Code Problem
View Single Post
Old 1st November 2006 | 20:58
  #7 (permalink)  
planecrazy.eu
 
Joined: Jun 2006
Posts: 526
Likes: 0
From: BRISTOL!
Hello Again All...

here is my C Code problem...

A Ball is thrown upwards at a speed of 15m/sec, it rises in the air and falls again. Display a table of the heights at intervals of 0.2second from the time it is thrown untill it reashes the ground.

the formula for the height at any point in time is:

height = 15 x time - 4.9 x time(squared)

keep the ball going untill the ball falls below zero

-----------------------------------------------------------------------

Thanks for any help on the above, its got me...

Once completed, there are variables, but i am ok at added different variables in, like changing speed, but the whole sum and loop thing is over my head...

Thanks agian...
planecrazy.eu is offline  
Reply