How can I find the mixed partial derivatives using Matlab?

 Accepted Answer

syms x y
f = (x^4)*sin(x*y);
der = diff(f,x,y,y)
der =
- 6*x^5*sin(x*y) - x^6*y*cos(x*y)

More Answers (1)

You would differentiate with respect to y twice, so the second derivative, and once with respect to x. Essentially two calls to diff.
help syms
help diff
1st semester calc?

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 3 Dec 2016

Answered:

on 3 Dec 2016

Community Treasure Hunt

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

Start Hunting!