How is derivative made in Matlab ?

The velocity change of a motile is given as V(T)=T^3-6T^2+7 m/s.
calculate the acceleration at t= 3.5 seconds on matlab
to find the acceleration, I have to take the derivative of the given function and multiply it by 3.5.I find the derivative of the function, but I can't multiply it.

 Accepted Answer

syms v(t)
v(t)=t.^3-6t.^2+7;
a(t)=diff(v);
result=a(3.5)

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 2 May 2020

Answered:

on 2 May 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!