Answer:
The dimension should be 17.73ft by 24.37ft
Explanation:
The area of a rectangle is given as;
A = L×B ....1
The fence would have three sides
L = a length parallel to the barn
2B = the two other sides
Total cost = 1950
Total cost of fencing the yard;
55L + 20(2B) = 1950
Making B the subject of formula
B = (1950-55L)/40 ....2
Substituting eqn 2 into eqn 1
A = L × (1950-55L)/40
A = (1950L - 55L^2)/40 ....3
Therefore, at maximum area, dA/dL = 0
Differentiating equation 3;
dA/dL = (1950-110L)/40 = 0
1950 -110L = 0
L = 1950/110
L = 17.73ft
Substituting the value of L into equation 2
B = (1950-55(17.73))/40
B = 24.37ft
Therefore, the length parallel to the barn should be 17.73ft and the other two sides should be 24.47ft each.
Confirmation;
Area = 17.73 × 24.37 = 432.1ft^2
Cost = 17.73×55 + 24.37(2×20) = 1949.95 </= 1950 dollars.
Confirmed