second derivative of sin(3x)\theta(x)