Solve[Cos[x]==0,x]

Input interpretation

solve cos(x) = 0 for x