Answer to Question #211811 in MatLAB for Abu Huraira

Question #211811

Write a program to find the acceleration of the object at a point ( 2, 3 ) using Matlab symbolic 

tool box commands. The particle position function is following. [2]

𝑠(𝑡) = 2𝑡

4 − 7cos(𝑡) + 𝑒

−2𝑡


1
Expert's answer
2021-06-29T05:52:52-0400

As the question is not properly formatted: There is another solution:

If the function is read like s = 2*t^4-7*cos(t)+exp(-2*t)


"s = 2*t^4 - 7*cos(t) + e^{-2t}"


close all,
clear all,
clc,


syms t
s = 2*t^4 - 7*cos(t) + exp(-2*t)
disp('Distance: s(t) = 2*t^4 - 7*cos(t) + exp^(-2*t)');
disp('Velocity: v = ds/dt = ');
v = diff(s)
disp('Acceleration: a = dv/dt = ');
a = diff(v)
t = 2.3;
A = subs(a,t);
disp(['Acceleration at t=2.3 = ',num2str(A)]);


Matlab Output:


s = 2*t^4-7*cos(t)+exp(-2*t)

  

Distance: s(t) = 2*t^4 - 7*cos(t) + exp^(-2*t)

Velocity: v = ds/dt = 8*t^3+7*sin(t)-2*exp(-2*t)

  

Acceleration: a = dv/dt = 24*t^2+7*cos(t)+4*exp(-2*t)

  

Acceleration at t=2.3 = 122.3363

>> 


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS