Ugly Hedgehog - Photography Forum
Home Active Topics Newest Pictures Search Login Register
General Chit-Chat (non-photography talk)
Math Formula Wanted
Page 1 of 4 next> last>>
Dec 15, 2020 09:41:41   #
jerryc41 Loc: Catskill Mts of NY
 
Let's say a product is available with the following choices:

4 shapes
3 body colors
4 trim colors
2 sizes

What formula would tell me how many variations are possible?

Reply
Dec 15, 2020 09:43:54   #
repleo Loc: Boston
 
jerryc41 wrote:
Let's say a product is available with the following choices:

4 shapes
3 body colors
4 trim colors
2 sizes

What formula would tell me how many variations are possible?

4x3x4x2 = 96 ?

Reply
Dec 15, 2020 09:47:56   #
jerryc41 Loc: Catskill Mts of NY
 
repleo wrote:
4x3x4x2 = 96 ?


Thanks! That was my first guess, but it seemed too simple.

Reply
 
 
Dec 15, 2020 09:58:02   #
SuperflyTNT Loc: Manassas VA
 
jerryc41 wrote:
Thanks! That was my first guess, but it seemed too simple.


It is pretty simple. A couple of years ago I ordered a kayak. I could pick the hull color, deck color and the trim color. There were 216 colors to choose from, over 10 million possible choices.

Reply
Dec 15, 2020 10:02:19   #
Alans844
 
repleo wrote:
4x3x4x2 = 96 ?


No ?, that is correct
To be precise, that is the solution, the formula is:
# shapes x # body colors x # trim colors x # sizes = number of variations.
Simply substitute the numbers for each element and that will equal the number of variations.

Reply
Dec 15, 2020 10:04:12   #
Longshadow Loc: Audubon, PA, United States
 
repleo wrote:
4x3x4x2 = 96 ?


Reply
Dec 15, 2020 11:11:57   #
boberic Loc: Quiet Corner, Connecticut. Ex long Islander
 
There is a name for that kind of math permutation possibility but I can't remember the name. Does any one remember?

Reply
 
 
Dec 15, 2020 12:02:38   #
Muddyvalley Loc: McMinnville, Oregon
 
boberic wrote:
There is a name for that kind of math permutation possibility but I can't remember the name. Does any one remember?


Factorial. To the best of my somewhat faulty memory of high school math.

Reply
Dec 15, 2020 14:42:13   #
Vienna74 Loc: Bountiful, Utah now Panama
 
It is not factorial. Factorial is written as x! which is defined to be x * (x-1) * (x-2) . . . * 1

Reply
Dec 15, 2020 14:44:18   #
Vienna74 Loc: Bountiful, Utah now Panama
 
Technically, this is a combination. A permutation is when the order matters.

Reply
Dec 15, 2020 17:11:16   #
sippyjug104 Loc: Missouri
 
repleo wrote:
4x3x4x2 = 96 ?


I agree. The result would be the basis of mathematical combinations. We could take one shape at each of the three colors. The we can have each shape with a color and one of the trims or no trim options in the mix of the total quantity. Then of course this entire selection is repeated for the other size option.


(Download)

Reply
 
 
Dec 15, 2020 20:07:33   #
TriX Loc: Raleigh, NC
 
Vienna74 wrote:
Technically, this is a combination. A permutation is when the order matters.


Right answer.

Reply
Dec 16, 2020 05:41:21   #
FiddleMaker Loc: Merrimac, MA
 
jerryc41 wrote:
Let's say a product is available with the following choices:

4 shapes
3 body colors
4 trim colors
2 sizes

What formula would tell me how many variations are possible?


My guess is 4! x 3! x 4! x 2! = 6,912 combinations.
I did send this question to a friend who graduated from M.I.T. with a masters in math. Just waiting to hear back from him

Reply
Dec 16, 2020 06:42:53   #
paulrph1 Loc: Washington, Utah
 
Here is one my imagination deals with and that is the combinations of license plate numbers. letters and numbers combined. X97 B12 with all the numbers available how would you calculate the numbers of possibilities.

Reply
Dec 16, 2020 07:08:59   #
srscary Loc: Cary, NC
 
boberic wrote:
There is a name for that kind of math permutation possibility but I can't remember the name. Does any one remember?


Combinatorics.

Not my favorite subject (difficult)!

Reply
Page 1 of 4 next> last>>
If you want to reply, then register here. Registration is free and your account is created instantly, so you can post right away.
General Chit-Chat (non-photography talk)
UglyHedgehog.com - Forum
Copyright 2011-2024 Ugly Hedgehog, Inc.