differentiation for a function

2 visualizaciones (últimos 30 días)
PJS KUMAR
PJS KUMAR el 18 de Sept. de 2018
Respondida: Torsten el 18 de Sept. de 2018
y'=x-y^2
give me the function to get derivative as
y'' =1-2*y*y'
  1 comentario
Walter Roberson
Walter Roberson el 18 de Sept. de 2018
That is not the derivative: the 1 should not be there.
Use the symbolic toolbox.

Iniciar sesión para comentar.

Respuestas (2)

Birdman
Birdman el 18 de Sept. de 2018
syms y(x)
diff(diff(y,x)==x-y^2)

Torsten
Torsten el 18 de Sept. de 2018
syms x y(x)
diff(x-y^2,x)
Best wishes
Torsten.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by