How to sensibly round numbers?

How to sensibly round numbers?
Loading the math board and drawing, please wait…
2022-07-13 08:59
In collections Dezimalzahlen runden
This example demonstrates the use of GeoGebra to perform operations on sequences, including random number generation and verification. Key mathematical concepts involve sequence manipulation, element validation, and result checking. Construction involves commands like Shuffle, Append, Remove, and objects such as IndexOf, Point, and Textfield. Suitable for elementary students (grades 5-6) to develop sequence operation skills and geometric intuition.

GeoGebra Commands & Parameters

  1. Shuffle({1, 2, 3, 4, 5}) → NosCase, {4, 5, 2, 1, 3}
  2. Shuffle(Sequence[Random[1, 49], i, 1, 100]) → randomNosForY, {47, 43, 47, 48, 44, 8, 8, 24, 11, 46, 29, 4, 21, 31, 31, 9, 1, 8, 19, 27, 37, 42, 15, 36, 47, 32, 33, 33, 7, 23, 4, 43, 45, 33, 33, 17, 5, 46, 14, 33, 14, 7, 21, 22, 12, 1, 10, 18, 45, 44, 16, 1, 30, 39, 22, 24, 27, 35, 29, 3, 41, 31, 35, 33, 2, 9, 31, 19, 17, 17, 9, 25, 35, 18, 6, 40, 10, 6, 43, 43, 14, 26, 14, 18, 42, 37, 24, 37, 41, 41, 7, 35, 32, 26, 44, 40, 7, 39, 14, 31}
  3. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  4. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  5. Shuffle(Sequence[Random[50, 99], i, 1, 100]) → randomNosForX, {98, 59, 55, 96, 65, 95, 55, 95, 50, 84, 98, 78, 80, 83, 95, 80, 56, 73, 58, 80, 50, 74, 57, 93, 97, 70, 93, 87, 59, 80, 68, 74, 65, 52, 80, 81, 63, 52, 72, 89, 68, 65, 85, 54, 69, 56, 98, 78, 95, 99, 61, 89, 86, 58, 89, 89, 86, 66, 69, 55, 56, 71, 54, 99, 85, 80, 99, 76, 73, 62, 88, 55, 59, 55, 65, 58, 81, 53, 98, 75, 66, 73, 57, 54, 55, 74, 65, 59, 52, 50, 86, 67, 84, 64, 50, 82, 96, 51, 94, 83}
  6. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  7. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  8. Shuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNosForK, {3, 9, 2, 8, 6, 5, 2, 9, 3, 4, 6, 4, 4, 4, 10, 8, 6, 2, 7, 10, 2, 8, 2, 5, 5, 4, 3, 9, 6, 2, 6, 5, 8, 3, 2, 4, 10, 5, 2, 8, 5, 10, 2, 5, 9, 9, 8, 3, 7, 4, 10, 5, 2, 4, 4, 7, 8, 7, 9, 4, 5, 7, 10, 5, 8, 10, 8, 4, 6, 6, 2, 6, 3, 5, 6, 4, 2, 2, 7, 6, 7, 2, 7, 9, 7, 10, 4, 3, 10, 3, 5, 5, 8, 3, 3, 2, 10, 8, 10, 5}
  9. Append(true, Sequence[If[randomNosForK(i) ≟ randomNosForK(i - 1), false, true], i, 2, 100]) → stayK
  10. IndexOf(true, checkboxes) → SelectedCheckbox
  11. Point(Line[F11, Vector[(0, 0), (0, -1.2)]]) → F21
  12. Shuffle(Sequence[Random[1, 3], i, 1, 100]) → randomNosPositionAnswerCorrect, {1, 2, 2, 1, 3, 1, 2, 3, 1, 1, 2, 3, 3, 1, 2, 3, 3, 2, 3, 3, 2, 1, 2, 2, 1, 1, 3, 1, 3, 2, 3, 3, 3, 3, 2, 1, 3, 2, 3, 1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 3, 3, 3, 1, 3, 3, 2, 1, 3, 1, 1, 2, 1, 2, 2, 1, 1, 3, 3, 2, 3, 2, 1, 3, 1, 3, 3, 3, 3, 2, 3, 1, 3, 2, 2, 2, 1, 1, 2, 1, 2, 3, 3, 2, 2, 2, 1, 3, 3, 3, 2}
  13. Element(randomNosPositionAnswerCorrect, Mod[questionCount, 100] + 1) → numPositionAnswerCorrect
  14. Shuffle(Sequence[Random[2, 10], i, 1, 100]) → randomNosForA, {9, 4, 7, 2, 5, 2, 9, 8, 6, 3, 7, 10, 3, 3, 4, 10, 10, 4, 5, 10, 8, 2, 5, 5, 10, 6, 3, 8, 9, 6, 8, 4, 7, 5, 4, 7, 10, 8, 4, 8, 9, 4, 8, 6, 3, 6, 5, 10, 9, 7, 4, 6, 10, 9, 6, 2, 5, 10, 7, 4, 7, 6, 2, 5, 10, 3, 4, 10, 4, 8, 9, 10, 3, 8, 6, 5, 5, 4, 8, 5, 2, 6, 3, 3, 9, 8, 7, 10, 6, 9, 3, 5, 9, 4, 8, 10, 9, 3, 2, 6}
  15. Append(true, Sequence[If[randomNosForA(i) ≟ randomNosForA(i - 1), false, true], i, 2, 100]) → stayA
  16. Remove(Sequence[If[stayA(i), randomNosForA(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForAwithoutRepeat
  17. Element(randomNosForAwithoutRepeat, Mod[questionCount, 100] + 1) → numA
  18. Remove(Sequence[If[stayK(i), randomNosForK(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForKwithoutRepeat
  19. Element(randomNosForKwithoutRepeat, Mod[questionCount, 100] + 1) → numK
  20. Zip((a * k), a, randomNosForAwithoutRepeat, k, randomNosForKwithoutRepeat) → randomNosForZ
  21. Textfield(aInput) → InputBox1
  22. Textfield(bInput) → InputBox2
  23. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  24. Sequence(RandomElement[Remove[Sequence[3], {randomNosPositionAnswerCorrect(i)}]], i, 1, 100) → randomNosPositionAnswerWrong1, {3, 3, 1, 3, 1, 2, 1, 2, 3, 2, 1, 1, 1, 2, 3, 1, 1, 1, 2, 1, 1, 2, 3, 1, 3, 2, 1, 2, 1, 3, 1, 2, 1, 1, 1, 3, 2, 1, 2, 2, 3, 3, 3, 3, 1, 3, 3, 3, 1, 2, 2, 2, 3, 2, 1, 1, 3, 1, 2, 3, 3, 2, 3, 1, 3, 3, 1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 3, 2, 3, 1, 1, 3, 3, 2, 2, 1, 2, 3, 2, 2, 1, 3, 3, 3, 1, 1, 1, 3}
  25. Sequence(RandomElement[Remove[Remove[Sequence[3], {randomNosPositionAnswerCorrect(i)}], {randomNosPositionAnswerWrong1(i)}]], i, 1, 100) → randomNosPositionAnswerWrong2, {2, 1, 3, 2, 2, 3, 3, 1, 2, 3, 3, 2, 2, 3, 1, 2, 2, 3, 1, 2, 3, 3, 1, 3, 2, 3, 2, 3, 2, 1, 2, 1, 2, 2, 3, 2, 1, 3, 1, 3, 1, 2, 2, 1, 3, 2, 2, 2, 3, 1, 1, 1, 2, 1, 2, 3, 2, 2, 3, 2, 1, 3, 1, 3, 2, 2, 2, 2, 3, 1, 3, 3, 2, 3, 1, 2, 1, 2, 1, 1, 2, 2, 3, 1, 1, 3, 3, 3, 3, 1, 1, 1, 3, 1, 1, 2, 2, 2, 2, 1}
  26. Shuffle(Sequence[Random[1, 15], i, 1, 100]) → randomNosCase, {4, 13, 8, 10, 1, 4, 2, 13, 10, 14, 8, 1, 10, 8, 1, 15, 5, 4, 1, 1, 6, 14, 9, 14, 5, 8, 8, 9, 9, 14, 9, 14, 9, 4, 14, 2, 11, 5, 3, 13, 13, 12, 11, 12, 2, 14, 11, 5, 5, 8, 6, 6, 15, 3, 2, 10, 11, 1, 11, 1, 3, 10, 8, 11, 5, 15, 7, 7, 8, 3, 6, 12, 6, 12, 8, 1, 11, 9, 7, 9, 5, 14, 12, 1, 13, 5, 11, 1, 10, 13, 15, 11, 4, 6, 3, 11, 8, 10, 3, 8}
  27. Sequence(RandomElement[{-2, -1, 1, 2}], i, 1, 200) → randomNosForNumDeviation1, {-2, -2, -2, 1, -1, 1, 2, -2, 1, -1, -2, -1, 1, 1, 1, -1, 2, 1, 2, 2, -1, -1, -1, -2, 2, -2, -2, 1, -1, 1, 2, -1, 1, 2, -2, 1, 2, -2, -2, -2, -2, -2, 2, 1, 1, 2, 2, -2, -1, 1, 1, 2, 2, -2, -2, -1, 1, -1, 2, 2, 1, -1, -2, -1, 1, -1, -2, 1, -1, -1, -1, 1, -1, -1, 2, -1, 1, 1, 1, -1, 1, -1, 1, 2, 2, 1, 2, 1, -1, 2, -1, 1, -1, -1, -2, -2, 1, 2, 1, 2, -1, 1, -1, -2, 2, 2, 2, 1, 2, 1, 2, 1, -2, -1, 2, -2, -2, 2, 1, 2, 1, 2, -1, -1, 2, 2, 1, 2, 1, -1, -1, 2, -2, 1, 2, 1, -1, -2, 2, 1, 1, 2, 2, 1, -2, -2, -1, -1, 2, -1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, -1, 2, -2, 1, 2, -1, -1, 1, -1, -1, 1, -1, -2, 2, 2, -2, -1, -1, -2, 2, 2, 1, 1, -2, -1, -2, -2, 2, -1, 1, -1, 1, -1, 2, 1, -2, -2, -2, -2, 1}
  28. Element(randomNosForNumDeviation1, Mod[questionCount, 100] + 1) → numDeviation1
  29. Zip(RandomElement[{-2, -1, 1, 2} \ {m}], m, randomNosForNumDeviation1) → randomNosForNumDeviation2
  30. Element(randomNosForNumDeviation2, Mod[questionCount, 100] + 1) → numDeviation2
  31. Element(randomNosPositionAnswerWrong1, Mod[questionCount, 100] + 1) → numPositionAnswerWrong1
  32. Element(randomNosPositionAnswerWrong2, Mod[questionCount, 100] + 1) → numPositionAnswerWrong2
  33. Midpoint(PbottomLeftCornerFeedback, PbottomRightCornerFeedback) → PbottomMiddle
  34. Append(true, Sequence[If[randomNosCase(i) ≟ randomNosCase(i - 1), false, true], i, 2, 100]) → stayNos
  35. Remove(Sequence[If[stayNos(i), randomNosCase(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosCasewithoutRepeat
  36. If(numPositionAnswerCorrect ≟ 1, true, false) → c1
  37. If(numPositionAnswerCorrect ≟ 2, true, false) → c2
  38. If(numPositionAnswerCorrect ≟ 3, true, false) → c3
  39. Polygon(F11, (x(F13), y(F11)), F13, (x(F11), y(F13))) → q1, f11, j, f13, k
  40. Polygon(F21, (x(F23), y(F21)), F23, (x(F21), y(F23))) → q2, f21, l, f23, m
  41. Polygon(F31, (x(F31), y(F33)), F33, (x(F33), y(F31))) → q3, n, p, q, r

AI Drawing Prompt Reference

Create a graphic with three rectangles. First, generate 100 random numbers to determine the positions and sizes of the rectangles. Then, randomly select one rectangle as the correct answer and generate two wrong answers. Next, use the random numbers to generate the coordinates of the rectangle vertices and draw three rectangles. Finally, adjust the positions of the rectangles based on the random numbers to ensure the correct answer is different from the other two.
The prompt above was compiled from the original drawing commands and is for reference only.