Given that,
The volume of room = v = 30 cubic yards
length of room = l = ?
width of room = w
height of room = h
The volume of room (v) is calculated as:
v = l * w * h
Now, put the values in the formula, we get
30 = l*w*h
30/ (w*h) = l
or
l = 30/ (w*h)
Therefore, the length of room would be 30/ (w*h).
Case 2:
If it is a cubic room with same height, length and width. Then, we can write the volume equation as:
v = l * l * l (as l = w = h)
30 = l^3
or
l^3 = 30
l = 30^1/3
l = 3.107 yard
or
l = 3.1 yard (rounded to tenth of a yard)