the value of h will be (g is the acceleration due to gravity)