Writing Equations from Tables by Matthew Zeigler

Writing Equations from Tables by Matthew Zeigler
Loading the math board and drawing, please wait…
2015-02-04 03:47
This example demonstrates how to represent data from tables using equations. Core math concepts include functions, coordinate geometry, and equation representation. GeoGebra commands and objects like If, FractionText, Random, and TableText are used to construct the example, with buttons and parameters controlling equation display and manipulation. Suitable for middle school and above students learning about function graphs and equation representation.

GeoGebra Commands & Parameters

  1. If(b6 < 0, " - ", " + ") → sign6
  2. If(b6 < 0, FractionText[(-b6)], FractionText[b6]) → b6ForText
  3. If(precoef6 ≟ 0, Random[1, 10], precoef6) → coef6
  4. FractionText(coef6) → textCoef6
  5. If(b5 < 0, " - ", " + ") → sign5
  6. If(b5 < 0, FractionText[(-b5)], FractionText[b5]) → b5ForText
  7. If(precoef5 ≟ 0, Random[1, 10], precoef5) → coef5
  8. FractionText(coef5) → textCoef5
  9. If(b4 < 0, " - ", " + ") → sign4
  10. If(b4 < 0, FractionText[(-b4)], FractionText[b4]) → b4ForText
  11. If(precoef4 ≟ 0, Random[1, 10], precoef4) → coef4
  12. FractionText(coef4) → textCoef4
  13. If(b3 < 0, " - ", " + ") → sign3
  14. If(b3 < 0, FractionText[(-b3)], FractionText[b3]) → b3ForText
  15. If(precoef3 ≟ 0, Random[1, 10], precoef3) → coef3
  16. FractionText(coef3) → textCoef3
  17. If(b2 < 0, " - ", " + ") → sign2
  18. If(b2 < 0, FractionText[(-b2)], FractionText[b2]) → b2ForText
  19. If(precoef2 ≟ 0, Random[1, 10], precoef2) → coef2
  20. FractionText(coef2) → textCoef2
  21. If(b1 < 0, " - ", " + ") → sign1
  22. If(b1 < 0, FractionText[(-b1)], FractionText[b1]) → b1ForText
  23. If(precoef1 ≟ 0, Random[1, 10], precoef1) → coef1
  24. FractionText(coef1) → textCoef1
  25. Random(1, 10) → intervalX1
  26. Random(1, 10) → intervalX2
  27. Random(1, 10) → intervalX3
  28. Random(1, 10) → intervalX4
  29. Random(1, 10) → intervalX5
  30. Random(1, 10) → intervalX6
  31. If(ShowAnswers ≟ false, "y", yText1) → B1
  32. FractionText((A2 * coef1) + b1) → B2
  33. FractionText((A3 * coef1) + b1) → B3
  34. FractionText((A4 * coef1) + b1) → B4
  35. FractionText((A5 * coef1) + b1) → B5
  36. FractionText((A6 * coef1) + b1) → B6
  37. FractionText((A7 * coef1) + b1) → B7
  38. TableText({{A1, B1}, {A2, B2}, {A3, B3}, {A4, B4}, {A5, B5}, {A6, B6}, {A7, B7}}, "|_") → Table1
  39. If(ShowAnswers ≟ false, "y", yText2) → E1
  40. FractionText((coef2 * D2) + b2) → E2
  41. FractionText((coef2 * D3) + b2) → E3
  42. FractionText((coef2 * D4) + b2) → E4
  43. FractionText((coef2 * D5) + b2) → E5
  44. FractionText((coef2 * D6) + b2) → E6
  45. FractionText((coef2 * D7) + b2) → E7
  46. If(ShowAnswers ≟ false, "y", yText3) → H1
  47. FractionText((G2 * coef3) + b3) → H2
  48. FractionText((G3 * coef3) + b3) → H3
  49. FractionText((G4 * coef3) + b3) → H4
  50. FractionText((G5 * coef3) + b3) → H5
  51. FractionText((G6 * coef3) + b3) → H6
  52. FractionText((G7 * coef3) + b3) → H7
  53. If(ShowAnswers ≟ false, "y", yText4) → K1
  54. FractionText((J2 * coef4) + b4) → K2
  55. FractionText((J3 * coef4) + b4) → K3
  56. FractionText((J4 * coef4) + b4) → K4
  57. FractionText((J5 * coef4) + b4) → K5
  58. FractionText((J6 * coef4) + b4) → K6
  59. FractionText((J7 * coef4) + b4) → K7
  60. If(ShowAnswers ≟ false, "y", yText5) → N1
  61. FractionText((M2 * coef5) + b5) → N2
  62. FractionText((M3 * coef5) + b5) → N3
  63. FractionText((M4 * coef5) + b5) → N4
  64. FractionText((M5 * coef5) + b5) → N5
  65. FractionText((M6 * coef5) + b5) → N6
  66. FractionText((M7 * coef5) + b5) → N7
  67. If(ShowAnswers ≟ false, "y", yText6) → Q1
  68. FractionText((P2 * coef6) + b6) → Q2
  69. FractionText((P3 * coef6) + b6) → Q3
  70. FractionText((P4 * coef6) + b6) → Q4
  71. FractionText((P5 * coef6) + b6) → Q5
  72. FractionText((P6 * coef6) + b6) → Q6
  73. FractionText((P7 * coef6) + b6) → Q7
  74. TableText({{D1, E1}, {D2, E2}, {D3, E3}, {D4, E4}, {D5, E5}, {D6, E6}, {D7, E7}}, "|_") → Table2
  75. TableText({{G1, H1}, {G2, H2}, {G3, H3}, {G4, H4}, {G5, H5}, {G6, H6}, {G7, H7}}, "|_") → Table3
  76. TableText({{J1, K1}, {J2, K2}, {J3, K3}, {J4, K4}, {J5, K5}, {J6, K6}, {J7, K7}}, "|_") → Table4
  77. TableText({{M1, N1}, {M2, N2}, {M3, N3}, {M4, N4}, {M5, N5}, {M6, N6}, {M7, N7}}, "|_") → Table5
  78. TableText({{P1, Q1}, {P2, Q2}, {P3, Q3}, {P4, Q4}, {P5, Q5}, {P6, Q6}, {P7, Q7}}, "|_") → Table6

AI Drawing Prompt Reference

Draw a function graph with 6 points and a line. The x-coordinates of the points are 1 to 7, and the y-coordinates are determined by coefficients and constants. The slope and y-intercept of the line are defined by the coefficients, showing positive or negative signs and fractional forms. Randomly generate coefficients and intercepts, and hide the formula when showing answers.
The prompt above was compiled from the original drawing commands and is for reference only.