Solve the equation:

Cos^2x + cosx + 0

no equation

If you mean cos^2x + cosx = 0 then we have

cosx(cosx+1)=0
cosx = 0 or -1
x = pi/2 or pi or 3pi/2