document.write( "Question 1209733: 60% of all violent felons in the prison system are repeat offenders. If 45 violent felons are randomly selected, find the probability that \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a. Exactly 26 of them are repeat offenders. \r
\n" ); document.write( "\n" ); document.write( "b. At most 29 of them are repeat offenders. \r
\n" ); document.write( "\n" ); document.write( "c. At least 29 of them are repeat offenders. \r
\n" ); document.write( "\n" ); document.write( "d. Between 25 and 33 (including 25 and 33) of them are repeat offenders. \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #852009 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "60% of all violent felons in the prison system are repeat offenders.
\n" ); document.write( "If 45 violent felons are randomly selected, find the probability that\r
\n" ); document.write( "\n" ); document.write( "a. Exactly 26 of them are repeat offenders.
\n" ); document.write( "b. At most 29 of them are repeat offenders.
\n" ); document.write( "c. At least 29 of them are repeat offenders.
\n" ); document.write( "d. Between 25 and 33 (including 25 and 33) of them are repeat offenders.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        As it regularly happens with  @CPhill' solutions on  Binomial distribution,\r
\n" ); document.write( "\n" ); document.write( "        all calculations  (a),  (b),  (c)  and  (d)  in the post by  @CPhill are incorrect.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        Below is my correct solution.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Here's how to solve this binomial probability problem:\r\n" );
document.write( "\r\n" );
document.write( "* **n** (number of trials) = 45\r\n" );
document.write( "* **p** (probability of success - repeat offender) = 0.60\r\n" );
document.write( "* **q** (probability of failure - not a repeat offender) = 1 - p = 0.40\r\n" );
document.write( "\r\n" );
document.write( "The binomial probability formula is: P(x) = (nCx) * p^x * q^(n-x)\r\n" );
document.write( "\r\n" );
document.write( "Where nCx represents \"n choose x\" (the binomial coefficient).\r\n" );
document.write( "\r\n" );
document.write( "**(a) Exactly 26 are repeat offenders:**\r\n" );
document.write( "\r\n" );
document.write( "P(x = 26) = (45C26) * (0.60)^26 * (0.40)^19\r\n" );
document.write( "P(x = 26) ≈ 0.1143\r\n" );
document.write( "\r\n" );
document.write( "**(b) At most 29 are repeat offenders:**\r\n" );
document.write( "\r\n" );
document.write( "This means 0 to 29 are repeat offenders. This is a cumulative probability; we need P(x ≤ 29).  \r\n" );
document.write( "It's best to use a binomial cumulative distribution function (CDF) calculator or statistical software for this.\r\n" );
document.write( "\r\n" );
document.write( "P(x ≤ 29) ≈ 0.7751\r\n" );
document.write( "\r\n" );
document.write( "**(c) At least 29 are repeat offenders:**\r\n" );
document.write( "\r\n" );
document.write( "This means 29 to 45 are repeat offenders. We can use the complement rule:\r\n" );
document.write( "\r\n" );
document.write( "P(x ≥ 29) = 1 - P(x < 29) = 1 - P(x ≤ 28)\r\n" );
document.write( "\r\n" );
document.write( "Use a binomial CDF calculator:\r\n" );
document.write( "P(x ≥ 29) = 1 - 0.6728\r\n" );
document.write( "P(x ≥ 29) ≈ 0.3272\r\n" );
document.write( "\r\n" );
document.write( "**(d) Between 25 and 33 (inclusive):**\r\n" );
document.write( "\r\n" );
document.write( "This means 25, 26, 27, 28, 29, 30, 31, 32, and 33 are repeat offenders. We can use the CDF:\r\n" );
document.write( "\r\n" );
document.write( "P(25 ≤ x ≤ 33) = P(x ≤ 33) - P(x ≤ 24)\r\n" );
document.write( "\r\n" );
document.write( "Use a binomial CDF calculator:\r\n" );
document.write( "P(25 ≤ x ≤ 33) = 0.9784 - 0.2223\r\n" );
document.write( "P(25 ≤ x ≤ 33) ≈ 0.7561\r\n" );
document.write( "\r\n" );
document.write( "**Summary of Answers:**\r\n" );
document.write( "\r\n" );
document.write( "* (a) P(x = 26) ≈ 0.1143\r\n" );
document.write( "* (b) P(x ≤ 29) ≈ 0.7751\r\n" );
document.write( "* (c) P(x ≥ 29) ≈ 0.3272\r\n" );
document.write( "* (d) P(25 ≤ x ≤ 33) ≈ 0.7561\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved CORRECTLY.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Practically all calculations by @CPhill to this kind of problems on Binomial distribution are INCORRECT.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To check your/my calculations,  use online calculator \r
\n" ); document.write( "\n" ); document.write( "https://stattrek.com/online-calculator/binomial\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "                Regarding the post by @CPhill . . . \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Keep in mind that @CPhill is a pseudonym for the Google artificial intelligence.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The artificial intelligence is like a baby now. It is in the experimental stage
\n" ); document.write( "of development and can make mistakes and produce nonsense without any embarrassment.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "                It has no feeling of shame - it is shameless.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This time, again,  it made an error.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Although the @CPhill' solutions are copy-paste  Google  AI solutions,  there is one essential difference.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Every time,  Google  AI  makes a note at the end of its solutions that  Google  AI  is experimental
\n" ); document.write( "and can make errors/mistakes.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "All @CPhill' solutions are copy-paste of  Google  AI  solutions, with one difference:
\n" ); document.write( "@PChill never makes this notice and never says that his solutions are copy-past that of Google.
\n" ); document.write( "So,  he  NEVER  SAYS  TRUTH.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Every time,  @CPhill embarrassed to tell the truth.\r
\n" ); document.write( "\n" ); document.write( "But I am not embarrassing to tell the truth,  as it is my duty at this forum.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "And the last my comment.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "When you obtain such posts from @CPhill,  remember,  that  NOBODY  is responsible for their correctness,
\n" ); document.write( "until the specialists and experts will check and confirm their correctness.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Without it,  their reliability is  ZERO and their creadability is  ZERO,  too.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );