Throw and discover

by fizyk
  scripts
  sprites
See inside
Instructions

Throw the ball and discover... Try to hit a green point in two ways. I tell you if everything is discovered.

You can change the initial angle (alpha) relative to the horizontal ground by moving the mouse pointer. To throw the ball - click. Initial speed of the ball is fixed. Press space to exit.

This is the simulation of a projectile motion near the surface of the Earth, without the air resistance. Observe the angles for maximal range and height.

Notes and Credits

Wersja w j. polskim: http://scratch.mit.edu/projects/36771516/

Units: m, s. The ball position changes every dt time interval. Variables:
alpha - angle of initial ball velocity relative to the horizontal plane,
alphaprec - unrounded alpha,
range - horizontal distance from the starting point,
height - vertical distance from the starting point,
sth-max - maximal value of sth reached so far,
sth-max-alpha - at this angle maximal value of sth was reached.

Shared: 15 Nov 2014 Modified: 10 Dec 2014
Favorite this project 12
Love this project 19
Total views 299
View the remix tree  6
  
More projects by fizyk