How do you find the values of theta given costheta=1?