# Program to compute the height of a ball in vertical motion

v0 = 5      # initial velocity 
g  = 9.81   # gravitational accelaration
t  = 0.6    # time 

y  = v0*t - 0.5*g*t**2   # vertical position 

print y



