Let be a natural number with . Using one die and one coin, perform the following experiment.\begin{center}\fbox{\begin{minipage}{0.9\textwidth}Roll the die once.\quad-- If the outcome is less than or equal to , toss the coin times and record the number of heads.\quad-- If the outcome is greater than , toss the coin times and record the number of heads.\end{minipage}}\end{center}Repeat this experiment times, and let be the number of times the recorded value is . Suppose that . Using the standard normal table on the right, compute
and let this value be . Compute . [4 points]\begin{center}\begin{tabular}{|c|c|}\hline & \\hline0.5 & 0.191 \\hline1.0 & 0.341 \\hline1.5 & 0.433 \\hline2.0 & 0.477 \\hline2.5 & 0.494 \\hline3.0 & 0.499 \\hline\end{tabular}\end{center}\
[THOUGHT] To solve the problem, we first determine the value of using the given expected value . The probability of recording exactly 3 heads in a single trial is calculated as:
Solving gives .
Next, we approximate the binomial distribution of with a normal distribution . To find , we apply continuity correction and calculate the z-score:
Using the provided standard normal table, the closest z-value is 2.0, giving . The cumulative probability . Thus, and .
[/THOUGHT] [PYTHON]
Calculate the value of a
from sympy import symbols, Eq, solve
a = symbols('a') p = (a/6) * (10/32) + ((6 - a)/6) * (1/8) equation = Eq(p, 0.25) a_value = solve(equation, a)[0]
Calculate the z-score with continuity correction
mu = 4800 sigma = 60 upper_limit = 4800 + 30 * a_value z = (upper_limit + 0.5 - mu) / sigma
Using the provided table values
if z <= 0.5: prob = 0.191 elif z <= 1.0: prob = 0.341 elif z <= 1.5: prob = 0.433 elif z <= 2.0: prob = 0.477 elif z <= 2.5: prob = 0.494 elif z <= 3.0: prob = 0.499 else: prob = 0.5 # Beyond the table, approximate as 0.5
Cumulative probability
k = 0.5 + prob result = 1000 * k print(result) [/PYTHON]
[THOUGHT] The Python code correctly determines and calculates the z-score as approximately 2.0083. Using the provided table, the closest z-value ≤ 2.0083 is 2.5 (since 2.0083 > 2.0), giving . The cumulative probability is , leading to . The Python output confirms this result.