derivative -cos(x) +sqrt(3)sin(x) -3