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
(1/2) * 9.80665 * (0.0)2 = 0.5 * 9.80665 * 0.0 = 0.0 meters.
After 1.0 second, the brick has dropped
(1/2) * 9.80665 * (1.0)2 = 0.5 * 9.80665 * 1.0 = 4.903325 meters.
After 2.0 seconds, the brick has dropped
(1/2)* 9.80665 * (2.0)2 = 0.5 * 9.80665 * 4.0 = 19.6133 meters.
After 3.0 seconds, the brick has dropped
(1/2)* 9.80665 * (3.0)2 = 0.5 * 9.80665 * 9.0 = 44.1299 meters.
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.