Docsity

Projectile Motion Equations and Trajectory, Cheat Sheet of Physics

Toggle sidebar
bg1
close all
clear all
syms v a x y t
disp('Nhap du lieu: ')
vo=input('vo= ');
a=input('a= ');
hy= a/(vo*2)
disp('Phuong trinh chuyen dong cua vat: ')
fprintf('x = t^2 *'); disp(0.5*vo*a);
fprintf('y = t *'); disp(vo);
disp('Phuong trinh quy dao cua vat: ')
fprintf('x โ€“ (y^2) *'); disp(hy); fprintf('=0');
disp(' ');
disp(' ');
disp(' ');
t1=input('t1=');
t2=input('t2=');
vy=vo
y=vo*t
vx=a*y
x=0.5*vx*t
figure;
fplot(x,y,[t1 t2]);
pf2

Partial preview of the text

Download Projectile Motion Equations and Trajectory and more Cheat Sheet Physics in PDF only on Docsity!

close all clear all syms v a x y t disp('Nhap du lieu: ') vo=input('vo= '); a=input('a= '); hy= a/(vo2) disp('Phuong trinh chuyen dong cua vat: ') fprintf('x = t^2 '); disp(0.5voa); fprintf('y = t '); disp(vo); disp('Phuong trinh quy dao cua vat: ') fprintf('x โ€“ (y^2) '); disp(hy); fprintf('=0'); disp(' '); disp(' '); disp(' '); t1=input('t1='); t2=input('t2='); vy=vo y=vot vx=ay x=0.5vxt figure; fplot(x,y,[t1 t2]);

xlabel('Truc x'); ylabel('Truc y'); grid on