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

 Respuesta aceptada

syms x
f = (x^2+1)*(x^3+3) ;
df = diff(x)
simplify(df)

5 comentarios

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)!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 22 de Ag. de 2020

Comentada:

el 23 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by