a\cos^2x+b\cos x+c=0