symsx;y=log(x^2-1)+sin(x);dy1=diff(y,x)%y'dy2=diff(dy1,x)运算结果为:dy1=cos(x)+(2*x)/(x^2-1)dy2=2/(x^2-1)-sin(x)-(4*x^2)/(x^2-1)^2