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?
deez nutz ha got em
Though seriously, figure out what equations you need as secondary and primary equations. Do this by reading problem to see what the question is wanting you to optimize. (Primary Optimize) (Secondary Substitution)
P=2x+y (Optimize) The problem is asking you for fence so Perimeter is Primary.
Find y in terms of x using Area equation and plug into Perimeter equation.
Optimize (Find derivative, then set equal to zero)
-2=-50/x^2 (Multiply both sides by x^2)
2x^2=50 (Divide both sides by two)
x^2=25 (square root both sides)
Now you have found x. From here on out you are basically in the clear. All you need to do is plug x back into the Area equation to give you a y value.
50=5y (Divide by 5)
Now with both values, plug x and y into your perimeter equation to give you your y values.
P=20 (This is the amount of fence you will have.