Darlin', I think the "Atrocious Slop" Ms. Slayqueen was referring to was this part of your second-to-last line:
$$2*sin(a)^4*cos(a)^4$$
This can be remedied by placing a backslash like this: \sin(a), \cos(a).
Don't let Ms. Slayqueen's energetic attitude aggravate your sensitivities, hon. You got this!
MarySue