how to find total derivative?
Mostra commenti meno recenti
i want to find total derivative in MATLAB eq== cos(x) = sin(y)*x the solution should be like this -sin(x) = x*cos(y)*dy/dx + sin(y)
Risposta accettata
Più risposte (1)
zeeshan shafiq
il 2 Feb 2020
0 voti
>> syms x y
>> f=inline('sin(x)+2*cos(y)','x',' y')
f =
Inline function:
f(x, y) = sin(x)+2*cos(y)
>> derivative=inline(diff(f(x,y),x,y),'x','y')
derivative =
Inline function:
derivative(x,y) = 0.0
>> derivative(2,5)
ans =
0
>>
Categorie
Scopri di più su Function Creation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!