differentiation for a function

y'=x-y^2
give me the function to get derivative as
y'' =1-2*y*y'

1 件のコメント

Walter Roberson
Walter Roberson 2018 年 9 月 18 日
That is not the derivative: the 1 should not be there.
Use the symbolic toolbox.

サインインしてコメントする。

回答 (2 件)

Birdman
Birdman 2018 年 9 月 18 日

0 投票

syms y(x)
diff(diff(y,x)==x-y^2)
Torsten
Torsten 2018 年 9 月 18 日

0 投票

syms x y(x)
diff(x-y^2,x)
Best wishes
Torsten.

カテゴリ

タグ

質問済み:

2018 年 9 月 18 日

回答済み:

2018 年 9 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by