Find the value of B between 0 degree and 360 degree which satisfy the equation 4Cos²B+2CosB=1

4 Cos²B + 2 CosB - 1 = 0

use the quadratic formula to find the values of CosB