Explore BrainMass

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

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

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.

© BrainMass Inc. brainmass.com October 24, 2018, 5:57 pm ad1c9bdddf


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 ...

See Also This Related BrainMass Solution

Geometry problems with area and volume

1. Find the area of the triangle.

2. There is a shaded triangular prism 6in x 8in x 11in with a rectangle solid 3in x 4in x 11in not shaded. Find the volume of the shaded area.

3. Given the graph, name an edge that is a bridge, if any.

4. Find the area in meters of a trapezoid with a height of 4 m and bases of 8 m and 17 m.

View Full Posting Details