Paper Airplane Extra Credit
Paper airplane extra credit
The function EC_plane takes as inputs the initial launch angle, theta0, initial height, y0, and an initial velocity, v0, and outputs the distance a paper airplane will travel with those initial conditions. EC_Plane_optimum optimizes the initial angle and velocity at a given height of 2 m with L/D=5.2 and a terminal velocity of 5.5 m/s.
The optimized initial angle is 0 rad. The optimized initial velocity is 10 m/s (if 10 m/s is the maximum initial velocity) The maximum distance traveled by the paper airplane is 36 m.