Quoto

Learn / Library / Calculus

A pen against a wall

CalculusEasy

A farmer has m of fencing to build a rectangular pen along a long straight wall, so only sides need fencing. What is the largest possible area of the pen, in m²? Give the answer as an integer.

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Take the side perpendicular to the wall as the variable and write the area as a quadratic.

Solution
  1. Let each side perpendicular to the wall be ; the side parallel to it is then .
  2. The area is .
  3. Then , which is zero at , and the parabola opens downward, so this is the maximum.
  4. The pen is by , and its area is .

Answer: