Solve for θ cos(3theta)=1