how would i put Differentiate the function in matlab

1 view (last 30 days)
4. Differentiate the function 𝐷(𝑡)=1+16t^2/(4t)^3
in matlab to get the result of -16^2+4/64t^4
I need to find prood on how i got my answer but i have a hard time using matlab. Please help
  1 Comment
the cyclist
the cyclist on 1 Sep 2021
Not to sound too flippant, but did you try googling differentiate matlab? The top hits point you directly to MATLAB documentation that should help.

Sign in to comment.

Answers (1)

Erik Huuki
Erik Huuki on 2 Sep 2021
Edited: Erik Huuki on 2 Sep 2021
Above is the link for differential equations documentation
The answer for your particular example, Also I may add that your solution you provided is incorrect
syms D(t)
D = 1+16*t^2/(64*t^3)
D = 
diff(D,t,1)
ans = 

Tags

Community Treasure Hunt

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

Start Hunting!