The position x as a function of time of a particle that moves along a straight l
ID: 3583047 • Letter: T
Question
The position x as a function of time of a particle that moves along a straight line is given by: x(t) = -0.1t^4 + 0.8t^3 + 10t - 70 m The velocity v(t) of the particle is determined by the derivative of x(t) with respect to t, and the acceleration a(t) is determined by the derivative of v(t) with respect to t. Derive the expressions for the velocity and acceleration of the particle, and make plots of the position velocity, and acceleration as a function of time for 0 lessthanorequalto t lessthanorequalto 8 s. Use the subplot command to make the three plots on the same page with the plot of the position on the top, the velocity in the middle, and the acceleration at the bottom. Label the axes appropriately with the correct units.Explanation / Answer
Answer
Below is the requires Matlab code:
syms t
x=-0.1*t.^4+0.8*t.^3+10*t-70
x=(-0.1*t.^4)+(0.8*t.^3)+(10*t)+70
vel=diff(x)
acc=diff(vel)
t=0:0.1:8-0.1;
X=subs(x,t);
V=subs(vel,t);
A=subs(acc,t);
figure, plot(t,X,t,V,'r',t,A,'g')
legend(' Position','Velocity','Acceleration')
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.