Home /
Expert Answers /
Computer Science /
solve-all-in-python-suppose-you-want-to-build-a-fence-around-a-rectangular-enclosure-and-have-100-y-pa816
(Solved): solve all in python Suppose you want to build a fence around a rectangular enclosure and have 100 y ...
solve all in python
Suppose you want to build a fence around a rectangular enclosure and have 100 yards of material to use. In addition, suppose there is a long brick wall you can use for one of the sides. Let x denote the length (in yards) of the sides perpendicular to the brick wall. (a) Write the formula for A(x), the area (in square yards) of the rectangular enclosure surrounded by the fencing, and use Python to expand it. (b) What is the area when the sides perpendicular to the wall are 15 yards long each? (c) How long does each side perpendicular to the wall need to be to achieve an enclosed area of 1200 square yards? List all solutions if there is more than one. (d) Plot A(x) over a domain that makes sense for this problem. (e) Use Python to find the x value that maximizes the enclosed area.