D[Sin[x^2-1],{x}]