Vectors in Naval Battle

Vectors in Naval Battle
Loading the math board and drawing, please wait…
2020-01-31 00:57
This example simulates vector movements in a naval battle to demonstrate basic vector concepts and operations. It involves vector addition, subtraction, and logical operations. Using GeoGebra commands such as Vector, plusk, and If, users can intuitively understand the geometric meaning and operational rules of vectors. Suitable for students at the junior high school level and above to learn the basics of vector knowledge.

GeoGebra Commands & Parameters

  1. Random(-6, 6) → a
  2. Vector((0, 0), (0, 0.07)) → z
  3. Vector((0, 0), (0.055, 0)) → w
  4. Vector((0, 0), (1, 0)) → c
  5. Vector((0, 0), (0, 1)) → d_1
  6. wybuch(C, Vector[(4 * w)], Vector[(2 * z)]) → poly1
  7. plusk(C) → liste5
  8. If(total ≟ 0, 0, round((100 * reussi / total))) → taux
  9. Textfield(m) → Textechamp
  10. Textfield(n) → ChampTexte1
  11. Vector(A, B) → e
  12. Element(liste2, 4) → PP
  13. Sequence(Segment[(Element[liste2, i], -10), (Element[liste2, i], 10)], i, 1, Length[liste2]) → liste3
  14. Sequence(Segment[(-10, Element[liste2, i]), (10, Element[liste2, i])], i, 1, Length[liste2]) → liste4
  15. Vector((-10, 0), (10, 0)) → u
  16. Vector((0, -10), (0, 10)) → v
  17. Polygon(AA, BB, 4) → poly2, aa, bb, g, h, E, F
  18. Polygon(J, G, H, I) → poly3, j_1, g_1, h_1, i_1
  19. Polygon(K, L, M, N) → poly4, k, l, m_1, n_1
  20. Vector(O, P) → q
  21. Line(O, xAxis) → r
  22. Line(P, yAxis) → s
  23. Intersect(r, s) → Q
  24. Vector(R, S) → t
  25. Line(R, xAxis) → a_1
  26. Line(S, bb) → b_1
  27. Intersect(b_1, a_1) → T
  28. Segment(O, Q) → c_1
  29. Segment(P, Q) → e_1
  30. Segment(T, R) → f_1
  31. Segment(T, S) → k_1
  32. Vector(U, V) → u_1
  33. Line(U, xAxis) → l_1
  34. Line(V, bb) → p_1
  35. Intersect(p_1, l_1) → W
  36. Segment(U, W) → q_1
  37. Segment(W, V) → r_1
  38. Midpoint(c_1) → Z
  39. Midpoint(f_1) → A_1
  40. Midpoint(k_1) → B_1
  41. Midpoint(q_1) → C_1
  42. Midpoint(r_1) → D_1
  43. Midpoint(e_1) → E_1
  44. Segment(E - (0, 1.4), F - (0, 1.4)) → s_1