Written Subtraction Practice

Written Subtraction Practice
Loading the math board and drawing, please wait…
2021-08-18 10:39
This example demonstrates the written subtraction algorithm, suitable for students in grades 5-6. Using GeoGebra commands like Point, Shuffle, Sequence, etc., it dynamically shows the subtraction process. Students can input numbers and verify the results, deepening their understanding of the subtraction algorithm. It is suitable for classroom teaching and practice.

GeoGebra Commands & Parameters

  1. Point(Line[A, xAxis]) → A2
  2. Shuffle(Sequence[Random[10000, 99999], i, 1, 100]) → randomNos3, {97717, 52607, 87939, 63370, 61416, 81187, 59938, 54293, 92948, 43302, 80221, 28642, 28002, 71061, 53142, 84423, 99194, 76346, 28776, 57249, 35637, 11968, 94823, 22844, 22838, 78119, 39399, 73687, 38489, 78085, 62358, 24989, 87603, 83515, 70340, 63141, 55393, 99416, 60853, 70328, 15842, 90889, 83171, 66135, 79604, 44157, 74512, 97459, 59998, 34310, 97186, 44533, 96241, 30382, 82818, 15069, 45555, 49223, 31106, 45564, 72178, 41226, 41148, 85969, 39040, 65621, 65312, 34564, 50390, 94224, 23893, 57029, 24329, 58787, 10822, 88866, 41350, 56550, 85129, 87819, 44356, 12064, 87544, 36163, 85060, 86058, 56836, 82756, 79133, 89237, 36822, 48093, 56705, 72929, 94537, 19606, 67831, 58972, 97193, 69710}
  3. Shuffle(Sequence[Random[20000, 99999], i, 1, 100]) → randomNos1, {54797, 33023, 21483, 71363, 93459, 25208, 87615, 42700, 37984, 89902, 97601, 99480, 69832, 45373, 28034, 41269, 43980, 82219, 56361, 97182, 33554, 60835, 71742, 39161, 22790, 81590, 38724, 22625, 82206, 51370, 48194, 88224, 53433, 65584, 61031, 23794, 71124, 74582, 49586, 95260, 83296, 97613, 90258, 23431, 21778, 21437, 25093, 39431, 51702, 85947, 38592, 80267, 62487, 87077, 86958, 80508, 68020, 42417, 52933, 37302, 82406, 32214, 93357, 37365, 52003, 87427, 39420, 71508, 33163, 98423, 81272, 23145, 25992, 68577, 26555, 82010, 20802, 38111, 32407, 38749, 72446, 80208, 49212, 72100, 48374, 37576, 49613, 73053, 42631, 57662, 82072, 28667, 88806, 91003, 28598, 68163, 75988, 65768, 23925, 44243}
  4. Sequence(Random[10000, randomNos1(i) - 10000], i, 1, 100) → randomNos2, {17704, 19083, 10995, 47277, 48005, 10721, 66882, 12388, 17640, 78293, 54347, 57672, 31292, 29890, 12287, 22576, 33860, 31174, 29918, 22148, 16763, 19959, 42540, 27146, 10360, 20866, 17988, 10187, 66458, 22310, 23295, 24060, 23544, 50549, 27474, 11079, 11560, 44519, 22930, 55770, 28253, 76827, 32168, 11722, 11298, 10264, 13593, 11568, 10591, 59875, 27885, 36186, 42354, 69321, 18577, 53196, 15824, 29165, 32428, 23363, 35791, 15934, 19057, 25125, 28319, 56288, 22096, 24107, 20149, 12743, 55430, 10140, 10846, 32830, 12970, 41564, 10757, 13060, 10619, 16061, 44482, 64048, 19589, 55033, 29201, 23740, 14334, 34674, 19165, 42476, 18259, 15021, 67171, 57652, 13849, 30648, 33645, 42392, 12444, 24280}
  5. Element(randomNos3, Mod[questionCount, 100] + 1) → num3
  6. Element(randomNos2, Mod[questionCount, 100] + 1) → num2
  7. Element(randomNos1, Mod[questionCount, 100] + 1) → num1
  8. Reverse(Sequence[floor(Mod[result / 10^(i), 10]), i, 0, 5]) → dsResult
  9. Textfield(aInput) → InputBox1
  10. Textfield(bInput) → InputBox2
  11. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  12. Textfield(cInput) → InputBox3
  13. Textfield(dInput) → InputBox4
  14. Textfield(eInput) → InputBox5
  15. Textfield(fInput) → InputBox6
  16. Reverse(Sequence[floor(Mod[num1 / 10^(i), 10]), i, 0, 4]) → ds1
  17. Reverse(Sequence[floor(Mod[num2 / 10^(i), 10]), i, 0, 4]) → ds2
  18. Reverse(Sequence[floor(Mod[num3 / 10^(i), 10]), i, 0, 4]) → ds3
  19. Polygon(A2 + (dxFeedbackRect, 0), A2 + ((2 * dxFeedbackRect), (0 * dyFeedbackRect)), A2 + ((2 * dxFeedbackRect), (1 * dyFeedbackRect)), A2 + (dxFeedbackRect, (1 * dyFeedbackRect))) → q5, i, j, k, l
  20. Polygon(A2 + ((0 * dxFeedbackRect), (0 * dyFeedbackRect)), A2 + ((1 * dxFeedbackRect), (0 * dyFeedbackRect)), A2 + ((1 * dxFeedbackRect), (1 * dyFeedbackRect)), A2 + ((0 * dxFeedbackRect), (1 * dyFeedbackRect))) → q4, m, n, p, q
  21. Polygon(A + ((2 * dxFeedbackRect), 0), A + ((3 * dxFeedbackRect), (0 * dyFeedbackRect)), A + ((3 * dxFeedbackRect), (1 * dyFeedbackRect)), A + ((2 * dxFeedbackRect), (1 * dyFeedbackRect))) → q3, r, s, t, b
  22. Polygon(A + (dxFeedbackRect, 0), A + ((2 * dxFeedbackRect), (0 * dyFeedbackRect)), A + ((2 * dxFeedbackRect), (1 * dyFeedbackRect)), A + (dxFeedbackRect, (1 * dyFeedbackRect))) → q2, c, d, e, f_1
  23. Polygon(A + ((0 * dxFeedbackRect), (0 * dyFeedbackRect)), A + ((1 * dxFeedbackRect), (0 * dyFeedbackRect)), A + ((1 * dxFeedbackRect), (1 * dyFeedbackRect)), A + ((0 * dxFeedbackRect), (1 * dyFeedbackRect))) → q1, g_1, h_1, i_1, j_1

AI Drawing Prompt Reference

A dynamic column subtraction practice tool that randomly generates two five‑digit numbers as minuend and subtrahend, computes the difference and splits each into individual digits displayed in aligned columns. Below the problem six editable input boxes let the student enter each digit of the answer, and each box has an associated feedback rectangle that turns green for a correct digit and red for an incorrect one. A slider or button on the side refreshes the problem with new random numbers. The layout is clean, column‑aligned, and suitable for grades 5‑6 classroom demonstration and independent practice.
The prompt above was compiled from the original drawing commands and is for reference only.