花瓶中的玫瑰概率

花瓶中的玫瑰概率
几何画板及绘图内容加载中,请稍等……
2015-11-11 04:51
本范例演示了一个花瓶中随机抽取玫瑰的概率问题。涉及的核心数学概念是概率统计。通过构造摘要中的命令,可以了解到使用了Border, Gear, Book等对象。适合初中或高中学生学习概率统计。

GeoGebra 命令及参数

  1. LaTeX("\text{What is the probability the rose is yellow?}") → Question2
  2. LaTeX("\text{Describe the sample space and identify the number of outcomes in it.}") → Pg1A
  3. LaTeX((("\text{\left\{\textcolor{#000099}{ " * Total) * "}\right\}}")) → Pg1D
  4. LaTeX("\text{Define the event and identify the number of outcomes in it.}") → Pg2A
  5. LaTeX((((((((("\text{There are \textcolor{#000099}{" * Red) * "+") * Pink) * "+") * Yellow) * "=") * RPY) * "} possible outcomes when selecting a rose from the vase.}")) → Pg1E
  6. LaTeX("\text{The sample space is the set of all possible outcomes.If \textcolor{#000099}{R} represents a red rose,\textcolor{#000099}{P} represents a pink rose,and }") → Pg1B
  7. LaTeX("\text{\textcolor{#000099}{Y} represents a yellow rose,the sample space is:}") → Pg1C
  8. LaTeX("\text{The event is “selecting a yellow rose”.}") → Pg2B
  9. LaTeX((((("\text{There are \textcolor{#000099}{ " * Yellow) * "} yellow roses in the vase,so there are \textcolor{#000099}{ ") * Yellow) * "} outcomes in this event.}")) → Pg2C
  10. LaTeX("\text{Determine the probability of the event.}") → Pg3A
  11. LaTeX("\text{Use the formula for the probability of an event:}") → Pg3B
  12. LaTeX("\text{Probability formula}") → Pg3G
  13. FractionText(Yellow / RPY) → Pg3IB
  14. LaTeX("\text{Substitute “selecting a yellow rose” for \textcolor{#000099}{E},\textcolor{#000099}{6} for the number of outcomes}") → Pg3HB
  15. LaTeX("\text{in \textcolor{#000099}{E},and \textcolor{#000099}{18} for the number of outcomes in the sample space.}") → Pg3HC
  16. LaTeX("\text{The probability of selecting a yellow rose is}") → Pg3JA
  17. FractionText(Yellow / RPY) → Pg3JB
  18. LaTeX("\text{.}") → Pg3JC
  19. LaTeX((((("\text{\textcolor{#000099}{P}(selecting a yellow rose)=\textcolor{#000099}{\frac{(" * Yellow) * ")}{(") * RPY) * ")}}}")) → Pg3H
  20. LaTeX("\text{\textcolor{#000099}{P}(selecting a yellow rose)=}") → Pg3I
  21. LaTeX("\text{Simplify.}") → Pg3IC
  22. LaTeX((((((("\text{A vase contains \textcolor{#000099}{ " * Red) * "} red roses,\textcolor{#000099}{ ") * Pink) * "} pink roses,and \textcolor{#000099}{ ") * Yellow) * "} yellow roses.A rose is selected at random.}")) → Question
  23. LaTeX("\text{\textcolor{#000099}{P(E)}=\frac{number \;of \;outcomes\; in\textcolor{#000099}{\;E}}{number\; of\; outcomes \;in \;the \;sample \;space}}") → Pg3C
  24. LaTeX("\text{\textcolor{#000099}{P(E)}=\frac{number \;of \;outcomes\; in\textcolor{#000099}{\;E}}{number\; of\; outcomes \;in \;the \;sample \;space}}") → Pg3F
  25. LaTeX("\text{In this formula,the event (\textcolor{#000099}{E}) is “selecting a yellow rose”,the number of outcomes in the event is \textcolor{#000099}{6},and the number}") → Pg3D
  26. LaTeX((("\text{of outcomes in the sample space is \textcolor{#000099}{" * RPY) * "}.Substitute these values into the formula.}")) → Pg3E
  27. LaTeX("\text{\textcolor{#000099}{P(E)}=\frac{number \;of \;outcomes\; in\textcolor{#000099}{\;E}}{number\; of\; outcomes \;in \;the \;sample \;space} in a uniform probability model.}") → WTK2
  28. LaTeX("\text{\mathbf{Probability\; of \;an \;event\; \textcolor{#000099}{E}} denoted \textcolor{#000099}{ P(E)},and is given by}") → WTK1
  29. LaTeX((("\text{Red rose=" * Red) * "}")) → DKTR
  30. LaTeX((("\text{Pink rose=" * Pink) * "}")) → DKTP
  31. LaTeX((("\text{Yellow rose=" * Yellow) * "}")) → DKTY