How do you find the fist and second derivative of pi*sin(pix)?