Max Height Equation