Falling objects

g = 9.81;

A ball dropped from rest falls a distance h(t) = ½ g t². How far has it fallen after 3 seconds?

h(t) := g*t^2/2
h(3)

Its speed is the derivative of the distance:

deriv(h(t), t)

When does it hit the ground from a 50 m tower? Change the height and run it again.

solve(h(t) == 50, t)
plot(h(t), t, 0, 4)