Fruit Gum Probability Experiment
Loading the math board and drawing, please wait…
In collections
Wahrscheinlichkeitsrechnung - Einführung
This example demonstrates understanding probability and statistics through simulating the drawing of fruit gums. The core math concepts involved are probability and statistics, particularly how to quantify the likelihood of events. Construction highlights include using GeoGebra commands like If, Element, Midpoint, IsInRegion, CountIf, Textfield, and objects such as numberOfQuestions, btnValidate, attemptCount, questionCount, correctCount, shuffled, randomQuestions, randomQuestion, imgR1, imgS1, imgB1, imgA1, imgK1, imgTüte, PolyTüte, imgR2, imgR3, imgR4, imgB2, imgB3, imgB4, imgA2, imgA3, imgA4, imgS2, imgS3, imgS4, imgK2, imgK3, imgK4, MR1, MR2, MR3, MR4, MA1, MA2, MA3, MA4, MB1, MB2. Suitable for 7-8th grade students to teach basic probability and statistics.
GeoGebra Commands & Parameters
If(shuffled, Shuffle[1…numberOfQuestions], 1…numberOfQuestions) → randomQuestionsElement(randomQuestions, Mod[questionCount - 1, Length[randomQuestions]] + 1) → randomQuestionMidpoint(Corner[imgR1, 1], Corner[imgR1, 3]) → MR1Midpoint(Corner[imgR2, 1], Corner[imgR2, 3]) → MR2Midpoint(Corner[imgR3, 1], Corner[imgR3, 3]) → MR3Midpoint(Corner[imgR4, 1], Corner[imgR4, 3]) → MR4Midpoint(Corner[imgA1, 1], Corner[imgA1, 3]) → MA1Midpoint(Corner[imgA2, 1], Corner[imgA2, 3]) → MA2Midpoint(Corner[imgA3, 1], Corner[imgA3, 3]) → MA3Midpoint(Corner[imgA4, 1], Corner[imgA4, 3]) → MA4Midpoint(Corner[imgB1, 1], Corner[imgB1, 3]) → MB1Midpoint(Corner[imgB2, 1], Corner[imgB2, 3]) → MB2Midpoint(Corner[imgB3, 1], Corner[imgB3, 3]) → MB3Midpoint(Corner[imgB4, 1], Corner[imgB4, 3]) → MB4Midpoint(Corner[imgK1, 1], Corner[imgK1, 3]) → MK1Midpoint(Corner[imgK2, 1], Corner[imgK2, 3]) → MK2Midpoint(Corner[imgK3, 1], Corner[imgK3, 3]) → MK3Midpoint(Corner[imgK4, 1], Corner[imgK4, 3]) → MK4Midpoint(Corner[imgS1, 1], Corner[imgS1, 3]) → MS1Midpoint(Corner[imgS2, 1], Corner[imgS2, 3]) → MS2Midpoint(Corner[imgS3, 1], Corner[imgS3, 3]) → MS3Midpoint(Corner[imgS4, 1], Corner[imgS4, 3]) → MS4IsInRegion(MR1, PolyTüte(1)) → inTR1IsInRegion(MR2, PolyTüte(1)) → inTR2IsInRegion(MR3, PolyTüte(1)) → inTR3IsInRegion(MR4, PolyTüte(1)) → inTR4IsInRegion(MA1, PolyTüte(1)) → inTA1IsInRegion(MA2, PolyTüte(1)) → inTA2IsInRegion(MA3, PolyTüte(1)) → inTA3IsInRegion(MA4, PolyTüte(1)) → inTA4IsInRegion(MB1, PolyTüte(1)) → inTB1IsInRegion(MB2, PolyTüte(1)) → inTB2IsInRegion(MB3, PolyTüte(1)) → inTB3IsInRegion(MB4, PolyTüte(1)) → inTB4IsInRegion(MK1, PolyTüte(1)) → inTK1IsInRegion(MK2, PolyTüte(1)) → inTK2IsInRegion(MK3, PolyTüte(1)) → inTK3IsInRegion(MK4, PolyTüte(1)) → inTK4IsInRegion(MS1, PolyTüte(1)) → inTS1IsInRegion(MS2, PolyTüte(1)) → inTS2IsInRegion(MS3, PolyTüte(1)) → inTS3IsInRegion(MS4, PolyTüte(1)) → inTS4CountIf(a ≟ true, a, ListeA) → AnzahlACountIf(a ≟ true, a, ListeB) → AnzahlBCountIf(a ≟ true, a, ListeK) → AnzahlKCountIf(a ≟ true, a, ListeR) → AnzahlRCountIf(a ≟ true, a, ListeS) → AnzahlSTextfield(input) → inputBox
AI Drawing Prompt Reference
Draw a graph simulating a fruit gum lottery, containing four circular regions representing red, yellow, green and blue fruit gums. Each circular region has four small dots representing four different colored fruit gums. Please add a random lottery function to the graph, allowing users to draw a fruit gum by clicking a button. The lottery result will be displayed on the graph, showing the color and quantity of the drawn fruit gum.
The prompt above was compiled from the original drawing commands and is for reference only.