For what value of b, will the roots of the equation cos x = b, –1≤b≤1 when arranged in ascending order of their magnitudes, form an A.P?