- #1

xinlo

- 3

- 0

this is not actually for homework, I am no longer in school, this is for a small application I am trying to write that compares dimensions. However, I believe this is the appropriate spot to post after reading the rules.

okay, so let's say you got a shape, for example a rectangular prism.

192 x 210 x 212.

Then you have a list of other shapes and their dimensions

191,209,210

188,208,209

185,207,208

197,204,207

199,211,214

How would you pick the one that most closely matches the proportions of the original shape? scale does not matter, only proportions

when its two dimensions its much simpler, you could just divide the length/width and pick the number closest to the result of the original.

At first I had the idea of dividing the length/width and the length by the height seperately, figure the difference from the original shape, and then add those two differences together. The problem with this method is you can get large differences that are opposites, one positive and one negative that cancel each other out close to 0.

I don't need a solution to the above numbers, those numbers are just examples, I am just wanting to know what equation you would use to solve this type of problem.

## Homework Statement

okay, so let's say you got a shape, for example a rectangular prism.

192 x 210 x 212.

Then you have a list of other shapes and their dimensions

191,209,210

188,208,209

185,207,208

197,204,207

199,211,214

How would you pick the one that most closely matches the proportions of the original shape? scale does not matter, only proportions

## Homework Equations

when its two dimensions its much simpler, you could just divide the length/width and pick the number closest to the result of the original.

## The Attempt at a Solution

At first I had the idea of dividing the length/width and the length by the height seperately, figure the difference from the original shape, and then add those two differences together. The problem with this method is you can get large differences that are opposites, one positive and one negative that cancel each other out close to 0.

I don't need a solution to the above numbers, those numbers are just examples, I am just wanting to know what equation you would use to solve this type of problem.

Last edited: