The biggest pen you can build against a wall
A farmer has 100 meters of fencing and wants to build a rectangular animal pen. Luckily, one side of the pen can run along an existing long straight wall, so no fence is needed there, the fence only needs to cover the other three sides.
What dimensions give the largest possible enclosed area, and how much bigger is it than fencing all four sides?