How to get second derivative in symblolic toolbox?

1 view (last 30 days)
my expretion = cos(x*t^2)+x^2+4*t^3); how to get second derivative by t?
  1 Comment
Andriy Kavetsky
Andriy Kavetsky on 8 Oct 2016
You should determine x and t as syms x t and use diff command diff(cos(x*t^2)+x^2+4*t^3),t,2); t, 2 means second derivative by t.

Sign in to comment.

Accepted Answer

Andriy Kavetsky
Andriy Kavetsky on 8 Oct 2016
You should determine x and t as syms x t and use diff command diff(cos(x*t^2)+x^2+4*t^3),t,2); t, 2 means second derivative by t.

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!