Share
Explore BrainMass

Find all possible lengths, widths & heights of a given volume of a prism

I need to know how to find all possible lengths, widths & heights of a given volume of a rectangular prism. I'm writing a program in Java that takes the user inputted volume of a rectangular prism and then tells the user all of the possible lengths, widths & heights are for that given volume. I just don't know the calculations to do that so I can write an algorithm for this problem. I just need to know how to do the problem, not write the program.

Attachments

Solution Preview

A rectangular prism is essentially a cuboid, whose Volume is gives an
V = lwh, where
l = length, w = width, h = height (In this case, all need to be integers)
Note that, if you fix two of the ...

$2.19