The constraint on the length (along river) and width is the length of fencing, F: 2W + L = F
The area that you want to maximize is LW = A
Solving for L in the constraint, and substituting into the Area equation, one obtains:
(F-2W)(W) = A or -2W2+FW-A=0 or W2-(F/2)W+A/2 = 0
You can set the derivativeof A(W) to zero and find the W for maximum A or you can just find the vertex of the parabola written above (which is at W = F/4) (This is general for this situation of a rectangular fence with one side provided by a wall or river (W=F/4 and L=F/2 - In the case of a rectangle with only the fence providing the barrier, the answer is a square with side = F/4)
Ariel I.
THANKS FOR YOUR HELP BUT THAT WASNT THE ANSWER I WAS LOOKING FOR08/03/22