Answer:
The dimensions of the room will be: Length: 5 ft, Width: 5 ft, Heigth: 8.75 ft.
The cost of the paint is $10.5.
Explanation:
We have a room, with a volume of 218.75 cubic feet.

For a optimized room, the sides of the wall will be equal, as the cost of painting a wall are equal. This means we will have a square ceiling.

Then we have to write the cost function in function of the unit cost of the paint and the surface of walls and ceiling:
- We have four walls of surface

- We have one ceiling with surface

Then, the cost function is:

As the volume is a constraint, we can write z in function of x as:

Replacing in the cost function, we have:

To optimize the cost function, we derive and equal to zero
![C =(35)/(x)+0.14x^2\\\\(dC)/(dx)=(35*(-1))/(x^2) +0.14*2x\\\\(dC)/(dx)=-(35)/(x^2)+0.28x=0\\\\0.28x=35x^(-2)\\\\x^3=35/0.28= 125\\\\x=\sqrt[3]{125} =5](https://img.qammunity.org/2021/formulas/mathematics/college/39jhnlc0smnl65uampgr53u7eck62zh041.png)
The height of the ceiling will be:

The dimensions of the room will be
Length: 5 ft, Width: 5 ft, Heigth: 8.75 ft.
The cost of the painting will be
