How to find the min or max with Parabola