Hit the Target - 3: A Probabilistic Shooting Simulation

Hit the Target - 3: A Probabilistic Shooting Simulation
Loading the math board and drawing, please wait…
2012-11-10 11:05
This example is a multi-ring target shooting simulation that illustrates probability calculations for hitting different regions, statistical analysis of hit distributions, centroid computation of hit points, and modeling with vectors, quadratic equations, conic sections, and polynomial functions. The GeoGebra construction uses Sequence to generate radii, Vector for shot directions, Translate to position objects, Segment for rays, Polygon to draw target rings, If to test hit conditions, and VerticalText to display scores. It is suitable for high school and early college courses in probability, statistics, geometry, and algebra.

GeoGebra Commands & Parameters

  1. Sequence(Random[-300, 300] / 100, k, 1, 1000) → l''
  2. Sequence(Random[-300, 300] / 100, k, 1, 1000) → l'
  3. Sequence((Element[l', k], Element[l'', k]), k, 1, n) → l'''
  4. Vector(J, K) → u
  5. Vector(J, H) → v
  6. Translate(J, Vector[2 * u * radio^(2) * π / 36]) → J'
  7. Translate(H, Vector[2 * u * radio^(2) * π / 36]) → H'
  8. Segment(J', H') → a
  9. Translate(A, Vector[2 * u * f10]) → A'
  10. Translate(B, Vector[2 * u * f25]) → B'
  11. Translate(C, Vector[2 * u * f50]) → C'
  12. Translate(D, Vector[2 * u * f100]) → D'
  13. Translate(E, Vector[2 * u * f300]) → E'
  14. Translate(F, Vector[2 * u * f600]) → F'
  15. Translate(G, Vector[2 * u * f1000]) → G'
  16. Segment(A', B') → b
  17. Segment(B', C') → c
  18. Segment(C', D') → d
  19. Segment(D', E') → e
  20. Segment(E', F') → f
  21. Segment(F', G') → g
  22. Polygon(I, L, M, N) → polígono1, i, l, m, n_1
  23. If(radio ≟ 1, 0.08726646259971647, 0.3490658503988659) → freal
  24. VerticalText("frecuencia") → texto16
  25. Polygon(O, P, Q, R) → polígono2, o, p, q, r_1