Graphing Linear Functions (II)

Graphing Linear Functions (II)
Loading the math board and drawing, please wait…
2017-11-12 17:31
This example demonstrates how to calculate y coordinates based on a linear equation. Students can input x values and manually compute and verify the y values. Commands used include Vector, Segment, Textfield, Polygon, Point, Translate, Rotate, If, Coefficients, Sequence, etc. Suitable for middle school and above students to learn about the graph and properties of linear functions.

GeoGebra Commands & Parameters

  1. Vector(R_S, R_{Sp}) → u
  2. Segment(F, S) → a
  3. Segment(H, T) → b
  4. Segment(T, S) → c
  5. Segment(H, F) → d
  6. Segment(I, J) → e
  7. Textfield(l) → inputBox1
  8. Textfield(n) → inputBox3
  9. Textfield(p) → inputBox5
  10. Textfield(q) → inputBox6
  11. Textfield(r) → inputBox7
  12. Polygon(G, M, N, L) → poly1, g, m_1, n_1, l_1
  13. Segment(K, O) → h
  14. Segment(P, W) → i
  15. Segment(R, F_1) → k
  16. Segment(U, G_1) → s
  17. Segment(V, H_1) → t
  18. Segment(I_1, J_1) → a_1
  19. Segment(K_1, L_1) → b_1
  20. Point(g) → M_1
  21. Segment(N_1, E_1) → d_1
  22. Segment(Q, E_1) → j
  23. Translate(R_E, u) → R_{Ep}
  24. Translate(ruleroriginal, u) → ruleroriginal'
  25. Rotate(ruleroriginal', α, R_{Sp}) → ruleroriginal''
  26. If(Z_p ≟ A, LaTeX[textcheckmark], Text[A]) → textZ_p
  27. If(D_p ≟ E, LaTeX[textcheckmark], Text[E]) → textD_p
  28. If(C_p ≟ D, LaTeX[textcheckmark], Text[D]) → textC_p
  29. If(B_p ≟ C, LaTeX[textcheckmark], Text[C]) → textB_p
  30. If(A_p ≟ B, LaTeX[textcheckmark], Text[B]) → textA_p
  31. Rotate(R_{Ep}, α, R_{Sp}) → R_{Epr}
  32. Coefficients(Element[listfunctions, count]) → coeffs
  33. Textfield(text3) → InputBox1
  34. Textfield(text5) → InputBox2
  35. Sequence("y=" + (Text[Element[listfunctions, i]]), i, 1, 5) → l2

AI Drawing Prompt Reference

Draw a linear function graph where you input x values to calculate y values. First, draw segments a and b, then draw a line through points F and S. Next, draw quadrilateral G, M, N, L and segments h, i, k, s, t, a_1, b_1. Rotate segments and calculate y values based on input, and finally add text boxes to display the results.
The prompt above was compiled from the original drawing commands and is for reference only.