A farmer has exactly 40 metres of fencing and wants to build a rectangular pen for some goats.
All 40 metres must be used, and the pen must be a rectangle with four fenced sides.
The farmer wants the goats to have as much room as possible, so the question is:
What shape gives the biggest area?
A long thin pen? A short wide one? Something in between?
This is a real optimization problem, and by the end of this lesson you will solve it exactly, with no guessing.

A farmer laying out a rectangular pen with fixed fencing