

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


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