m 1 of 2
syms t
a=-1.8*sin(3*t)
v=int(a)
s=int(v)
p= [0:0.01:0.5];
% a1=a(t)=a(p)= -(9*sin(3*t))/5
% v1=v(t)=v(p)= (3*cos(3*t))/5
% v1=v(t)=v(p)= sin(3*t)/5
%GRAFICOS
%ACELERAÇAO
plot(p, a1, 'r')
hold on
title('Grafico aceleraçao X tempo ')
xlabel('t(segundos)')
ylabel('a(m/s^2)')
%VELOCIDADE
plot(p, v1, 'k')
hold on
title('Grafico velocidade X tempo ')
xlabel('t(segundos)')
ylabel('v (m/s)')
%POSIÇAO