Learning Scientific Programming with Python (2nd edition)

P8.4.1: A simple constrained minimization problem

Question P8.4.1

A rectangular field with area $A = 10000\;\mathrm{m^3}$ is to be fenced-off beside a straight river (the boundary with the river does not need to be fenced). What dimensions $a,b$ minimize the amount of fencing required? Verify that a constrained minimization algorithm gives the same answer as the algebraic analysis.