Number Line Addition and Subtraction
Loading the math board and drawing, please wait…
This example demonstrates addition and subtraction using a number line. Key math concepts include addition and subtraction. It uses commands: Textfield, If, InputBox, Button, Picture. Suitable for high-grade elementary or junior high school students to learn addition and subtraction.
GeoGebra Commands & Parameters
Textfield(a) → InputBox1Textfield(b) → InputBox2If(b ≥ 0, (a + 1 - c, 0.25), (a + 1 + c, 0.25)) → CIf(b ≥ 0, (a - 1 - c, 0.25), (a - 1 + c, 0.25)) → BIf(b ≥ 0, (a - c, 0.25), (a + c, 0.25)) → RIf(b ≥ 0, (a + c, 0.25), (a - c, 0.25)) → QIf(b ≥ 0, (a - 1 + c, 0.25), (a - 1 - c, 0.25)) → DIf(b ≥ 0, (a + 1 + c, 0.25), (a + 1 - c, 0.25)) → E