Dimensions of a building?

A small office unit is to contain #500 ft^2# of floor space.

(a) express the length #y# of the building as a function of the width #x#

(b) if the walls cost #$100# per running foot express the cost #C# of the walls as a function of the width #x# (Disregard the wall space above the doors and the thickness of the walls.)

I figured out (a) to be # y(x) = 500/x#

but im having trouble with (b)
enter image source here

1 Answer
Feb 18, 2018

#C=(300x^2-600x+100000)/x#

Explanation:

.

Your answer to part #(a)# is correct.

Part #(b)#:

The total length of the walls is the perimeter of the building plus the middle divider but we have to subtract the widths of the two doors.

Let the perimeter be #P# and total length of the walls be #L#.

#P=2(x+y)#

#L=2(x+y)+x-2(3)=2x+2y+x-6#

#L=3x+2y-6#

Now, we can substitute your answer from part #(a)# for #y#:

#L=3x+2(500/x)-6#

#L=3x+1000/x-6#

#C=100(3x+1000/x-6)#

#C=300x+100000/x-600=(300x^2-600x+100000)/x#