Slope Demonstration

Slope Demonstration
Loading the math board and drawing, please wait…
2016-04-17 09:30
This example dynamically illustrates the concept of slope. Key mathematical concepts include slope, coordinate system, and vector. It uses commands like PointIn, Line, Point, If, Polygon, Vector, and Slope in GeoGebra. Suitable for middle school and above students to learn about slope and coordinate geometry.

GeoGebra Commands & Parameters

  1. PointIn(x ≥ x(A)) → B
  2. Line(A, B) → f
  3. Point(Segment[A, B]) → C
  4. If(y(B) ≥ y(A), (x(B), y(A)), (x(A), y(B))) → D
  5. Polygon(A, D, B) → t1, b, a, d
  6. Vector(A, D) → u
  7. Vector(D, B) → v
  8. If(y(B) ≥ y(A), Midpoint[D, B], Midpoint[A, D]) → E
  9. If(y(B) ≥ y(A), Midpoint[A, D], Midpoint[D, B]) → F
  10. Slope(Line[A, B]) → h
  11. Numerator(h) → i
  12. Denominator(h) → j
  13. If(y(B) ≥ y(A), C + (j, 0), C + (0, i)) → G
  14. If(y(B) ≥ y(A), G + (0, i), G + (j, 0)) → H
  15. Polygon(C, G, H) → t2, h_1, c_1, g_1
  16. Vector(C, G) → w
  17. Vector(G, H) → k
  18. If(y(B) ≥ y(A), Midpoint[C, G], Midpoint[G, H]) → I
  19. If(y(B) ≥ y(A), Midpoint[G, H], Midpoint[G, C]) → J
  20. RotateText(text1, atand(Slope[f])) → text2
  21. RotateText(text5, atand(Slope[f])) → text3

AI Drawing Prompt Reference

Draw a coordinate system with point A and point B on the right side of A. Draw a line f through points A and B. Take a point C on the line segment AB. Construct a parallelogram t1 based on points A and B. Draw vectors u and v from A to D and from D to B. Construct points E and F as the midpoints of line segments AD and DB. Calculate the slope h of line AB and decompose it into numerator i and denominator j. Construct points G and H based on the slope h, located on opposite sides of line AB. Draw vectors w and k from C to G and from G to H. Construct points I and J as the midpoints of line segments CG and GH. Finally, rotate text to display the angle of the slope.
The prompt above was compiled from the original drawing commands and is for reference only.