1. ## Optimization

Farmer builds a fence to enclose a rectangular region along a river, no fence is need along the river, and to divide the region into two areas by adding a perpendicular fence to the river. She has 600ft of fencing and wants to enclose the largest possible area. How far from the river should she build that part of the fence that is parallel to the river?

2. Code:
     river
---------------
|      |      |
|      |      |x
|      |      |
---------------
y     y
$3x + 2y = 600$

$A = 2y \cdot x$

use the fence equation to solve for y in terms of x ... substitute the result into the area equation and proceed to maximize like you were taught.