MATLAB Answers

differentiation for a function

1 view (last 30 days)
PJS KUMAR
PJS KUMAR on 18 Sep 2018
Answered: Torsten on 18 Sep 2018
y'=x-y^2
give me the function to get derivative as
y'' =1-2*y*y'

  1 Comment

Walter Roberson
Walter Roberson on 18 Sep 2018
That is not the derivative: the 1 should not be there.
Use the symbolic toolbox.

Sign in to comment.

Answers (2)

Birdman
Birdman on 18 Sep 2018
syms y(x)
diff(diff(y,x)==x-y^2)

  0 Comments

Sign in to comment.


Torsten
Torsten on 18 Sep 2018
syms x y(x)
diff(x-y^2,x)
Best wishes
Torsten.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags