Is there any online tool I can use to solve -4*cos(2*x)-2*sin(x)+2*cos(x)=0?
Yes, you can use Wolfram|alpha
http://www.wolframalpha.com/input/?i=-4*cos%282*x%29-2*sin%28x%29%2B2*cos%28x%29%3D0