Help Elia in the Kitchen!

Help Elia in the Kitchen!
Loading the math board and drawing, please wait…
2022-07-11 17:28
This example uses geometric construction to help students understand fraction addition. Students need to input fractions to help Elia complete kitchen tasks. The core math concepts involved are fraction addition. The construction points include using FractionText, InputBox, and validate GeoGebra commands. Suitable for students in grades 5-6.

GeoGebra Commands & Parameters

  1. Textfield(aInput) → InputBox1
  2. Join({{0}, Shuffle[Sequence[1, maxExNum, 1]]}) → listeExVal
  3. Textfield(bInput) → InputBox2
  4. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  5. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {5, 8, 3, 6, 2, 10, 10, 3, 8, 6, 6, 3, 3, 8, 4, 10, 7, 1, 0, 1, 0, 5, 6, 7, 1, 4, 1, 5, 1, 4, 2, 4, 3, 5, 9, 10, 5, 2, 9, 5, 3, 2, 3, 8, 6, 1, 7, 9, 0, 5, 3, 4, 8, 0, 0, 5, 10, 4, 4, 7, 5, 4, 6, 9, 0, 7, 5, 0, 0, 10, 0, 5, 6, 5, 5, 9, 6, 1, 7, 4, 0, 5, 4, 4, 1, 3, 2, 3, 4, 2, 7, 2, 2, 1, 1, 8, 8, 8, 5, 9}
  6. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  7. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {0, 3, 1, 6, 9, 7, 9, 9, 3, 4, 4, 2, 9, 7, 3, 6, 5, 2, 4, 5, 1, 6, 0, 7, 10, 8, 1, 6, 0, 7, 4, 10, 0, 2, 7, 0, 3, 4, 7, 9, 6, 5, 1, 1, 3, 8, 5, 1, 6, 9, 6, 9, 0, 7, 9, 8, 3, 7, 7, 9, 7, 7, 1, 4, 6, 1, 6, 5, 4, 3, 4, 7, 7, 7, 7, 3, 2, 9, 8, 10, 2, 5, 0, 1, 2, 4, 1, 2, 7, 10, 3, 6, 3, 10, 3, 9, 9, 3, 4, 7}
  8. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  9. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  10. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  11. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  12. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  13. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  14. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  15. FractionText(aInput) → Text19
  16. Textfield(cInput) → InputBox3
  17. Polygon(PtopLeftCornerFeedback_{1}, PtopRightCornerFeedback_{1}, PbottomRightCornerFeedback_{1}, PbottomLeftCornerFeedback_{1}) → rectangleCorrect_{1}, ptopleftcornerfeedback_{1}, ptoprightcornerfeedback_{1}, pbottomrightcornerfeedback_{1}, pbottomleftcornerfeedback_{1}
  18. Polygon(PtopLeftCornerFeedback_{2}, PtopRightCornerFeedback_{2}, PbottomRightCornerFeedback_{2}, PbottomLeftCornerFeedback_{2}) → rectangleCorrect_{2}, ptopleftcornerfeedback_{2}, ptoprightcornerfeedback_{2}, pbottomrightcornerfeedback_{2}, pbottomleftcornerfeedback_{2}
  19. Textfield(input1) → Eingabefeld1
  20. Textfield(input2) → Eingabefeld2
  21. Textfield(input3) → Eingabefeld3
  22. Textfield(input4) → Eingabefeld4

AI Drawing Prompt Reference

Draw a kitchen scene with two input boxes for fractions, a text display for the fractions, and a rectangle formed by four points. Generate random X and Y coordinates without repetition, calculate and display the result based on the input fractions, and change the rectangle's color according to the input fractions.
The prompt above was compiled from the original drawing commands and is for reference only.