what is the derivative of sin x code example Example: sin derivative sin'(x) = cos(x) cos'(x) = -sin(x) -sin'(x) = -cos(x) -cos'(x) = sin(x)