Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

Login

Username

Password

Not registered yet?

#1 2012-12-18 15:49:52

RealCozzy
Novice

Offline

Baseball Lineups

I have to fill out a 9 player baseball lineup, using only three players.

I have three Player A, three Player B and three Player C.

ie - one lineup might look like AAABBBCCC or AABCABCCB

My question is, what is the math formula for determining how many possible lineups there are.
And secondly, what is an easy way to list all these lineups?

Thanks  -D

#2 2012-12-18 16:09:02

bobbym
Administrator

Offline

Re: Baseball Lineups

Hi;

Welcome to the forum.

There are



different lineups. To list them you will need a program.


In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

#3 2012-12-18 18:16:46

RealCozzy
Novice

Offline

Re: Baseball Lineups

Thanks.  Yes, I will need a program.  I may work on this.  Any tips on the psuedo code?

#4 2012-12-18 18:26:47

bobbym
Administrator

Offline

Re: Baseball Lineups

Hi;

Go here

http://users.telenet.be/vdmoortel/dirk/ … tions.html

and enter aaabbbccc.

Easier than coding a multinomial!


In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

Board footer

Powered by FluxBB