Calculating derivative of a function

3 visualizaciones (últimos 30 días)
Jente Marien
Jente Marien el 5 de Abr. de 2017
Respondida: Torsten el 5 de Abr. de 2017
a=62;
b=95;
y = @(x) (3*x.^2.*sin(a*x))./(x.^2+b);
dy = diff(y)
I don't know exactly how i need to calculate the derivative correctly.

Respuesta aceptada

KSSV
KSSV el 5 de Abr. de 2017
syms x
a=62;
b=95;
y = (3*x.^2.*sin(a*x))./(x.^2+b);
dy = diff(y)

Más respuestas (1)

Torsten
Torsten el 5 de Abr. de 2017
syms a b x
y = (3*x^2*sin(a*x))/(x^2+b);
dy = diff(y,x)
Best wishes
Torsten.

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by