a body of mass m is thrown with velocity v vertically up. find the maximum height attained considering variation of gravity