Math problem algebra
Stephen wants to build a rectangular enclosure for his animals. One side of the pen will be against the barn, so he needs no fence on that side. The other three sides will be enclosed with wire fencing. If Stephen has 500 feet of fencing, you can find the dimensions that maximize the area of the enclosure.
a) Let be the width of the enclosure (perpendicular to the barn) and let be the length of the enclosure (parallel to the barn). Write a function for the area of the enclosure in terms of . (HINT: First write one equation with w and l and one equation with w and l and A. Solve for l in the first equation and substitute for l in the other).