Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
function h = projectile(theta)
%Output final hight of the projectile motion with two input initial velocity
%'v_mag' and initial project angle 'theta'.
%t=(2.37/(v_mag*cos(theta)));
h = -1/2*9.81*(2.37/(15*cos(theta)))^2+15*sin(theta)*(2.37/(15*cos(theta)))
%2.37meters is the distance that final height away from initial position.
%1.72meters is the initial height.
end