clc
clear all
syms x
f=x^3+2*x^2+x;
diff(f,x,2)