 Projectile motion examples

 Projectile motion with air-resistance Advanced Tutorial: Bouncing ball Advanced Tutorial: Coin flip Advanced Tutorial: Tennis ball  Event handling in MATLABÛ Event handling in MATLABÛ On/off contact forces

 A baseball (particle Q) is hit from home plate (point No) over flat Earth (Newtonian frame N).   Variables x and y are the Nx> (horizontally-right) and  Ny> (vertically-upward)  measures of Q's position from No.

Mass of baseball   m = 145 g   (5.1 ozm)
Gravity force is   -m*g*Ny>   where   g = 9.8 m/s^2
Aerodynamic drag is   -b*v   where   v   is Q's velocity in N.
With air-resistance  b = 0.05 N*s/m   whereas without  b = 0.
Form/solve equations of motion with MotionGenesis
 F = m*a Program responses Kane's method (generalized speeds) Program responses Simulation data   is plotted with   MotionGenesis plotting   (or MATLABÛ, ExcelÛ, etc.) which saves plot in various graphics formats (.jpg, .png, .gif, .eps, .ps, etc.).

Problem statement (.pdf)   improved drag model, US units
 F = m*a Program responses Kane's method (generalized speeds) Program responses Optional: Modify the MotionGenesis script so it writes a MATLABÛ .m file with an input launch angle. Modify the MATLABÛ .m file so it detect the instant the ball hits the ground.
The modified   MotionGenesis script,   for MATLABÛ event handling required:
1.
 Add Constant thetaDegrees Change ODE() MGBaseballTrajectoryFma to ODE() MGBaseballTrajectoryFma.m( thetaDegrees )
2.   Edit the MATLABÛ   .m file   to set the initial values of x' and y'.