News:

Please remember to do a search before you ask a question!

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

OT - Help with Some Math

Started by Don Cheke, December 13, 2020, 03:15:22 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Don Cheke

I am hoping someone can help me with some math. I am not sure if I am looking for permutations or combinations, so let me know that and the totals if you can.

For all intents and purposes I have an object that has 4 plastic parts and I have 6 colors to choose from.

A. How many variations can I get mixing all colors using all six colors in any 1 part, so each part can be any color and in any combination with the others? Is this a permutation of 720?

B. This is the one I want to use most for the sake of offering a dual color choice. If I want to have the outer body 1 color and the inner body 1 color (so using 2 colors only) but allowing for the 2 colors to be the same. (i.e. you might have black outside and yellow outside, or black inside and black outside, etc.)? Is this a permutation of 36 (30 + 6)?

Is this helpful? https://www.calculator.net/permutation-and-combination-calculator.html

This is just some info I want to use in a Design Talk video I am working on, a new series I am pondering and planning on offering for free on my YouTube channel. Similar you my TurboCAD Tips, but not CAD software specific.

Don Cheke
My Blog: One Man's Meanderings

lwpicking

Quote from: Don Cheke on December 13, 2020, 03:15:22 AM
B. This is the one I want to use most for the sake of offering a dual color choice. If I want to have the outer body 1 color and the inner body 1 color (so using 2 colors only) but allowing for the 2 colors to be the same. (i.e. you might have black outside and yellow outside, or black inside and black outside, etc.)? Is this a permutation of 36 (30 + 6)?

For this case, would you not have only four (4) permutations:

1) Black outside, Black inside
2) Black outside, Yellow inside
3) Yellow outside, Yellow inside
4) Yellow outside, Black inside

What other possibilities can there be?

LW

Don Cheke

Quote from: lwpicking on December 13, 2020, 03:18:01 PM
Quote from: Don Cheke on December 13, 2020, 03:15:22 AM
B. This is the one I want to use most for the sake of offering a dual color choice. If I want to have the outer body 1 color and the inner body 1 color (so using 2 colors only) but allowing for the 2 colors to be the same. (i.e. you might have black outside and yellow outside, or black inside and black outside, etc.)? Is this a permutation of 36 (30 + 6)?

For this case, would you not have only four (4) permutations:

1) Black outside, Black inside
2) Black outside, Yellow inside
3) Yellow outside, Yellow inside
4) Yellow outside, Black inside

What other possibilities can there be?

LW

I said that there are six colors to choose from, you are using only 2.
Don Cheke
My Blog: One Man's Meanderings

lwpicking


[/quote]

I said that there are six colors to choose from, you are using only 2.
[/quote]

No, you said two color choices:

Quote from: Don Cheke on December 13, 2020, 03:15:22 AM
_ _ _ a dual color choice. If I want to have the outer body 1 color and the inner body 1 color (so using 2 colors only)_ _ _

Don Cheke

Quote from: lwpicking on December 13, 2020, 04:34:39 PM


I said that there are six colors to choose from, you are using only 2.
[/quote]

No, you said two color choices:

Quote from: Don Cheke on December 13, 2020, 03:15:22 AM
_ _ _ a dual color choice. If I want to have the outer body 1 color and the inner body 1 color (so using 2 colors only)_ _ _

[/quote]

You are only reading the example. Early I say "For all intents and purposes I have an object that has 4 plastic parts and I have 6 colors to choose from" and I talk about showing it in color combinations "inside" and "outside" Don't get hung up on semantics, either you can offer the math or you can't. I am not sure, that is why I am asking.
Don Cheke
My Blog: One Man's Meanderings

Andy H

For me the 2nd one is (as you stated).  6 colours for part one, and 6 colours for part two = 36

The first one depends on whether one can have red, red, red, red,  or red, black, black, black.   If one can have ANY combination at all I get the answer as 1296.

Of course maths is not my strong point.

Henry Hubich

Afraid I'm getting hung up on semantics too, Don. In your question "A," is each part just one color--e.g., red all over? And in question "B," do you want to know how many color combinations there are for a single part--using two at a time when there are six to choose from? (I interpreted that question just as lwpicking did.)

Henry H

Don Cheke

Quote from: Andy H on December 13, 2020, 05:42:48 PM
For me the 2nd one is (as you stated).  6 colours for part one, and 6 colours for part two = 36

The first one depends on whether one can have red, red, red, red,  or red, black, black, black.   If one can have ANY combination at all I get the answer as 1296.

Of course maths is not my strong point.

Thanks Andy. I don't really need the first one confirmed, I was just curious to see if it is what I thought. Thanks for the confirmation on the 36. That seemed right to me.
Don Cheke
My Blog: One Man's Meanderings

Don Cheke

Quote from: Henry Hubich on December 13, 2020, 05:44:40 PM
Afraid I'm getting hung up on semantics too, Don. In your question "A," is each part just one color--e.g., red all over? And in question "B," do you want to know how many color combinations there are for a single part--using two at a time when there are six to choose from? (I interpreted that question just as lwpicking did.)

Henry H

Sorry for the confusion. I don't know how to explain it any better. As I said to Andy, I can live with just the B part confirmed, which he did.
Don Cheke
My Blog: One Man's Meanderings

Don Cheke

Here are some of the combinations that are possible.
Don Cheke
My Blog: One Man's Meanderings

Don Cheke

I got some more help on the SW forum, if you are curious.
Don Cheke
My Blog: One Man's Meanderings

Don Cheke

Looks like there is some conflicting answers on the what it is called and answer on answer B, which I am convinced is indeed 36.
Don Cheke
My Blog: One Man's Meanderings