nanode
02-20-2001, 01:49 PM
I don't have a formal mathematics background so bare with me if my terminology is off.
I'd like to make a small app. that determines all the possible values that a formula can take as args to produce a known result.
An over simplified example would be calculating volume of an aquarium. volume = length * width * height
Suppose I needed a given volume (say 1000cm3) and a given width (say 50cm) and wanted to find out all the combinations of height and length (of integers) that would result in my desired volume?
Other than incrementing in a loop from 0 to n for each unspecified parameter, is there a way (elegantly) to solve this?
I suck at math - thanks in advance. :)
I'd like to make a small app. that determines all the possible values that a formula can take as args to produce a known result.
An over simplified example would be calculating volume of an aquarium. volume = length * width * height
Suppose I needed a given volume (say 1000cm3) and a given width (say 50cm) and wanted to find out all the combinations of height and length (of integers) that would result in my desired volume?
Other than incrementing in a loop from 0 to n for each unspecified parameter, is there a way (elegantly) to solve this?
I suck at math - thanks in advance. :)