Number Line Addition and Subtraction

Number Line Addition and Subtraction
Loading the math board and drawing, please wait…
2018-12-18 21:00
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

  1. Textfield(a) → InputBox1
  2. Textfield(b) → InputBox2
  3. If(b ≥ 0, (a + 1 - c, 0.25), (a + 1 + c, 0.25)) → C
  4. If(b ≥ 0, (a - 1 - c, 0.25), (a - 1 + c, 0.25)) → B
  5. If(b ≥ 0, (a - c, 0.25), (a + c, 0.25)) → R
  6. If(b ≥ 0, (a + c, 0.25), (a - c, 0.25)) → Q
  7. If(b ≥ 0, (a - 1 + c, 0.25), (a - 1 - c, 0.25)) → D
  8. If(b ≥ 0, (a + 1 + c, 0.25), (a + 1 - c, 0.25)) → E