
Paul F. answered 06/30/17
Tutor
4.9
(259)
Highly Experienced Physics, SAT Math and Calculus Tutor
Answer is 95 ft by 95 ft by adding 75 ft to the 20 ft of length of the barn.
If you only use the barn only as one side, you can have sides of 20 & 170
which gives an area of 3400 sq ft.
But if you add a length 'y' to the barn and run a width of 'x'
Area = ( 20 + y ) x = xy + 20x
Perimeter excluding the barn = 360 = 2x + 2y + 20
Solving for y =>
y = 170 - x
Using substitution to eliminate 'y'
A = x ( 170 - x ) + 20x
Expanding and then differentiating
dA/dx = - 2x + 190
Setting this to zero yeilds
x = 95
and thus y = 170 - x = 75
So the maximum area A = 95 x 95 = 9025
Also since A''. the 2nd derivative is = -2
being negative tells us this is a local maximum
rather than a local minimum