MATLAB: How to find the derivative of a function?And then plot the derivatives

derivativesdifferentiationsymbolicSymbolic Math Toolbox

How to find the derivative of a function, and then plot the derivatives with the range of x=0 to x=5?
ie.
y = (sin(2/(x+2) - 3))^3
Related Question