|
If you drop a brick from a tower, what will happen to the brick? A good answer might be:It will fall to the ground under the influence of gravity. |
Falling BricksGravity will pull upon the brick, causing it to go faster and faster. The distance of the brick from where it was released after t seconds will be: distance = (1/2) * G * t2In this fourmula:
After 1.0 second, the brick will be at (1/2)*9.80665*(1.0)2 = 0.5 * 9.80665 * 1.0 = 4.903325 meters. After 2.0 seconds, the brick will be at (1/2)*9.80665*(2.0)2 = 0.5 * 9.80665 * 4.0 = 19.6133 meters. This is getting tedious. It would be nice to have a program to do the calculation for many values of t and print the result as a table. |
QUESTION 12:The program will use some sort of a loop.
|