Purchase Solution

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

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

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

Purchase this Solution


Free BrainMass Quizzes
Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

Probability Quiz

Some questions on probability