Writing Linear Equations (II) - B Not Obvious

Writing Linear Equations (II) - B Not Obvious
Loading the math board and drawing, please wait…
2016-04-23 09:17
This example demonstrates how to write the slope-intercept form of a line equation passing through two points. It involves core math concepts like linear equations, slope, and y-intercept. Constructed using GeoGebra commands/objects such as Sequence, RandomElement, Union, Random, Line, Textfield, Intersect, Polygon, Segment, FractionText. Suitable for high school students learning coordinate geometry.

GeoGebra Commands & Parameters

  1. Sequence(i, i, -10, 10, 1) → a_1
  2. RandomElement(a_1) → a
  3. Sequence(i, i, -10, a - 1, 1) → aleft
  4. Sequence(i, i, a + 1, 10, 1) → aright
  5. Union(aleft, aright) → aleftplusright
  6. Random(-8, 8) → b_1
  7. Line(A, B) → b
  8. Textfield(mguess) → InputBox1
  9. Textfield(bguess) → InputBox2
  10. Intersect(e, f) → C
  11. Polygon(B, A, C) → poly1, c_1, b_2, a_2
  12. Segment(B, C) → g
  13. Segment(C, A) → h
  14. FractionText(mguess) → text3
  15. FractionText(bguess) → text4
  16. FractionText(b(0)) → text7
  17. Line(A, B) → j

AI Drawing Prompt Reference

Draw a line passing through two random points A and B. First, generate a sequence of integers from -10 to 10 and randomly select one as the slope m of the line. Then, create two sequences for the x-intercept b, one from -10 to m-1 and the other from m+1 to 10. Use points A and B to construct line b, and prompt the user to input the slope m and y-intercept b in the input boxes. Finally, construct a triangle with points A, B, and the intersection point C of line b with the x-axis, and display the fractional forms of the slope and y-intercept.
The prompt above was compiled from the original drawing commands and is for reference only.