The brick falls to the ground.
Gravity pulls upon the brick, causing it to go faster and faster.
The distance between the brick and where it was released
after t
seconds is:
distance = (1/2)*G*t2
t
is the number of seconds since the brick was released.G
is a constant: 9.80665distance
is in meters.
After 0.0 seconds, the brick has dropped 0.0 meters.
After 1.0 second, the brick has dropped
After 2.0 seconds, the brick is has dropped
After 3.0 seconds, the brick is has dropped
This is getting tedious. Let's write a program that does the
calculation for many values of t
and prints the results as a table.
Let's use a loop.