Select Integers Between Two Values

Select Integers Between Two Values
Loading the math board and drawing, please wait…
2024-05-23 18:26
This example demonstrates selecting integers between two values. Core math concepts include comparing and ordering integers, and representing them on a number line. Commands used include If, Shuffle, Element, Textfield, Sequence, Segment, Text, Circle, PolyLine, RemoveUndefined, etc. Suitable for 5-6 grade students to practice comparing and ordering integers, as well as their application in real-world scenarios.

GeoGebra Commands & Parameters

  1. If(temp1 + 11 < 1 < temp2 + 11, selected1, ¬selected1) → correctSelection1
  2. If(temp1 + 11 < 2 < temp2 + 11, selected2, ¬selected2) → correctSelection2
  3. If(temp1 + 11 < 3 < temp2 + 11, selected3, ¬selected3) → correctSelection3
  4. If(temp1 + 11 < 4 < temp2 + 11, selected4, ¬selected4) → correctSelection4
  5. If(temp1 + 11 < 5 < temp2 + 11, selected5, ¬selected5) → correctSelection5
  6. If(temp1 + 11 < 6 < temp2 + 11, selected6, ¬selected6) → correctSelection6
  7. If(temp1 + 11 < 7 < temp2 + 11, selected7, ¬selected7) → correctSelection7
  8. If(temp1 + 11 < 8 < temp2 + 11, selected8, ¬selected8) → correctSelection8
  9. If(temp1 + 11 < 9 < temp2 + 11, selected9, ¬selected9) → correctSelection9
  10. If(temp1 + 11 < 10 < temp2 + 11, selected10, ¬selected10) → correctSelection10
  11. If(temp1 + 11 < 11 < temp2 + 11, selected11, ¬selected11) → correctSelection11
  12. If(temp1 + 11 < 12 < temp2 + 11, selected12, ¬selected12) → correctSelection12
  13. If(temp1 + 11 < 13 < temp2 + 11, selected13, ¬selected13) → correctSelection13
  14. If(temp1 + 11 < 14 < temp2 + 11, selected14, ¬selected14) → correctSelection14
  15. If(temp1 + 11 < 15 < temp2 + 11, selected15, ¬selected15) → correctSelection15
  16. If(temp1 + 11 < 16 < temp2 + 11, selected16, ¬selected16) → correctSelection16
  17. If(temp1 + 11 < 17 < temp2 + 11, selected17, ¬selected17) → correctSelection17
  18. If(temp1 + 11 < 18 < temp2 + 11, selected18, ¬selected18) → correctSelection18
  19. If(temp1 + 11 < 19 < temp2 + 11, selected19, ¬selected19) → correctSelection19
  20. If(temp1 + 11 < 20 < temp2 + 11, selected20, ¬selected20) → correctSelection20
  21. If(temp1 + 11 < 21 < temp2 + 11, selected21, ¬selected21) → correctSelection21
  22. Shuffle(1…numberOfQuestions) → randomQuestions, {5, 3, 2, 9, 4, 7, 8, 10, 1, 6}
  23. Element(randomQuestions, Mod[questionCount, Length[randomQuestions]] + 1) → randomQuestion
  24. Textfield(input) → inputBox
  25. Shuffle(1…10) → ReihenfolgeKinder, {5, 8, 10, 2, 7, 6, 4, 1, 3, 9}
  26. Sequence(Origin + ((-10 * width) + (k * width), 0), k, 0, 20) → PointsList
  27. Segment(Origin + ((-10 * width) - 0.5, 0), Origin + ((10 * width) + 0.5, 0)) → axis
  28. Text(TextCapList(1), PointsList(1) + (If[1 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt1
  29. Text(TextCapList(2), PointsList(2) + (If[2 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt2
  30. Text(TextCapList(3), PointsList(3) + (If[3 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt3
  31. Text(TextCapList(4), PointsList(4) + (If[4 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt4
  32. Text(TextCapList(5), PointsList(5) + (If[5 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt5
  33. Text(TextCapList(6), PointsList(6) + (If[6 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt6
  34. Text(TextCapList(7), PointsList(7) + (If[7 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt7
  35. Text(TextCapList(8), PointsList(8) + (If[8 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt8
  36. Text(TextCapList(9), PointsList(9) + (If[9 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt9
  37. Text(TextCapList(10), PointsList(10) + (If[10 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt10
  38. Text(TextCapList(11), PointsList(11) + (If[11 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt11
  39. Text(TextCapList(12), PointsList(12) + (If[12 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt12
  40. Text(TextCapList(13), PointsList(13) + (If[13 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt13
  41. Text(TextCapList(14), PointsList(14) + (If[14 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt14
  42. Text(TextCapList(15), PointsList(15) + (If[15 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt15
  43. Text(TextCapList(16), PointsList(16) + (If[16 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt16
  44. Text(TextCapList(17), PointsList(17) + (If[17 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt17
  45. Text(TextCapList(18), PointsList(18) + (If[18 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt18
  46. Text(TextCapList(19), PointsList(19) + (If[19 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt19
  47. Text(TextCapList(20), PointsList(20) + (If[20 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt20
  48. Text(TextCapList(21), PointsList(21) + (If[21 < 11, -0.166, 0], -0.125), false, true, 0, -1) → txt21
  49. Sequence(Segment[PointsList(k) + (0, -0.125), PointsList(k) + (0, 0.125)], k, 1, 21) → SegAxisList
  50. Circle(Midpoint[Corner[txt1, 1], Corner[txt1, 3]] + (If[1 < 1 < 11, 0.166 / 2, 0], 0), 0.45) → c1
  51. Circle(Midpoint[Corner[txt2, 1], Corner[txt2, 3]] + (If[1 < 2 < 11, 0.166 / 2, 0], 0), 0.45) → c2
  52. Circle(Midpoint[Corner[txt3, 1], Corner[txt3, 3]] + (If[1 < 3 < 11, 0.166 / 2, 0], 0), 0.45) → c3
  53. Circle(Midpoint[Corner[txt4, 1], Corner[txt4, 3]] + (If[1 < 4 < 11, 0.166 / 2, 0], 0), 0.45) → c4
  54. Circle(Midpoint[Corner[txt5, 1], Corner[txt5, 3]] + (If[1 < 5 < 11, 0.166 / 2, 0], 0), 0.45) → c5
  55. Circle(Midpoint[Corner[txt6, 1], Corner[txt6, 3]] + (If[1 < 6 < 11, 0.166 / 2, 0], 0), 0.45) → c6
  56. Circle(Midpoint[Corner[txt7, 1], Corner[txt7, 3]] + (If[1 < 7 < 11, 0.166 / 2, 0], 0), 0.45) → c7
  57. Circle(Midpoint[Corner[txt8, 1], Corner[txt8, 3]] + (If[1 < 8 < 11, 0.166 / 2, 0], 0), 0.45) → c8
  58. Circle(Midpoint[Corner[txt9, 1], Corner[txt9, 3]] + (If[1 < 9 < 11, 0.166 / 2, 0], 0), 0.45) → c9
  59. Circle(Midpoint[Corner[txt10, 1], Corner[txt10, 3]] + (If[1 < 10 < 11, 0.166 / 2, 0], 0), 0.45) → c10
  60. Circle(Midpoint[Corner[txt11, 1], Corner[txt11, 3]] + (If[1 < 11 < 11, 0.166 / 2, 0], 0), 0.45) → c11
  61. Circle(Midpoint[Corner[txt12, 1], Corner[txt12, 3]] + (If[1 < 12 < 11, 0.166 / 2, 0], 0), 0.45) → c12
  62. Circle(Midpoint[Corner[txt13, 1], Corner[txt13, 3]] + (If[1 < 13 < 11, 0.166 / 2, 0], 0), 0.45) → c13
  63. Circle(Midpoint[Corner[txt14, 1], Corner[txt14, 3]] + (If[1 < 14 < 11, 0.166 / 2, 0], 0), 0.45) → c14
  64. Circle(Midpoint[Corner[txt15, 1], Corner[txt15, 3]] + (If[1 < 15 < 11, 0.166 / 2, 0], 0), 0.45) → c15
  65. Circle(Midpoint[Corner[txt16, 1], Corner[txt16, 3]] + (If[1 < 16 < 11, 0.166 / 2, 0], 0), 0.45) → c16
  66. Circle(Midpoint[Corner[txt17, 1], Corner[txt17, 3]] + (If[1 < 17 < 11, 0.166 / 2, 0], 0), 0.45) → c17
  67. Circle(Midpoint[Corner[txt18, 1], Corner[txt18, 3]] + (If[1 < 18 < 11, 0.166 / 2, 0], 0), 0.45) → c18
  68. Circle(Midpoint[Corner[txt19, 1], Corner[txt19, 3]] + (If[1 < 19 < 11, 0.166 / 2, 0], 0), 0.45) → c19
  69. Circle(Midpoint[Corner[txt20, 1], Corner[txt20, 3]] + (If[1 < 20 < 11, 0.166 / 2, 0], 0), 0.45) → c20
  70. Circle(Midpoint[Corner[txt21, 1], Corner[txt21, 3]] + (If[1 < 21 < 11, 0.166 / 2, 0], 0), 0.45) → c21
  71. PolyLine(PosSB, Corner[txtQuestion, 2] + (-0.5, 0), Corner[txtQuestion, 1], Corner[txtQuestion, 4], Corner[txtQuestion, 3], Corner[txtQuestion, 3] + (0, -0.5), PosSB) → sb
  72. RemoveUndefined({If[selected1, -10], If[selected2, -9], If[selected3, -8], If[selected4, -7], If[selected5, -6], If[selected6, -5], If[selected7, -4], If[selected8, -3], If[selected9, -2], If[selected10, -1], If[selected11, 0], If[selected12, 1], If[selected13, 2], If[selected14, 3], If[selected15, 4], If[selected16, 5], If[selected17, 6], If[selected18, 7], If[selected19, 8], If[selected20, 9], If[selected21, 10]}) → MarkedNumbers

AI Drawing Prompt Reference

Draw a horizontal number line from -10 to 30 with integer points marked by small circles, each labeled with its corresponding number. Highlight 21 randomly selected integer points in different colors. Include an input box below the number line where users can enter two values, and dynamically show the highlighted integer points within the specified range, while others return to their original color.
The prompt above was compiled from the original drawing commands and is for reference only.