[Closed] Math Help / Calculation Help
Hi all,
Hmm, this seems so easy, yet I cant figure it out. I have found a few formulas on the net, but Im not exactly sure they are right because it seems there are a few ways to do this. Basically I am looking at Combination math.
So for example, I have a Character which consists of 3 elements
Hat
Pants
Shoes
Within those elements there are different variations, e.g 3 hat types 5 pant types, 3 shoe types.
What Im trying to get is the math to figure out how many possible combinations there are
So for this example formula Im using is :
Hat : 5
Pants : 4
Shoes : 3
543 = 60
But that doesnt seem right?
Any ideas, I suck at Math! (or Maths, I suck at English too)
Thanks
Why doesn’t it?
If you don’t trust your instincts, you can write 3 simple nested loops just to get a better feeling:
(cnt = 0
for a = 1 to 5 do
for b = 1 to 4 do
for c = 1 to 3 do
cnt += 1
cnt)
Here’s some info with a calculator about combinations and permutations you might find useful –
http://www.mathsisfun.com/combinatorics/combinations-permutations-calculator.html
Thanks Bobo!
Wow very cool way of laying it out, very clear.
Thanks for the link Ian, it makes my head kind of spin the amount of ways you can look at it!
Much appreciated!