Given:
The amount for buy fence = $ 10,000.
The cost for the top and bottom of the fence = $ 4 per foot.
The cost for the left ad right sides of the fence = $3 per foot.
The length of the top and bottom is x.
The length of the left and right is y.
Required:
We need to find the money that was used for the top and bottom, x, and for the sides, y.
Step-by-step explanation:
Consider the equation for the given model.


Isolate y, we get




Multiply x and y, since the area of the given rectangle, is xy square feet.

Let A =xy.

Differentiate the equation with respect to x.


Equate this equation to zero.






Substitute x =625 in the equation y.






Replace x =625 in 8x to find the cost for the top and bottom.

Replace y =833.33 in 6y to find the cost for the left and right sides.



Final answer:
The area will be x times y or 520931.250square feet.
Top and bottom fencing will cost $5000, and sides will cost $5000.