ABCD is a square of side 1 unit. A circle passes through vertices A,B of the square and the remaining two vertices of the square lie out side the circle. The length of the tangent drawn to the circle from vertex D is 2 units. The radius of the circle is