How can I find the mixed partial derivatives using Matlab?

11 ビュー (過去 30 日間)
Seda Kutay
Seda Kutay 2016 年 12 月 3 日
回答済み: bio lim 2016 年 12 月 3 日
For example, to find d^3f/dxdy^2 of x^4*sin(xy)??

採用された回答

bio lim
bio lim 2016 年 12 月 3 日
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)

その他の回答 (1 件)

John D'Errico
John D'Errico 2016 年 12 月 3 日
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?

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by