C and D are points on the circle with diameter AB such that ∠AQB=2∠COD, where O is the centre of the circle. Q is the point of intersection of AC and DB inside the circle. The tangents at C and D meet at P. The circle has radius 1. The distance of P from its center is