Final answer:
To build the pen as cheaply as possible, choose the dimensions of 5 feet by 8 feet. The cost of the pen would be 1195 dollars.
Step-by-step explanation:
To build the pen as cheaply as possible, we can minimize the cost of the wooden sides by using the minimum amount of wood necessary. Since the animal requires an area of 40 square feet, we can first find the dimensions of the rectangle that has an area of 40 square feet. The dimensions can be found by finding the factors of 40. The factors of 40 are 1, 2, 4, 5, 8, 10, 20, and 40. Using these factors, the possible dimensions for the pen are:
Length: 1 foot, Width: 40 feet (perimeter: 81 feet)
Length: 2 feet, Width: 20 feet (perimeter: 44 feet)
Length: 4 feet, Width: 10 feet (perimeter: 28 feet)
Length: 5 feet, Width: 8 feet (perimeter: 26 feet)
The cheapest option would be to choose the dimensions of 5 feet by 8 feet since it has the smallest perimeter of 26 feet. To calculate the cost of the pen, we can multiply the cost per foot for the wooden sides by the perimeter of the pen and add it to the cost per foot for the glass front multiplied by the length of the front glass. The cost of the pen would be:
[3(5) + 30(26)] + 80(5) = 15 + 780 + 400 = 1195 dollars