What is the maximum possible length of the rectangular front of the building to the...

Check the final answer first, then review the worked steps.

Answer

82

Work

Let $h$ be height, $L=2h$ be length. $A = 2(Lh) + 2(wh) + 4(\frac{1}{2}Lh) = 2(2h^2) + 2(2h^2) + 4h^2 = 12h^2$. Cost $25 \cdot 12h^2 = 500,000 \implies h^2 = 1666.67 \implies h \approx 40.82$. $L = 2h \approx 81.64 \approx 82$.

Step-by-step solution

Let $h$ be the height of the front and $L=2h$ be the length. The surface area $A$ includes the front and back ($2 \cdot Lh = 4h^2$), two sides ($2 \cdot wh$), and the roof ($4 \cdot \frac{1}{2} \cdot L \cdot h = 2Lh = 4h^2$). Assuming a square base $L=w$, $A = 4h^2 + 2(2h)h + 4h^2 = 12h^2$. With cost $C = 25$ per sq ft, $12h^2 \cdot 25 = 500,000 \implies 300h^2 = 500,000 \implies h^2 \approx 1666.67 \implies h \approx 40.8$. Thus $L = 2h \approx 81.6$, rounding to 82.