How do you solve the equation on the interval [0,2pi) for #2(cos(t))^2-cos(t)-1=0 #?