Write the Equation of a Line Given a Graph

Write the Equation of a Line Given a Graph
Loading the math board and drawing, please wait…
2016-10-03 21:20
This example provides practice for students to write the equation of a line given a graph, with an integer y-intercept. It uses commands like RandomElement, Random, and Line. Suitable for middle school and above students.

GeoGebra Commands & Parameters

  1. RandomElement(klist) → krand
  2. Random(-10, 10) → b
  3. RandomElement(xmovelist) → randx
  4. RandomElement(ymovelist) → randy
  5. Line(A, B) → f
  6. FractionText(Slope[f]) → text1
  7. Intersect(h, i) → C
  8. Segment(A, C) → j
  9. Segment(C, B) → k
  10. Polygon(A, C, B) → poly1, b_1, a_1, c_1
  11. Textfield(l) → InputBox1

AI Drawing Prompt Reference

Draw a line with an integer y-intercept. First, randomly select an integer for the y-intercept b, then choose random x and y translation values to determine points A and B. Draw the line f and display its slope. Finally, draw a triangle connecting points A, C, and B, where point C is the intersection of line f and the x-axis.
The prompt above was compiled from the original drawing commands and is for reference only.