A closed rectangular prism has a square base with side length \(a\), height \(h\), and total surface area \(1000\,\text{cm}^2\).
a) Write a function \(h(a)\) that gives the height in terms of the base side length. State the physically meaningful domain.
b) Substitute \(h(a)\) into the volume formula and show that \(V(a) = 250a - 0.5a^3\).
c) Find the volume when \(a = 5\,\text{cm}\) and when \(a = 15\,\text{cm}\). Which prism has the greater volume?

Hints
- Write the surface area as the sum of two square bases and four rectangular faces.
- Isolate \(h\) in the surface-area equation.
- Multiply the expression for height by the base area \(a^2\).
- For the domain, require both \(a\) and \(h(a)\) to be positive.
Solution
1. The surface area is \(1000 = 2a^2 + 4ah\). Solving for \(h\) gives \(4ah = 1000 - 2a^2\), so \(h(a) = \frac{250}{a} - 0.5a\).
2. A physical prism requires \(a > 0\) and \(h(a) > 0\). Thus, \(\frac{250}{a} - 0.5a > 0\), which gives \(a^2 < 500\). The domain is \(0 < a < 10\sqrt{5}\), with \(a\) in centimeters.
3. Since \(V = a^2h\), \(V(a) = a^2\left(\frac{250}{a} - 0.5a\right) = 250a - 0.5a^3\).
4. \(V(5) = 250 \cdot 5 - 0.5(5^3) = 1187.5\,\text{cm}^3\).
5. \(V(15) = 250 \cdot 15 - 0.5(15^3) = 2062.5\,\text{cm}^3\). The prism with \(a = 15\,\text{cm}\) has the greater volume.
Answer
a) \(h(a) = \frac{250}{a} - 0.5a\), for \(0 < a < 10\sqrt{5}\)
b) \(V(a) = a^2\left(\frac{250}{a} - 0.5a\right) = 250a - 0.5a^3\)
c) \(V(5) = 1187.5\,\text{cm}^3\); \(V(15) = 2062.5\,\text{cm}^3\). The prism with \(a = 15\,\text{cm}\) has the greater volume.