How can I solve this derivative problem in the matlab program?

 Akzeptierte Antwort

KSSV
KSSV am 22 Aug. 2020
syms x
f = (x^2+1)*(x^3+3) ;
df = diff(x)
simplify(df)

5 Kommentare

Dear KSSV,
The answer but in matlab answer is 1.
It cannot be 1.
I wrote in the matlab, the answer was 1.
Please check your matlab.
You need to do diff(f) not diff(x)!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 22 Aug. 2020

Kommentiert:

am 23 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by