derivative of 3sin(pit) + 5cos(pit)