sin differentiation code example Example: sin derivative sin'(x) = cos(x) cos'(x) = -sin(x) -sin'(x) = -cos(x) -cos'(x) = sin(x)