Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear
- clc
- Yo=input('Provide Launch Height: ');
- Vo=input('Provide Initial Velocity: ');
- fprintf('\n');
- theta=[10:10:80];
- n=1;
- while n<=8
- fire_projectile(Vo, Yo, theta(n));
- fprintf('\n');
- n=n+1;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement