When you drop an object, the speed that it falls increases the further it falls. This is because gravity is making the object accelerate towards the earth. Oddly enough the mass of the object has no bearing on this; a feather speeds up just as much as a rock! (as long as you are in a vacuum and there is no air slowing the object down.) A long time ago it was proven that this acceleration is a fixed number that is actually 9.81 m/s2. This number is usually given the short form g:
g = 9.81 m/s2
Create a program that assumes a person is on top of a cliff that is 100 m high. The user enters in the number of seconds (which represents the number of seconds since they released the object) and the program calculates how high the object currently is above ground. You should use the following formula:
H = 100 - (1/2)*gs2