Solve for θ pi/2<theta<pi