MATLAB: How to solve this derivative problem in the matlab program

derivatives

Best Answer

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