Contour Lines

Contour Lines
Loading the math board and drawing, please wait…
2016-01-28 13:23
This example demonstrates how to create a contour lines graph. It involves the core math concepts of functions and geometric shapes. The construction points include using GeoGebra commands Polygon, PolyLine, Point, Translate, Segment, If, and Angle. It is suitable for middle school or high school math classes, particularly for explaining functions and geometric shapes concepts.

GeoGebra Commands & Parameters

  1. Polygon(Q, R, S, T, U, V, W, Z) → poly3, q, r, s, t, u, v, w, z_1
  2. Polygon(I, J, K, L, M, N, O, P) → poly2, i, j, k, l, m, n, o, p
  3. Polygon(A, B, C, D, E, F, G, H) → poly1, a, b, c, d, e, f, g, h_1
  4. PolyLine(A, B, C, D, E, F, G, H) → a_1
  5. PolyLine(I, J, K, L, M, N, O, P) → b_1
  6. PolyLine(Q, R, S, T, U, V, W, Z) → c_1
  7. Point(list1) → A_1
  8. Translate(A, Vector[(0, 0, (2 * h))]) → A'
  9. Translate(B, Vector[(0, 0, (2 * h))]) → B'
  10. Translate(C, Vector[(0, 0, (2 * h))]) → C'
  11. Translate(D, Vector[(0, 0, (2 * h))]) → D'
  12. Translate(E, Vector[(0, 0, (2 * h))]) → E'
  13. Translate(F, Vector[(0, 0, (2 * h))]) → F'
  14. Translate(G, Vector[(0, 0, (2 * h))]) → G'
  15. Translate(H, Vector[(0, 0, (2 * h))]) → H'
  16. Polygon(A', B', C', D', E', F', G', H') → poly1', a', b', c', d', e', f', g', h'
  17. Translate(I, Vector[(0, 0, h)]) → I'
  18. Translate(J, Vector[(0, 0, h)]) → J'
  19. Translate(K, Vector[(0, 0, h)]) → K'
  20. Translate(L, Vector[(0, 0, h)]) → L'
  21. Translate(M, Vector[(0, 0, h)]) → M'
  22. Translate(N, Vector[(0, 0, h)]) → N'
  23. Translate(O, Vector[(0, 0, h)]) → O'
  24. Translate(P, Vector[(0, 0, h)]) → P'
  25. Polygon(I', J', K', L', M', N', O', P') → poly2', i', j', k', l', m', n', o', p'
  26. Point(list1) → A_2
  27. Segment(A_2, A_1) → d_1
  28. Segment(A_2', A_1') → e_1
  29. If(z(A_1') > z(A_2'), (x(A_1'), y(A_1'), z(A_2')), (x(A_2'), y(A_2'), z(A_1'))) → D_1
  30. Segment(A_1', D_1) → f_1
  31. Segment(A_2', D_1) → g_1
  32. If(z(A_1') > z(A_2'), Angle[A_1', A_2', D_1], Angle[A_2', A_1', D_1]) → θ
  33. Angle(A_1', D_1, A_2') → β

AI Drawing Prompt Reference

Draw a contour map of a triangle. Start by drawing a triangle, then create a series of parallel contour lines around it. Next, shift the triangle upwards to create a second triangle, and connect corresponding vertices with line segments. Finally, mark the angles based on the height difference.
The prompt above was compiled from the original drawing commands and is for reference only.