A rocket initially at rest on the ground lifts off vertically. Find the maximum height y m a x reached by the rocket.