You can put this solution on YOUR website! rewrite the function value in terms of cofunction for sin(-pi/4)
------
Form: sin(x) = cos((pi/2)-x)
-----
Your Problem
sin(-pi/4) = cos((pi/2)+(pi/4)) = cos((2pi/4)-(pi/4)) = cos(pi/4)
-------------------------
Cheers,
Stan H.
------------------