Throwing Ball on Different Planets

Throwing Ball on Different Planets
Loading the math board and drawing, please wait…
2014-04-30 05:06
Change the planet, initial speed, and initial height to see the how long the ball will be in the air and how high it will go. Demonstrates parabolic trajectories, involving gravity, speed, and height. Constructed using GeoGebra commands such as angle, point, polygon, circle, segment, and if statement. Suitable for middle and high school physics and mathematics education.

GeoGebra Commands & Parameters

  1. Corner(3) → cornerUR2
  2. Corner(2) → cornerBR2
  3. Point({time + (timeBoundRight - timeBoundLeft) / 100, y(cornerBR2)}) → rightShadeLowerLeftCorner
  4. Point({time + (timeBoundRight - timeBoundLeft) / 100, y(cornerUR2)}) → rightShadeUpperLeftCorner
  5. Corner(4) → cornerUL2
  6. Corner(1) → cornerBL2
  7. Point({time - (timeBoundRight - timeBoundLeft) / 100, y(cornerBL2)}) → leftShadeLowerRightCorner
  8. Point({time - (timeBoundRight - timeBoundLeft) / 100, y(cornerUL2)}) → leftShadeUpperRightCorner
  9. Corner(1) → K
  10. Polygon((-0.5, 0), (-0.5, initialHeight - 5), (x(K), initialHeight - 5), (x(K), 0)) → cliff, cliffRight, cliffUpper, cliffLeft, cliffLower
  11. Circle((-1.5, initialHeight + 1.5), 1) → e
  12. Segment(E, D) → personTorso
  13. Segment(D, C) → personLeftLeg
  14. Segment(D, B) → personRightLeg
  15. Segment(E, F) → personNeck
  16. Segment(E, A) → personRightArm
  17. Segment(E, G) → personLeftArm
  18. If(t < hitGroundTime, -currentGravity * t^(2) + currentSpeed * t + currentInitialHeight, 0) → h
  19. Corner(4) → L
  20. SelectedIndex(planets) → planetIndex
  21. Element(planetGravity, planetIndex) → gravity
  22. Textfield(timeBoundRight) → inputBox1
  23. Corner(2) → cornerBR1
  24. Polygon(cornerUL2, cornerBL2, leftShadeLowerRightCorner, leftShadeUpperRightCorner) → leftShade, a, b, c, d
  25. Polygon(cornerUR2, rightShadeUpperLeftCorner, rightShadeLowerLeftCorner, cornerBR2) → rightShade, f, g, i, j

AI Drawing Prompt Reference

Draw a ball's trajectory on a planet, set initial speed and height, and show the parabolic path. First, draw a cliff with a height of initial height minus 5, then draw a ball on the cliff. Next, draw the ball's trajectory as a parabola, affected by gravity. Finally, draw a person standing on the cliff with a head, torso, two legs, and two arms.
The prompt above was compiled from the original drawing commands and is for reference only.