Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Need Help to correct my this code for the differential equation, Thanks

2 ビュー (過去 30 日間)
zeeshan shafiq
zeeshan shafiq 2020 年 2 月 2 日
閉鎖済み: zeeshan shafiq 2020 年 2 月 10 日
I get the Answer Zero
Question is = > f(x)= sin(x)+2cos(y)
Need to know that by putting the different value of x and y in the same code
>> 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)
  1 件のコメント
darova
darova 2020 年 2 月 2 日
I don't understand the question. What are you trying to solve

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by