二项分布概率计算:8道选择题全蒙对的概率
几何画板及绘图内容加载中,请稍等……
该范例演示了如何利用二项分布计算在完全随机猜测情况下,8道四选一选择题中答对特定题数的概率。核心数学概念是二项分布、概率质量函数、组合数以及期望值。作图要点:通过GeoGebra的滑块(stepper)控制题目数量,使用随机化按钮(RandomizationText)生成随机结果,并利用TableText和LaTeX命令展示概率表格和公式。对象包括stepMax、steps、counter、questions、choices、success、failure、percent、weight、needed等,用于动态计算答对k题的概率、累积概率以及达到及格线所需的最少正确题数。适合高中或大学初级统计课程,用于直观理解二项分布的实际应用和随机模拟。
GeoGebra 命令及参数
LaTeX(steps) → counterLaTeX("\text{Use the buttons below to return to the original problem or}\cr\text{randomly generate a similar practice problem.}") → RandomizationTextCorner(1) → ACorner(3) → BFirst(Xall, questions + 1) → XusedLast(Xused, questions - needed + 1) → XneededFirst(ProbAll, questions + 1) → ProbUsedLast(ProbUsed, questions - needed + 1) → ProbNeededFirst(ProbFormAll, questions + 1) → ProbFormUsedLaTeX("\text{Determine whether this is a binomial distribution.}") → text1LaTeX("\text{Make a probability distribution table.}") → text3TableText({Append[Text["X"], Xused], Append[Text["P(X) formula"], ProbFormUsed], Append[Text["P(X) value"], ProbUsed]}, "vc|_") → text5LaTeX((("\text{Determine the minimum number of problems needed to get " * percent) * "% on the test.}")) → text6TableText({Append[Text["X"], Xneeded], Append[Text["P(X) value"], ProbNeeded]}, "vc|_") → text10LaTeX("\text{Is this probability empirical or theoretical?}") → text14LaTeX("\text{This is a theoretical probability because it is not based on data or an experiment;}\cr\text{it is based purely on calculation.}") → text15LaTeX((((((("\text{If there are " * questions) * " problems on the test, then each problem is worth}\cr\textcolor{#000099}{\frac{100}{") * questions) * "}=") * weight) * "\%}\text{ on the test.}")) → text7LaTeX((("\text{Use the distribution table to calculate the probability of guessing " * listRight) * " answers}\cr\text{correctly. The relevant section is copied below for convenience.}")) → text9LaTeX("\text{Move the slider to solve the problem.}") → text0LaTeX((((((((("\textcolor{#000099}{P(\text{" * percent) * "% right by guessing among ") * choices) * " choices on ") * questions) * " problems}) \approx ") * Psafe) * "}")) → text12LaTeX((((((("\text{The test has " * questions) * " problems.}\cr\text{There are ") * choices) * " answer choices for each problem.}\cr\text{You want a score of at least ") * percent) * "%.}")) → ProblemLaTeX((((((((((("\text{This is a binomial distribution because your answer to each problem will be}\cr\text{either correct or incorrect. In this case, }\textcolor{#000099}{n}\text{ is }\textcolor{#000099}{" * questions) * "}\text{ (the number of problems) and }\cr\text{the probability }\textcolor{#000099}{p}\text{ of success (guessing the correct answer) is }\textcolor{#000099}{\frac{1}{") * choices) * "}}\text{ or }\textcolor{#000099}{") * success) * "}\text{.}\cr\text{Therefore, the probability of failure, }\textcolor{#000099}{1 – p}\text{, is }\textcolor{#000099}{1 – ") * success) * "}\text{ or }\textcolor{#000099}{") * failure) * "}.")) → text2LaTeX("\text{Recall that in a binomial experiment which consists of }\textcolor{#000099}{n}\text{ trials, the probability}\cr\text{that there will be }\textcolor{#000099}{r}\text{ successes is }\textcolor{#000099}{P(r) = {_n}C_r p^r (1 – p)^{n – r}}\text{, where }\textcolor{#000099}{p}\text{ is the probability}\cr\text{of success. Use this formula to find each probability.}") → text4LaTeX((((((((((((((("\text{If you want to score " * percent) * "%, then you need to get at least }\textcolor{#000099}{\frac{") * percent) * "}{") * weight) * "}}\text{ problems}\cr\text{right. Since each question is either entirely wrong or entirely right, fractional values}\cr\text{need to be rounded up. In this case, you need to get at least ") * needed) * " problems}\cr\text{right in order to get ") * percent) * "% on the test (") * needed) * " problems gives a score of ") * neededGives) * "%).}")) → text8LaTeX((((("\text{Add the probabilites for guessing " * listRight) * " answers correctly to get}\cr\text{the probability of scoring ") * percent) * "% on this test by random guessing.}")) → text11LaTeX((((((((("\text{The probability of getting a grade above " * percent) * "% on a test that has ") * choices) * " choices }\cr\text{for each of ") * questions) * " problems by guessing at every answer is about ") * PsafePercent) * "% (to two}\cr\text{decimal places).}")) → text13
AI 绘图提示语参考
绘制一个关于8道四选一选择题随机猜测的二项分布概率教学图。左侧显示问题描述,说明每道题有4个选项,答对概率为1/4。右侧用表格列出从0到8道题答对的数量、概率公式及对应概率值,并高亮显示达到及格所需的最少题数及其概率。下方展示二项分布概率公式,并用滑块调节参数,同时有按钮可随机生成新问题。整体布局清晰,包含文字说明、概率表格和公式,用于演示理论概率计算。
以上提示语为根据原始绘图命令整理而来,仅供参考。