Equation of a Line Through Given Points

Equation of a Line Through Given Points
Loading the math board and drawing, please wait…
2019-02-05 23:03
This example demonstrates how to determine the equation of a line passing through two specified points. Core math concepts include linear equations, coordinate geometry, and the two-point form. GeoGebra commands and objects used in construction are Polygon, LaTeX, Element, Intersect, and Textfield. Suitable for high school students learning coordinate geometry.

GeoGebra Commands & Parameters

  1. Polygon({(-11, -11), (-11, 11), (11, 11), (11, -11)}) → viewBox
  2. LaTeX((((("\text{" * QUESTION) * "\\") * INSTRUCTIONS) * "}")) → TEXT
  3. Element(questionList, questionListIndex) → questionNum
  4. Intersect(B2, x = 0) → C2
  5. Intersect(B3, x = 0) → C3
  6. Intersect(B4, x = 0) → C4
  7. Intersect(B5, x = 0) → C5
  8. Intersect(B6, x = 0) → C6
  9. Intersect(B7, x = 0) → C7
  10. Element(A2:A7, questionNum) → givenFunction
  11. Element(B2:B7, questionNum) → targetFunction
  12. Element(C2:C7, questionNum) → targetPoint1
  13. Element(D2:D7, questionNum) → targetPoint2
  14. LaTeX("y=") → equationLabel
  15. Textfield(textUserFunction) → ansBoxEquation
  16. LaTeX(("y=" * targetFunction)) → solution