document.write( "Question 1201351: A high school baseball player has a 0.153 batting average. In one game, he gets 6 at bats. What is the probability he will get at least 2 hits in the game? \n" ); document.write( "
Algebra.Com's Answer #835672 by math_tutor2020(3816)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: 0.230583
\n" ); document.write( "This value is approximate.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "==================================================================================================\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Work Shown:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "n = 6 = sample size = number of at bats
\n" ); document.write( "p = 0.153 = batting average = probability of success of any at bat\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = number of successful attempts = number of hits
\n" ); document.write( "x is some integer in the set {0, 1, 2, 3, 4, 5, 6}
\n" ); document.write( "x is between 0 and 6, including each endpoint.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "B(x) = binomial probability
\n" ); document.write( "B(x) = (n C x)*(p^x)*(1-p)^(n-x)
\n" ); document.write( "B(x) = (6 C x)*(0.153^x)*(1-0.153)^(6-x)
\n" ); document.write( "B(x) = (6 C x)*(0.153^x)*(0.847)^(6-x)
\n" ); document.write( "The nCx refers to the nCr combination formula.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"at least 2 hits\" translates to \"2 or more hits\"
\n" ); document.write( "We want to find the probability that x = 2 or x > 2
\n" ); document.write( "We need to calculate B(2)+B(3)+B(4)+B(5)+B(6)
\n" ); document.write( "A shortcut is to calculate B(0)+B(1) first and then subtract from 1.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plug in x = 0
\n" ); document.write( "B(x) = (6 C x)*(0.153^x)*(0.847)^(6-x)
\n" ); document.write( "B(0) = (6 C 0)*(0.153^0)*(0.847)^(6-0)
\n" ); document.write( "B(0) = 1*(0.153^0)*(0.847)^6
\n" ); document.write( "B(0) = 0.36923296009284
\n" ); document.write( "B(0) = 0.369233\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plug in x = 1
\n" ); document.write( "B(x) = (6 C x)*(0.153^x)*(0.847)^(6-x)
\n" ); document.write( "B(1) = (6 C 1)*(0.153^1)*(0.847)^(6-1)
\n" ); document.write( "B(1) = 6*(0.153^1)*(0.847)^5
\n" ); document.write( "B(1) = 0.40018401105694
\n" ); document.write( "B(1) = 0.400184\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Add the results
\n" ); document.write( "B(0)+B(1) = 0.369233 + 0.400184 = 0.769417
\n" ); document.write( "The probability of at most 1 hit is roughly 0.769417\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The complement of this is
\n" ); document.write( "1-0.769417 = 0.230583 which is the approximate final answer.
\n" ); document.write( "The probability of at least 2 hits is roughly 0.230583 (i.e. about a 23.0583% chance).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Why did I subtract from 1?
\n" ); document.write( "Well consider the fact that
\n" ); document.write( "B(0) + B(1) + B(2) + B(3) + B(4) + B(5) + B(6) = 1
\n" ); document.write( "All of the probability values of a distribution must add to 1.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We already calculated the stuff highlighted in blue
\n" ); document.write( "B(0) + B(1) + B(2) + B(3) + B(4) + B(5) + B(6) = 1
\n" ); document.write( "and the stuff in red represents what we want to calculate.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We can subtract the blue stuff from both sides to isolate the red stuff.
\n" ); document.write( "B(2) + B(3) + B(4) + B(5) + B(6) = 1 - ( B(0) + B(1) )\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "---------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here are a few binomial distribution calculators.
\n" ); document.write( "https://www.gigacalculator.com/calculators/binomial-probability-calculator.php
\n" ); document.write( "https://www.omnicalculator.com/statistics/binomial-distribution
\n" ); document.write( "You could also use a spreadsheet or a TI83/TI84 calculator.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here is an article talking about binomial probabilities using a TI84
\n" ); document.write( "https://www.statology.org/binomial-probabilities-ti-84-calculator/
\n" ); document.write( "For this particular problem, we can input 1 - binomcdf(6, 0.153, 1) into the TI84.
\n" ); document.write( "This will add up the values from B(0) to B(1).
\n" ); document.write( "Then subtract the result from 1 to get the final answer.
\n" ); document.write( "Be sure to use the CDF and not the PDF.
\n" ); document.write( "The PDF is one specific value, while the CDF adds up multiple values below a specific x value.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Another question involving the binomial probability distribution
\n" ); document.write( "https://www.algebra.com/algebra/homework/word/misc/Miscellaneous_Word_Problems.faq.question.1201223.html
\n" ); document.write( "
\n" ); document.write( "
\n" );