document.write( "Question 1186814: There are 4 sets of balls numbered 1 through 5 placed in a bowl. If 4 balls are randomly chosen without replacement, find the probability that the balls have the same number. Express your answer as a fraction in lowest terms or a decimal rounded to the nearest millionth. \n" ); document.write( "
Algebra.Com's Answer #817789 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "There are A = 5 ways to get what we want, since there are 5 items in the set {1,2,3,4,5}. This set is repeated four times to represent the 4*5 = 20 balls.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For example, one possible desired outcome is selecting the four balls labeled \"3\".
\n" ); document.write( "In other words, having this outcome: 3,3,3,3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are n = 20 balls total and r = 4 of them are selected. Order doesn't matter, so we'll use the combination formula nCr\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The notation is the same as C(n,r)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "C(n, r) = (n!)/( r!*(n-r)! )
\n" ); document.write( "C(20, 4) = (20!)/( 4!*(20-4)! )
\n" ); document.write( "C(20, 4) = (20!)/( 4!*16! )
\n" ); document.write( "C(20, 4) = (20*19*18*17*16!)/( 4!*16! )
\n" ); document.write( "C(20, 4) = (20*19*18*17)/( 4! ) ..... the \"16!\" terms cancel
\n" ); document.write( "C(20, 4) = (20*19*18*17)/( 4*3*2*1 )
\n" ); document.write( "C(20, 4) = ( 116280 )/( 24 )
\n" ); document.write( "C(20, 4) = 4845
\n" ); document.write( "This represents the number of ways to select the four balls.
\n" ); document.write( "Let B = 4845\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To summarize:
\n" ); document.write( "We have A = 5 ways to get what we want (having all four balls with the same number)
\n" ); document.write( "There are B = 4845 ways to select the four balls from a pool of 20\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The probability of getting what we want is A/B = 5/4845 = 1/969. To reduce that fraction, I divided both parts by the GCF 5.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use your calculator to find that 1/969 = 0.00103199174407 approximately. Rounding to the nearest millionth gets us 0.001032\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note: Rounding to the nearest millionths decimal place means the decimal answer will have 6 decimal places. \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer as a fraction: 1/969 (exact)
\n" ); document.write( "Answer as a decimal: 0.001032 (approximate; rounded to 6 decimal places)
\n" ); document.write( "
\n" ); document.write( "
\n" );