独立事件概率演示
几何画板及绘图内容加载中,请稍等……
本范例演示了如何通过 GeoGebra 构造独立事件的概率计算。涉及的核心数学概念包括概率、独立事件、整数、百分比和数列。作图要点使用了 LaTeX、文本字段、If 条件判断等 GeoGebra 命令和对象,如 TryAnother、HowDidIDo、StudentAns 系列变量以及多个输入框和动作对象。适合高中阶段学习概率统计的学生使用。
GeoGebra 命令及参数
LaTeX("Therefore\ the\ probability\ is") → ThereforeLaTeX("Therefore,\, the\ total\ number\ of\\ favourable\ outcomes\ is") → ThereforeFavLaTeX("Therefore,\, the\ total\ number\ of\\ possible\ outcomes\ is") → ThereforePosTextfield(StudentAns3) → InputBox1Textfield(StudentAns6) → InputBox2Textfield(StudentAns7) → InputBox3Textfield(StudentAns1) → InputBox4Textfield(StudentAns2) → InputBox5Textfield(StudentAns4) → InputBox6Textfield(StudentAns5) → InputBox7LaTeX("\textbf{Instructions\text{:}}\ Type\ the\ numbers\ into\ the\ input\ boxes.") → Instructions2LaTeX("\checkmark") → Check1LaTeX("\checkmark") → Check2LaTeX("\checkmark") → Check3LaTeX("\checkmark") → Check4LaTeX("\checkmark") → Check5LaTeX("\checkmark") → Check6LaTeX("\checkmark") → Check7LaTeX("\times") → Wrong1LaTeX("\times") → Wrong2LaTeX("\times") → Wrong3LaTeX("\times") → Wrong4LaTeX("\times") → Wrong5LaTeX("\times") → Wrong6LaTeX("\times") → Wrong7LaTeX((((((((((((((("There\ are\ " * E1outcomes) * "\ outcomes\ for\ the\ ") * object1) * "\ and\ ") * E2outcomes) * "\ for\ the\ ") * object2) * ".\\ Therefore\ there\ are\ ") * E1outcomes) * "\times") * E2outcomes) * "=") * PosOutcomes) * "\ possible\ outcomes.")) → S1FBWrongIf(E1Favoutcomes ≟ 1, "way", "ways") → way1If(E2Favoutcomes ≟ 1, "way", "ways") → way2If(E1Favoutcomes ≟ 1, "is", "are") → are1If(E2Favoutcomes ≟ 1, "is", "are") → are2LaTeX((((((((((((((((((((((((("There\ " * are1) * "\ ") * E1Favoutcomes) * "\ ") * way1) * "\ to\ ") * action1) * "\ ") * value1) * "\ and,\\ ") * E2Favoutcomes) * "\ ") * way2) * "\ to\ ") * action2) * "\ ") * value2) * ".\\ Therefore\ there\ are\ ") * E1Favoutcomes) * "\times") * E2Favoutcomes) * "=") * FavOutcomes) * "\ favourable\ outcomes.")) → S2FBDoneLaTeX((((((("The\ probability\ is\ \dfrac{" * FavOutcomes) * "}{") * PosOutcomes) * "}") * or) * ".")) → S3FBWrongLaTeX("Part\ 1") → Part1LaTeX("Part\ 2") → Part2LaTeX("Part\ 3") → Part3LaTeX("\underline{Total\ Number\ of\ Possible\ Outcomes}") → TotalPosTextLaTeX("\underline{Total\ Number\ of\ Favourable\ Outcomes}") → TotalFavTextLaTeX((((((((((((event1 * "\ and\\ ") * event2) * ".\\ What\ is\ the\ probability\ of\ ") * action1a) * "\ ") * value1) * "\ and\\ ") * action2a) * "\ ") * value2) * "?")) → Instructions1LaTeX((((("Number\ of\ possible\ outcomes\ for\ the\\ " * first) * "") * thing1) * ":")) → Outcomes1aLaTeX((((("Number\ of\ possible\ outcomes\ for\ the\\ " * second) * "") * thing2) * ":")) → Outcomes1bLaTeX((((("Number\ of\ ways\ to\ " * action1) * "\\ ") * value1) * ":")) → Outcomes2aLaTeX((((("Number\ of\ ways\ to\ " * action2) * "\\ ") * value2) * ":")) → Outcomes2bLaTeX("Type\ a\ number\ into\ the\ input\ boxes\ before\ checking\ your\ work.") → S2FBNotStartedLaTeX("Type\ a\ number\ into\ the\ input\ box\ before\ checking\ your\ work.") → S3FBNotStarted