Is there something wrong with Latex or anything? I get a syntax error message every time I try to write the equation...

Gives: $\displaystyle 3\sin(2x)-4\cos(2x)=-2$Code:3\sin(2x)-4\cos(2x)=-2

Why?

This makes it hard for me to show what I've done and get feedback on what Im doing wrong.