g=9.81;Vo=10;ang= [30 45 60 80];t=sqrt(sin(ang).^2-0.5*sin(ang))t=[t -t];
x=Vo*(cos(ang).*t) WHY I KEEP GETTING "MATRIX DIMENSIONS MUST AGREE"
y = Vo*(sin(ang).*t)-(0.5*g*(t^2));tmax=2*Vo/g*sin(ang);y=y(x);
matrix array
g=9.81;Vo=10;ang= [30 45 60 80];t=sqrt(sin(ang).^2-0.5*sin(ang))t=[t -t];
y = Vo*(sin(ang).*t)-(0.5*g*(t^2));tmax=2*Vo/g*sin(ang);y=y(x);
Best Answer