Division Practice: Algorithm Demonstration for Natural Numbers

Division Practice: Algorithm Demonstration for Natural Numbers
Loading the math board and drawing, please wait…
2023-07-20 15:40
This example demonstrates the division algorithm for natural numbers in GeoGebra. Key mathematical concepts include division rules, integer division with remainders, and dynamic problem generation. Construction involves using Textfield, Sequence, Polygon, and other GeoGebra commands to create division problems with random numbers. Suitable for elementary students aged 5-6 for classroom or homework practice.

GeoGebra Commands & Parameters

  1. Textfield(input2) → InputBox2
  2. Textfield(input1) → InputBox1
  3. Sequence(RandomElement[Sequence[11, 80] \ Sequence[10, 100, 10]], m, 1, 110) → randomNosForB1, {33, 73, 76, 48, 42, 33, 54, 31, 31, 44, 22, 43, 29, 73, 55, 62, 58, 11, 15, 64, 78, 59, 71, 36, 72, 32, 46, 35, 74, 22, 69, 34, 27, 19, 27, 33, 43, 32, 42, 75, 46, 35, 16, 55, 71, 49, 16, 32, 23, 29, 18, 74, 29, 26, 56, 56, 75, 37, 72, 63, 74, 33, 56, 74, 37, 16, 33, 24, 14, 17, 74, 28, 25, 39, 77, 19, 41, 56, 64, 78, 13, 39, 35, 14, 43, 29, 21, 31, 62, 76, 24, 76, 79, 44, 31, 31, 24, 16, 31, 65, 72, 21, 33, 21, 37, 38, 27, 58, 28, 59}
  4. Zip(Random[Max[11, 100 / b], 900 / b], b, randomNosForB1) → randomNosForC1
  5. Element(randomNosForB1, Mod[questionCount, 100] + 1) → numB1
  6. Zip(RandomElement[{0, Random[1, b - 1]}], b, randomNosForB1) → randomNosForRest1
  7. Zip((m * n) + r, m, randomNosForB1, n, randomNosForC1, r, randomNosForRest1) → randomNosForA1
  8. Element(randomNosForA1, Mod[questionCount, 100] + 1) → numA1
  9. Element(randomNosForRest1, Mod[questionCount, 100] + 1) → numR1
  10. Join({{1}, Join[Sequence[Shuffle[{1, 2, 3}], m, 1, 40]]}) → listcases
  11. Element(listcases, Mod[questionCount, 100] + 1) → case
  12. Sequence(RandomElement[Sequence[11, 89] \ Sequence[10, 100, 10]], m, 1, 110) → randomNosForB23, {64, 74, 44, 82, 15, 51, 59, 34, 58, 34, 38, 13, 46, 24, 25, 76, 82, 35, 57, 13, 68, 88, 66, 74, 73, 26, 65, 71, 69, 43, 39, 52, 45, 32, 61, 59, 41, 18, 81, 71, 56, 64, 63, 78, 68, 76, 55, 63, 31, 19, 75, 66, 85, 49, 77, 13, 41, 65, 85, 69, 38, 61, 11, 28, 45, 67, 64, 88, 68, 59, 15, 32, 75, 83, 62, 32, 55, 64, 74, 87, 55, 14, 13, 82, 22, 31, 56, 24, 31, 76, 28, 73, 49, 51, 41, 48, 55, 88, 16, 53, 57, 14, 25, 68, 74, 34, 12, 12, 37, 71}
  13. Zip(Random[1000 / b, Min[99, 9900 / b]], b, randomNosForB23) → randomNosForC2
  14. Zip(Random[Max[101, 1000 / b], 9900 / b], b, randomNosForB23) → randomNosForC3
  15. Element(randomNosForB23, Mod[questionCount, 100] + 1) → numB3
  16. Element(randomNosForB23, Mod[questionCount, 100] + 1) → numB2
  17. If(case ≟ 1, numB1, If[case ≟ 2, numB2, numB3]) → numB
  18. Zip(RandomElement[{0, Random[1, b - 1]}], b, randomNosForB23) → randomNosForRest23
  19. Zip((m * n) + r, m, randomNosForB23, n, randomNosForC2, r, randomNosForRest23) → randomNosForA2
  20. Element(randomNosForA2, Mod[questionCount, 100] + 1) → numA2
  21. Zip((m * n) + r, m, randomNosForB23, n, randomNosForC3, r, randomNosForRest23) → randomNosForA3
  22. Element(randomNosForA3, Mod[questionCount, 100] + 1) → numA3
  23. If(case ≟ 1, numA1, If[case ≟ 2, numA2, numA3]) → numA
  24. Element(randomNosForRest23, Mod[questionCount, 100] + 1) → numR2
  25. Element(randomNosForRest23, Mod[questionCount, 100] + 1) → numR3
  26. If(case ≟ 1, numR1, If[case ≟ 2, numR2, numR3]) → rest
  27. Join(Sequence[Shuffle[Sequence[1, maxexcount, 1]], m, 1, 9]) → listvarcount
  28. Element(listvarcount, Mod[questionCount, 100] + 1) → var
  29. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1
  30. Element(randomNosForB1, Mod[questionCount, 100] + 1) → numX
  31. Shuffle(Sequence[Random[11, 89], i, 1, 100]) → randomNosForY1, {42, 89, 41, 53, 21, 84, 78, 39, 26, 16, 63, 47, 20, 52, 33, 70, 21, 25, 44, 36, 33, 69, 22, 39, 78, 81, 74, 79, 89, 49, 76, 11, 44, 61, 81, 44, 24, 48, 29, 55, 16, 23, 14, 75, 19, 34, 46, 62, 41, 19, 36, 87, 76, 42, 60, 75, 26, 89, 52, 47, 71, 62, 19, 18, 42, 84, 46, 80, 87, 71, 41, 33, 57, 65, 81, 27, 55, 58, 29, 60, 52, 12, 86, 45, 37, 84, 83, 74, 76, 61, 43, 80, 57, 58, 17, 18, 28, 46, 49, 26}
  32. Element(randomNosForY1, Mod[questionCount, 100] + 1) → numY
  33. Append(true, Sequence[If[randomNosForB1(i) ≟ randomNosForB1(i - 1), false, true], i, 2, 100]) → stayX
  34. Append(true, Sequence[If[randomNosForY1(i) ≟ randomNosForY1(i - 1), false, true], i, 2, 100]) → stayY
  35. Remove(Sequence[If[stayX(i), randomNosForB1(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  36. Remove(Sequence[If[stayY(i), randomNosForY1(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForY1withoutRepeat
  37. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  38. Element(randomNosForY1withoutRepeat, Mod[questionCount, Length[randomNosForY1withoutRepeat]] + 1) → numYwithoutRepeat
  39. Element(randomNosForC1, Mod[questionCount, 100] + 1) → numC1
  40. Element(randomNosForC2, Mod[questionCount, 100] + 1) → numC2
  41. Element(randomNosForC3, Mod[questionCount, 100] + 1) → numC3
  42. If(case ≟ 1, numC1, If[case ≟ 2, numC2, numC3]) → numC
  43. NumberSeperation(numA) → TextNumA

AI Drawing Prompt Reference

Draw a rectangle and generate 10 random division problems inside it. Each problem is in the form of 'Given a divisor and a quotient, find the dividend.' For example, given a divisor of 33 and a quotient of 2, find the dividend. The divisor and quotient for each problem are random but cannot be repeated. Finally, display these problems as text inside the rectangle.
The prompt above was compiled from the original drawing commands and is for reference only.