Explore the Slope and Intercept of a Line

Explore the Slope and Intercept of a Line
Loading the math board and drawing, please wait…
2019-02-06 03:20
This example dynamically demonstrates the concepts of slope and intercept of a line. Key mathematical concepts include the slope and intercept of a line. GeoGebra commands used include Polygon, PointIn, Line, Midpoint, Vector, etc. Suitable for middle school and above students to learn linear equations and geometric construction.

GeoGebra Commands & Parameters

  1. Polygon({(-11, -11), (-11, 11), (11, 11), (11, -11)}) → viewBox
  2. LaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXT
  3. Polygon({(3, 3), (3, 9), (10, 9), (10, 3)}) → quad1
  4. Polygon({(-3, -3), (-3, -9), (-10, -9), (-10, -3)}) → quad3
  5. PointIn(quad3) → point1
  6. PointIn(quad1) → point2
  7. Line(point1, point2) → theLine
  8. Midpoint(point1, point1 + (0, rise)) → midRise
  9. Midpoint(point1, point1 + (run, 0)) → midRun
  10. Vector(point1, (x(point1), y(point2))) → riseLine
  11. Vector(point1, (x(point2), y(point1))) → runLine
  12. LaTeX(hor1) → labelHor1
  13. LaTeX(hor2) → labelHor2
  14. LaTeX(ver2) → labelVer2
  15. LaTeX(ver1) → labelVer1
  16. LaTeX(point1) → labelPoint1
  17. LaTeX(point2) → labelPoint2
  18. LaTeX((("\text{RISE=\(" * rise) * "\)}")) → labelRise
  19. LaTeX((("\text{RUN=\(" * run) * "\)}")) → labelRun