A stone is thrown vertically upwards with an initial velocity of 30meter per second from the top of a tower 20metes high find the time taken to reach the maximum height and the total time which elapses before it reaches the ground and gravity is 10meter per second .