Linear Function Practice by David Cox

Linear Function Practice by David Cox
Loading the math board and drawing, please wait…
2011-12-06 17:06
This is a student practice version of the Linear Function applet. It includes 'Reset' and 'Next Level' buttons for students to choose their level. The example covers core concepts of linear functions and uses GeoGebra commands such as RandomElement, Line, Random, etc., suitable for middle school and above students.

GeoGebra Commands & Parameters

  1. RandomElement({-8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8}) → a
  2. RandomElement({-8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8}) → b
  3. RandomElement({-8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8}) → c
  4. RandomElement({-8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8}) → d
  5. Line(G, H) → n
  6. Line(E, B) → k
  7. Line(A, B) → e
  8. Line(C, D) → h
  9. Random(1, 20) → n1
  10. Random(1, 20) → n2
  11. Random(1, 20) → n3
  12. Random(1, 20) → n4
  13. Random(1, 20) → n5
  14. Random(1, 20) → nx
  15. Cell(2, ActualLevel + 1) → LevelTotal
  16. Textfield(AnswerNum) → inputBox1
  17. If(e ≟ h ∧ g ∧ (C ≠ D), true, false) → C2
  18. If(e ≟ h ∧ g ∧ ActualLevel ≟ 2, true, false) → C3
  19. If(e ≟ j ∧ ActualLevel ≟ 3 ∧ g, true, false) → C4
  20. If(e ≟ j ∧ ActualLevel ≟ 4 ∧ g, true, false) → C5
  21. If(k ≟ j ∧ ActualLevel ≟ 5 ∧ g, true, false) → C6
  22. If(k ≟ j ∧ ActualLevel ≟ 6 ∧ g, true, false) → C7
  23. If(j ≟ n ∧ ActualLevel ≟ 7 ∧ g, true, false) → C8
  24. FractionText(abs(y(B) / x(A))) → text1
  25. If(y(B) < 0, "-", "+") → Text3
  26. If(y(B) / x(A) > 0, "-", "") → text4
  27. Textfield(j) → inputBox2
  28. FractionText(abs(y(B) / x(A))) → absslope
  29. Slope(k) → m
  30. FractionText(abs(m)) → text8
  31. Text(If[m < 0, "-", ""]) → text9
  32. If((C2 ≟ false ∧ ActualLevel ≟ 1 ∨ C3 ≟ false ∧ ActualLevel ≟ 2 ∨ C4 ≟ false ∧ ActualLevel ≟ 3 ∨ C5 ≟ false ∧ ActualLevel ≟ 4 ∨ C6 ≟ false ∧ ActualLevel ≟ 5 ∨ C7 ≟ false ∧ ActualLevel ≟ 6 ∨ C8 ≟ false ∧ ActualLevel ≟ 7) ∧ g, true, false) → AnswerWrong
  33. If(C2 ≟ true ∧ ActualLevel ≟ 1 ∨ C3 ≟ true ∧ ActualLevel ≟ 2 ∨ C4 ≟ true ∧ ActualLevel ≟ 3 ∨ C5 ≟ true ∧ ActualLevel ≟ 4 ∨ C6 ≟ true ∧ ActualLevel ≟ 5 ∨ C7 ≟ true ∧ ActualLevel ≟ 6 ∨ C8 ≟ true ∧ ActualLevel ≟ 7, true, false) → AnswerCorrect
  34. RandomElement({-8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8}) → o

AI Drawing Prompt Reference

Draw two lines, one with a positive slope and one with a negative slope. Randomly generate four points A, B, C, and D, and draw a line e through points A and B, and a line h through points C and D. Generate a random number n and draw a line k through point B and n. Based on the position relationships, determine if lines e and h are parallel, if e and k are parallel, if k and n are parallel, and if h and n are parallel. Provide correct or incorrect feedback based on the results.
The prompt above was compiled from the original drawing commands and is for reference only.