A farmer intends to fence o a rectangular pen for his pig Wilbur, using the barn as one of the sides. If the enclosed area is to be 50 square feet, what is smallest amount of fence needed, in feet?

1 answer

x y = 50
2 x + y = p

100/y + y = p

dp/dy = 0 for min = -100/y^2 + 1
y = 10
x = 5
p = 20 feet of fence