Expression Evaluation Practice

Expression Evaluation Practice
Loading the math board and drawing, please wait…
2021-08-18 11:23
This example demonstrates how to construct mathematical expressions and evaluate their results using GeoGebra. It involves core math concepts like parenthesis precedence, arithmetic operations, and order of operations. Key GeoGebra commands and objects used include Sequence, Join, RandomElement, Shuffle, Zip, Element, Textfield, If, and Polygon to generate random expressions and display graphics. Suitable for upper elementary students (grades 5-6) to practice operation order and parenthesis usage, or as an interactive tool in math class.

GeoGebra Commands & Parameters

  1. Sequence(Random[1, 3], m, 1, 100) → LIndex, {3, 2, 1, 3, 2, 3, 3, 1, 3, 1, 2, 2, 3, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 3, 1, 2, 2, 3, 2, 2, 3, 1, 3, 3, 1, 1, 3, 2, 1, 1, 3, 3, 1, 3, 2, 3, 3, 3, 2, 1, 3, 2, 3, 3, 1, 1, 3, 1, 1, 1, 2, 3, 3, 2, 3, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 3, 1, 2, 3, 2, 2, 3, 1, 3, 2, 1, 2, 3, 3, 2, 2, 3, 1, 3, 3, 3}
  2. Join(Sequence[Shuffle[{1, 2, 3, 4}], i, 1, 15]) → Layout
  3. RandomElement({1, 2, 3} \ {z1}) → z2
  4. RandomElement({1, 2, 3} \ {z1, z2}) → z3
  5. Shuffle(Sequence[(Random[1, 99] * 0.1), i, 1, 100]) → LA2, {7.2, 6, 6.2, 8.8, 0.7000000000000001, 3.9000000000000004, 8.700000000000001, 8.1, 7.5, 6.1000000000000005, 4.3, 6.7, 2.1, 0.8, 0.5, 5, 9.3, 1.6, 2.2, 1.9000000000000001, 5.1000000000000005, 8.5, 3, 2.4000000000000004, 5.300000000000001, 6.6000000000000005, 6.7, 8.5, 4.9, 5.2, 2.4000000000000004, 4.800000000000001, 5.4, 6.9, 4.2, 0.1, 4.9, 3.4000000000000004, 8.8, 1.8, 1.9000000000000001, 6.1000000000000005, 4.800000000000001, 3.3000000000000003, 1.7000000000000002, 0.9, 2.8000000000000003, 7.5, 2.7, 5.4, 5.800000000000001, 2.7, 6.4, 7.7, 4.9, 1.3, 0.5, 8.700000000000001, 2.5, 2.9000000000000004, 9.200000000000001, 4, 5.5, 4, 4.1000000000000005, 4, 0.1, 5.5, 4, 2.5, 2.6, 6, 0.9, 1.5, 0.30000000000000004, 4.4, 0.9, 8.6, 1.7000000000000002, 2.9000000000000004, 0.30000000000000004, 0.9, 3.6, 0.9, 6.5, 0.5, 7.7, 2.4000000000000004, 5, 9, 6, 4.4, 6, 1.9000000000000001, 5.2, 5.6000000000000005, 8.700000000000001, 4.7, 0.8, 4.6000000000000005}
  6. Shuffle(Sequence[Random[2, 5], i, 1, 100]) → LA3, {4, 3, 3, 2, 2, 3, 2, 2, 5, 2, 5, 4, 5, 5, 2, 5, 3, 3, 5, 2, 3, 2, 3, 4, 5, 5, 4, 3, 5, 2, 2, 3, 5, 5, 5, 3, 2, 2, 4, 4, 5, 4, 2, 5, 2, 2, 5, 2, 3, 5, 5, 3, 4, 4, 3, 5, 2, 2, 5, 3, 5, 2, 4, 3, 4, 4, 5, 5, 5, 4, 5, 4, 4, 2, 2, 5, 4, 4, 3, 3, 2, 3, 3, 2, 5, 5, 2, 3, 2, 3, 5, 3, 3, 2, 2, 3, 5, 4, 4, 4}
  7. Shuffle(Sequence[Random[2, 5], i, 1, 100]) → LB3, {2, 2, 3, 3, 3, 3, 2, 4, 2, 4, 2, 2, 3, 5, 5, 3, 5, 3, 5, 2, 5, 2, 4, 2, 3, 2, 4, 3, 3, 4, 3, 2, 4, 2, 5, 2, 5, 4, 5, 3, 5, 2, 5, 2, 4, 5, 4, 5, 3, 2, 5, 4, 4, 3, 4, 3, 3, 5, 3, 5, 4, 4, 3, 3, 3, 3, 3, 5, 3, 4, 3, 2, 2, 2, 3, 5, 4, 2, 5, 5, 2, 3, 2, 3, 3, 3, 4, 3, 3, 2, 4, 2, 2, 2, 3, 2, 4, 5, 4, 3}
  8. Shuffle(Sequence[((Random[1, 3] * 0.1) * RandomElement[{-1, 1}]), i, 1, 100]) → zfehler, {0.30000000000000004, 0.2, 0.30000000000000004, -0.2, 0.30000000000000004, 0.30000000000000004, 0.1, 0.30000000000000004, -0.1, -0.30000000000000004, -0.1, 0.2, 0.1, 0.1, 0.1, 0.1, -0.1, -0.1, -0.30000000000000004, 0.30000000000000004, -0.2, 0.1, 0.2, -0.2, 0.2, 0.1, 0.2, -0.30000000000000004, -0.2, -0.1, -0.30000000000000004, -0.30000000000000004, -0.2, 0.1, -0.2, 0.30000000000000004, 0.30000000000000004, 0.2, -0.2, 0.2, -0.30000000000000004, -0.1, -0.2, -0.1, -0.2, 0.1, -0.1, 0.30000000000000004, 0.1, 0.1, -0.2, 0.1, 0.1, 0.2, 0.30000000000000004, 0.2, 0.30000000000000004, -0.30000000000000004, -0.1, 0.2, -0.30000000000000004, -0.30000000000000004, -0.2, 0.2, -0.1, 0.30000000000000004, 0.2, -0.1, -0.1, 0.30000000000000004, 0.1, -0.2, 0.2, 0.30000000000000004, -0.2, 0.2, 0.2, -0.30000000000000004, 0.2, -0.2, -0.1, 0.30000000000000004, 0.30000000000000004, -0.30000000000000004, -0.30000000000000004, -0.2, 0.1, -0.1, -0.1, -0.30000000000000004, 0.2, 0.30000000000000004, 0.30000000000000004, 0.2, -0.30000000000000004, -0.2, 0.1, 0.2, 0.30000000000000004, 0.30000000000000004}
  9. Shuffle(Sequence[(Random[1, 99] * 0.1), i, 1, 100]) → LA1, {8.200000000000001, 0.8, 1.3, 8.1, 5.6000000000000005, 0.8, 9.600000000000001, 9.3, 2.8000000000000003, 5.9, 4.5, 9.3, 1.3, 3.8000000000000003, 2.5, 7.6000000000000005, 1.3, 1.9000000000000001, 1.4000000000000001, 7, 8.9, 6.2, 2.8000000000000003, 7, 3.7, 6.2, 1.1, 0.30000000000000004, 4.4, 3.9000000000000004, 4.1000000000000005, 7.1000000000000005, 1.4000000000000001, 0.4, 1.2000000000000002, 6.5, 7.300000000000001, 3, 0.1, 2.7, 0.4, 8.9, 9.8, 6.9, 2.2, 1.3, 4.6000000000000005, 6, 9.3, 1.8, 6.2, 5.1000000000000005, 4.1000000000000005, 9.1, 7.4, 4.4, 0.4, 0.8, 1.6, 4.7, 4.5, 1.1, 9.9, 6.2, 9.9, 8.5, 7.4, 6.6000000000000005, 5.6000000000000005, 0.1, 6.7, 6.2, 4, 8.1, 4.1000000000000005, 4.6000000000000005, 8.700000000000001, 6.9, 4.1000000000000005, 7.2, 2.4000000000000004, 5.5, 2.4000000000000004, 6.9, 2, 8.1, 2.1, 6.9, 8.9, 5.9, 7.5, 8.200000000000001, 5.7, 0.4, 0.5, 7.300000000000001, 5, 3.6, 8.1, 5.1000000000000005}
  10. Shuffle(Sequence[(Random[55, 99] * 0.1), i, 1, 100]) → LB1, {7.7, 7.6000000000000005, 6.5, 8.5, 7.5, 7.5, 5.9, 5.9, 5.800000000000001, 7, 6.1000000000000005, 7.2, 9.9, 7.4, 6.4, 7.9, 8.3, 5.9, 7.1000000000000005, 8.9, 6.2, 8.8, 7.2, 8.9, 7.9, 8, 9.3, 8.8, 6.9, 5.5, 7.5, 5.800000000000001, 6.4, 5.5, 6.1000000000000005, 6.7, 5.9, 7.300000000000001, 6.1000000000000005, 6.4, 9.700000000000001, 8.200000000000001, 6.1000000000000005, 8.4, 6, 7, 8, 8, 8.1, 6.800000000000001, 8.4, 6.6000000000000005, 7.7, 9.700000000000001, 8, 9.4, 8.200000000000001, 8.700000000000001, 9.700000000000001, 7, 5.7, 9.200000000000001, 6.2, 8.3, 7.800000000000001, 7.9, 6.1000000000000005, 8.3, 8.3, 7.300000000000001, 7.1000000000000005, 9.600000000000001, 8.9, 5.800000000000001, 9.600000000000001, 9.5, 7.7, 5.9, 9.700000000000001, 6.7, 8.6, 9.600000000000001, 7.2, 7.5, 7.800000000000001, 8.700000000000001, 8.200000000000001, 7.9, 9.3, 8.6, 7.1000000000000005, 9.200000000000001, 8, 7.4, 6.9, 6.4, 7.9, 8.4, 6.7, 9.3}
  11. Shuffle(Sequence[(Random[1, 50] * 0.1), i, 1, 100]) → LB2, {2.2, 3.7, 0.30000000000000004, 1.7000000000000002, 4.1000000000000005, 0.9, 1.3, 2.4000000000000004, 2.6, 5, 3.2, 1.2000000000000002, 1.3, 0.6000000000000001, 0.9, 2.5, 3.3000000000000003, 1.2000000000000002, 3.2, 1.5, 0.8, 1.1, 0.6000000000000001, 3, 0.6000000000000001, 4.1000000000000005, 0.2, 3.5, 1.2000000000000002, 2.6, 2.2, 5, 0.30000000000000004, 4.9, 0.1, 2.9000000000000004, 1.5, 1.4000000000000001, 3.3000000000000003, 0.9, 0.4, 3.7, 2.4000000000000004, 0.6000000000000001, 1.6, 3, 2.1, 1.3, 1.6, 2.1, 0.1, 2.7, 1.4000000000000001, 4.3, 5, 3.1, 3.4000000000000004, 3.4000000000000004, 4, 1.1, 1.8, 3.8000000000000003, 1.2000000000000002, 2.8000000000000003, 3.7, 0.4, 2, 1.6, 1.4000000000000001, 4.7, 5, 2.7, 2.8000000000000003, 4, 3.8000000000000003, 3.2, 2, 0.6000000000000001, 2.5, 4.9, 4.800000000000001, 1.2000000000000002, 4.2, 2.5, 1.1, 4.6000000000000005, 1, 0.5, 3.3000000000000003, 2.8000000000000003, 0.4, 1.8, 1.4000000000000001, 2.3000000000000003, 2.2, 2.4000000000000004, 1.7000000000000002, 2.8000000000000003, 3.4000000000000004, 4}
  12. Shuffle(Sequence[Random[2, 5], i, 1, 100]) → LC3, {2, 5, 3, 3, 4, 2, 4, 2, 5, 3, 4, 5, 2, 5, 2, 2, 3, 2, 3, 3, 4, 2, 5, 4, 2, 5, 3, 3, 2, 3, 2, 2, 3, 5, 2, 2, 4, 2, 5, 3, 5, 2, 3, 4, 2, 5, 2, 5, 5, 3, 4, 3, 2, 4, 2, 3, 3, 3, 3, 5, 4, 4, 2, 3, 2, 2, 4, 5, 3, 4, 4, 3, 2, 3, 3, 5, 5, 3, 4, 4, 3, 3, 5, 2, 2, 5, 5, 4, 2, 5, 3, 3, 3, 4, 5, 3, 2, 4, 2, 3}
  13. Zip(((Random[11, 50] * 0.1) * m), m, LC3) → LC2
  14. Zip(((Random[11, 70] * 0.1) * m), m, LC3) → LC1
  15. Shuffle(Sequence[Random[2, 9], i, 1, 100]) → LD3, {2, 2, 4, 8, 4, 6, 8, 3, 5, 2, 2, 7, 5, 4, 9, 7, 6, 9, 8, 6, 3, 7, 4, 8, 3, 6, 2, 8, 8, 6, 3, 8, 8, 3, 2, 8, 7, 7, 7, 3, 7, 6, 7, 7, 2, 8, 8, 5, 6, 3, 5, 2, 6, 8, 8, 9, 5, 8, 7, 2, 5, 8, 2, 3, 6, 2, 7, 5, 4, 9, 4, 5, 2, 5, 9, 4, 5, 3, 7, 7, 6, 7, 3, 3, 7, 8, 7, 6, 6, 3, 8, 4, 6, 8, 2, 6, 3, 5, 5, 2}
  16. Zip(((m * Random[1, 11]) * 0.1), m, LD3) → LD1
  17. Zip(((m * Random[11, 50]) * 0.1), m, LD3) → LD2
  18. Shuffle(Sequence[(Random[2, 9] * 0.1), i, 1, 100]) → LDF, {0.5, 0.5, 0.5, 0.5, 0.4, 0.9, 0.2, 0.6000000000000001, 0.9, 0.9, 0.5, 0.8, 0.8, 0.8, 0.2, 0.8, 0.7000000000000001, 0.6000000000000001, 0.4, 0.4, 0.5, 0.4, 0.7000000000000001, 0.6000000000000001, 0.30000000000000004, 0.7000000000000001, 0.9, 0.8, 0.4, 0.8, 0.8, 0.9, 0.2, 0.8, 0.9, 0.6000000000000001, 0.5, 0.5, 0.5, 0.8, 0.9, 0.4, 0.2, 0.7000000000000001, 0.30000000000000004, 0.8, 0.8, 0.5, 0.9, 0.6000000000000001, 0.9, 0.5, 0.6000000000000001, 0.7000000000000001, 0.5, 0.30000000000000004, 0.8, 0.30000000000000004, 0.7000000000000001, 0.7000000000000001, 0.6000000000000001, 0.8, 0.2, 0.30000000000000004, 0.7000000000000001, 0.9, 0.4, 0.4, 0.5, 0.9, 0.6000000000000001, 0.5, 0.5, 0.8, 0.2, 0.6000000000000001, 0.9, 0.2, 0.5, 0.8, 0.6000000000000001, 0.8, 0.6000000000000001, 0.2, 0.7000000000000001, 0.7000000000000001, 0.5, 0.4, 0.6000000000000001, 0.4, 0.2, 0.9, 0.9, 0.6000000000000001, 0.8, 0.7000000000000001, 0.7000000000000001, 0.7000000000000001, 0.30000000000000004, 0.7000000000000001}
  19. Element(LDF, questionCount) → df
  20. Textfield(aInput) → InputBox1
  21. Textfield(bInput) → InputBox2
  22. If(l1, F1, If[l2, F2, If[l3, F3]]) → PtopLeftCornerFeedback
  23. If(l1, F11, If[l2, F21, If[l3, F31]]) → PbottomRightCornerFeedback
  24. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  25. If(l1, F11, If[l2, F21, If[l3, F31]]) → F

AI Drawing Prompt Reference

Draw a rectangle formed by four randomly generated points. First, generate the coordinates of four points randomly. Then, draw a rectangle based on these coordinates. The vertices of the rectangle should be in the order: top-left, top-right, bottom-right, bottom-left. Finally, draw the correct rectangle based on conditions and display feedback information.
The prompt above was compiled from the original drawing commands and is for reference only.