Royal Flush for dummies
- From: "\"Luis A. Afonso\"" <licas_@xxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 18:42:16 EST
Royal Flush for dummies
The probability to have an ACE or King or Queen or Jack or 10 whatever the suit
(this draw defines the suit)___________20/52
To have a King, or a Queen, or a Jack or a 10 of the SAME suit___________________4/51
The probability to have a card indicated above if the two cards had been got__________3/50
…Having yet the three indicated cards__ 2/49
…The four _______________________ 1/48
p(Royal Flush) =
= (20*4*3*2*1)/(52*51*50*49*48) =
= 0.000001539…______________ 1/649740
(decimal form____ to ______fractional form).
********
The same result by Combinatory procedure_____4 / (52C5) = 4 / 2598960 = 1/649740 (see program below).
************
I´m curious who are those that prefer automatism (necessary in other occasions) instead of common sense…
______licas (Luis A. Afonso)
REM "C"
CLS
DEFDBL A-Z
PRINT " nCHOOSEx "
INPUT " n = "; n
INPUT " x = "; x
ante = 1
FOR k = 0 TO x - 1
post = ante * (n - k) / (k + 1)
ante = post
NEXT k
PRINT USING " #.###############^^^^ "; ante
END
.
- Prev by Date: Re: how to calculate multivariate normal density if the covariance matrix is singula?
- Next by Date: death/wounded rates in US wars by year, does it follow the normal curve?
- Previous by thread: singular covariance matrix Gaussian pdf question
- Next by thread: death/wounded rates in US wars by year, does it follow the normal curve?
- Index(es):
Relevant Pages
|
|