Account Balance, Debt, and Account Balance
Loading the math board and drawing, please wait…
In collections
Ordnen und Vergleichen von ganzen Zahlen
This example demonstrates how to use GeoGebra to show the relationship between account balance, debt, and account balance. The core math concepts involved include comparing and ordering integers, as well as interpreting integers in non-mathematical situations. The construction points include using GeoGebra commands/objects such as Join, If, Element, Sequence, IndexOf, Point, Textfield, and Polygon. It is suitable for 5-6 grade students' integer operations and comparisons.
GeoGebra Commands & Parameters
Join({Shuffle[{1, 2, 3}], Shuffle[{4, 5, 6}], Shuffle[{7, 8}]}) → NosCaseIf(numCase ≟ 1 ∨ numCase ≟ 2 ∨ numCase ≟ 3, Shuffle[Sequence[Random[1, 3], i, 1, 100]], If[numCase ≟ 4 ∨ numCase ≟ 5 ∨ numCase ≟ 6, Shuffle[Sequence[Random[1, 1], i, 1, 100]], If[numCase ≟ 7 ∨ numCase ≟ 8, Shuffle[Sequence[Random[1, 4], i, 1, 100]]]]) → randomNosPositionAnswerCorrect1If(numCase ≟ 1 ∨ numCase ≟ 2 ∨ numCase ≟ 3, Sequence[RandomElement[Remove[Sequence[3], {randomNosPositionAnswerCorrect1(i)}]], i, 1, 100], If[numCase ≟ 4 ∨ numCase ≟ 5 ∨ numCase ≟ 6, Shuffle[Sequence[Random[2, 2], i, 1, 100]], If[numCase ≟ 7 ∨ numCase ≟ 8, Sequence[RandomElement[Remove[Sequence[4], {randomNosPositionAnswerCorrect1(i)}]], i, 1, 100]]]) → randomNosPositionAnswerWrong1If(numCase ≟ 1 ∨ numCase ≟ 2 ∨ numCase ≟ 3, Sequence[RandomElement[Remove[Remove[Sequence[3], {randomNosPositionAnswerCorrect1(i)}], {randomNosPositionAnswerWrong1(i)}]], i, 1, 100], If[numCase ≟ 4 ∨ numCase ≟ 5 ∨ numCase ≟ 6, Shuffle[Sequence[Random[1, 1], i, 1, 100]], If[numCase ≟ 7 ∨ numCase ≟ 8, Sequence[RandomElement[Remove[Remove[Sequence[4], {randomNosPositionAnswerCorrect1(i)}], {randomNosPositionAnswerWrong1(i)}]], i, 1, 100]]]) → randomNosPositionAnswerWrong2Element(randomNosPositionAnswerCorrect1, Mod[questionCount, 100] + 1) → numPositionAnswerCorrect1Element(randomNosPositionAnswerWrong1, Mod[questionCount, 100] + 1) → numPositionAnswerWrong1Element(randomNosPositionAnswerWrong2, Mod[questionCount, 100] + 1) → numPositionAnswerWrong2If(numCase ≟ 7, correctCases7, correctCasesOther) → correctCasesSequence(RandomElement[Remove[Remove[Remove[Sequence[4], {randomNosPositionAnswerCorrect1(i)}], {randomNosPositionAnswerWrong1(i)}], {randomNosPositionAnswerWrong2(i)}]], i, 1, 100) → randomNosPositionAnswerWrong3, {4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4}Element(randomNosPositionAnswerWrong3, Mod[questionCount, 100] + 1) → numPositionAnswerWrong3IndexOf(true, checkboxes) → SelectedCheckboxPoint(Line[F11, Vector[(0, 0), (0, -1.2)]]) → F21Textfield(aInput) → InputBox1Textfield(bInput) → InputBox2If(numCase ≟ 7 ∨ numCase ≟ 8, correctCases(1) ≟ checkboxes(1) ∧ correctCases(2) ≟ checkboxes(2) ∧ correctCases(3) ≟ checkboxes(3) ∧ correctCases(4) ≟ checkboxes(4), If[numCase ≟ 4, checkboxes(1), If[numCase ≟ 5 ∨ numCase ≟ 6, checkboxes(2), If[numCase ≟ 1 ∨ numCase ≟ 3, checkboxes(2), If[numCase ≟ 2, checkboxes(1)]]]]) → correctPolygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackPolygon(PtopLeftCornerFeedback1, PbottomLeftCornerFeedback1, PbottomRightCornerFeedback1, PtopRightCornerFeedback1) → rectangleCorrect1, i, j_1, k_1, l_1Polygon(PtopLeftCornerFeedback2, PbottomLeftCornerFeedback2, PbottomRightCornerFeedback2, PtopRightCornerFeedback2) → rectangleCorrect2, i_1, j_2, k_2, l_2If((numCase ≟ 1 ∨ numCase ≟ 3) ∧ checkbox1_1 ≟ true, false, If[numCase ≟ 2 ∧ checkbox1_1 ≟ true, true, If[numCase ≟ 8 ∧ numPositionAnswerCorrect1 ≟ 1 ∧ checkbox1_1 ≟ true, true, If[numCase ≟ 4 ∧ checkbox1_1 ≟ true, true, If[numCase ≟ 7 ∧ (numPositionAnswerCorrect1 ≟ 1 ∨ numPositionAnswerWrong1 ≟ 1 ∨ numPositionAnswerWrong2 ≟ 1) ∧ checkbox1_1 ≟ true, true, false]]]]) → c1If((numCase ≟ 1 ∨ numCase ≟ 3) ∧ checkbox2_1 ≟ true, true, If[numCase ≟ 2 ∧ checkbox2_1 ≟ true, false, If[numCase ≟ 8 ∧ numPositionAnswerCorrect1 ≟ 2 ∧ checkbox2_1 ≟ true, true, If[(numCase ≟ 5 ∨ numCase ≟ 6) ∧ checkbox2_1 ≟ true, true, If[numCase ≟ 7 ∧ (numPositionAnswerCorrect1 ≟ 2 ∨ numPositionAnswerWrong1 ≟ 2 ∨ numPositionAnswerWrong2 ≟ 2) ∧ checkbox2_1 ≟ true, true, false]]]]) → c2If((numCase ≟ 1 ∨ numCase ≟ 2 ∨ numCase ≟ 3) ∧ checkbox3_1 ≟ true, false, If[numCase ≟ 8 ∧ numPositionAnswerCorrect1 ≟ 3 ∧ checkbox3_1 ≟ true, true, If[numCase ≟ 7 ∧ (numPositionAnswerCorrect1 ≟ 3 ∨ numPositionAnswerWrong1 ≟ 3 ∨ numPositionAnswerWrong2 ≟ 3) ∧ checkbox3_1 ≟ true, true, false]]) → c3Join({Shuffle[{1, 2, 3}], Shuffle[{4, 5, 6}], Shuffle[{7, 8}]}) → randomNosCaseIf(numCase ≟ 8 ∧ numPositionAnswerCorrect1 ≟ 4 ∧ checkbox4_1 ≟ true, true, If[numCase ≟ 7 ∧ (numPositionAnswerCorrect1 ≟ 4 ∨ numPositionAnswerWrong1 ≟ 4 ∨ numPositionAnswerWrong2 ≟ 4) ∧ checkbox4_1 ≟ true, true, false]) → c4Polygon(PtopLeftCornerFeedback3, PbottomLeftCornerFeedback3, PbottomRightCornerFeedback3, PtopRightCornerFeedback3) → rectangleCorrect3, ptopleftcornerfeedback3, pbottomleftcornerfeedback3, pbottomrightcornerfeedback3, ptoprightcornerfeedback3If(numCase ≟ 1 ∨ numCase ≟ 2 ∨ numCase ≟ 3, 2, If[numCase ≟ 4 ∨ numCase ≟ 5 ∨ numCase ≟ 6, 1, 3]) → versuche
AI Drawing Prompt Reference
Draw an interactive teaching interface for integer comparison practice. Include two input boxes for entering account balance and debt values. Below them, place four checkboxes corresponding to different answer choices. Based on a randomly generated question type, among the four answer positions, one is correct and three are wrong; highlight the correct position with a green rectangle and mark wrong ones with red rectangles. Display the current question number and attempt count at the top. Arrange all elements neatly on a light background, suitable for elementary school students.
The prompt above was compiled from the original drawing commands and is for reference only.