Calculating derivative of a function

3 Ansichten (letzte 30 Tage)
Jente Marien
Jente Marien am 5 Apr. 2017
Beantwortet: Torsten am 5 Apr. 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.

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by