brian bovril

914 Reputation

16 Badges

18 years, 328 days

MaplePrimes Activity


These are questions asked by brian bovril

Gentlepeople.

Given 6 teams [A,B,C,D,E,F] I require that each team plays each other once.

 I can generate the pairs:

lst:=combinat:-choose({A,B,C,D,E,F}, 2);  

{{A, B}, {A, C}, {A, D}, {A, E}, {A, F}, {B, C}, {B, D}, {B, E}, {B, F},  {C, D}, {C, E}, {C, F}, {D, E}, {D, F}, {E, F}}

On a competion night three pairs will compete and it will take 5 nights for all teams to play each other.

now I need some eredite richard who can show me how to produce the five night output:

(instead of comma a 'v' needs to be mapped)

AvF

BvD

CvF

.....

 

Gentlemen

I know the following:{A>E,F>Z,F<P,Z>E,P<A} , all real Numbers

can I get maple to sort these in order largest to smallest.

[in this case:  A>P>F>Z>E ]

Polya deals out cards from a deck one by one. How many cards must Polya deal out until he is sure that a flush (five cards of the same suit) has appeared amongst the dealt cards? What if Polya wants a straight (five cards in sequence, with an ace counting low or high)?

 The answers are 17 and 45, but how? in Maple?

for the flush the chances are 1/numbperm(13,5)/numbperm(4,1)

for the straight 1/10/numbperm(4,1)^5. 

http://www.math.hawaii.edu/~ramsey/Probability/PokerHands.html

 

 

 

my_sol.mw

Leonhard is playing a casino game. He places his bet and then rolls a
pair of dice: if the dice sum to 7, 8 or 9 then Leonhard wins the amount of his
bet, and otherwise Leonhard loses his money. Leonhard begins with $100 and
decides to bet $50 at time, until he has either won $100 or has gone broke. What
are the chances that Leonhard leaves the casino a winner?

My soln doesn't agree with the stated answer..25/74

First 22 23 24 25 26 27 28 Last Page 24 of 35