Longest throw, biggest box, fastest rescue: slide to where the tangent goes flat.
A curve showing how good a choice is, with an amber tangent line at the chosen point. Slide the point along: where the curve is rising the tangent tilts up, where it is falling it tilts down, and at the very top (or bottom) it is flat. A dashed teal line marks the best choice. Buttons pick a projectile's range against its launch angle, the volume of an open box folded from a 30 cm square against the size of the corners cut out, and a lifeguard's time to reach a swimmer against where she enters the water.
Find the best: where the slope is zero
InteractiveProblem
The math, with your numbers
The slope says: go further right to do better.
Try this
Want to know why it behaves like this?
The lesson “Finding the Best: Optimization” explains it step by step: Why does 45° throw farthest, and why does light bend?