
Gary L. answered 10/16/20
Mathematics, VBA/Excel, Engineering Numerical Methods
6 pens require 7 short lengths, each @ x ft.
To enclose the pens requires 2 long lengths, each @ y ft.
Total length of fence = 970 ft = 7x + 2y
Total Enclosed Area = A = xy sq ft
Express Area as a function of one variable:
y = (970 - 7x) / 2 = 485 - 3.5x (ft)
A = xy = f(x) = x(485 - 3.5x) = - 3.5x^2 + 485x (sq ft)
Determine the maximum area via the calculus:
1. dA/dx = - 7x + 485 (set first derivative = 0 to determine extremum)
2. d2A/dx2 = - 7 (the negative second derivative tells us the extremum is a maximum value, for all x)
Optimum x = 69.286 ft
Optimum y = 485 - 3.5x = 242.5 ft
Maximum A = 16,801.79 sq ft (ANS)
I hope this helps,
Gary

Gary L.
:)10/16/20
Garrett J.
That did indeed, thank you very much!10/16/20