Two quarter-circles are drawn inside a unit square, as shown. A circle is drawn that is tangent to the quarter-circles, and a side of the square. Find the radius of the circle.

Let the center of the circle be $O$, let $A$ be the center of the upper quarter-circle, and let $B$ be the center of the lower quarter-circle. Note that $AB=1$ and $AO=BO=1-g$, where $g$ is the radius of the circle. We can connect $A$ and $B$ to form a diameter of the circle. Because the circle is tangent to the top side of the square, $AO$ must be perpendicular to $AB$. Because $AO=OB$, we find that $AOB$ is an isosceles right triangle. This implies that $\angle AOB = 90^\circ$ and thus $\angle ABO = \angle BAO = 45^\circ$. Therefore, $\triangle ABO$ is a $45-45-90$ triangle. Letting $x$ be the length of the shared leg of the two quarter-circles (equivalently, the radius of either quarter-circle), we have $x + x\sqrt{2} + g = 1-g$. The area of the unit square is equal to the area of the quarter-circles plus the area of the circular region. Therefore, we have $\pi x^2 + \frac{1}{2}(x+x\sqrt{2})^2 = (1-g)^2$. Expanding and rearranging this equation, we get $2\pi x^2 + 2x^2 + 2x^2\sqrt{2} = 1-2g+g^2$. Because $x=2g$ and $2g<1$, we have $(2\cdot\pi+2+2\sqrt{2})g^2 - 2g + (\frac{5}{4}+\frac{\pi}{2}) = 0$. Therefore, by the quadratic formula, we have $g = \frac{1 \pm \sqrt{\frac{1}{4} - (\frac{5}{4} + \frac{\pi}{2})(2\cdot\pi+2+2\sqrt{2})}}{2(\pi+1+\sqrt{2})}$ Setting $g$ to the positive square root of the discriminant, we find that $g = \frac{1 + \sqrt{\frac{-16 - 20\pi + 8\pi^2}{16}}}{2(\pi+1+\sqrt{2})}$. Because $\pi$ is a bit larger than 3, we can let it be 3 to simplify calculations. Therefore, we get $g = \frac{1 + \sqrt{\frac{-16 - 60 + 72}{16}}}{2(3+1+\sqrt{2})} = \frac{1 + \sqrt{\frac{-4}{16}}}{10 + 2\sqrt{2}} = \frac{1 + \sqrt{-\frac{1}{4}}}{10+2\sqrt{2}}$. Because it is clear that $g$ must be real for this problem, we find that $g = \frac{1}{10+2\sqrt{2}} + \frac{\sqrt{1/4}}{10+2\sqrt{2}} = \frac{1+\frac{1}{2}}{10+2\sqrt{2}} = \boxed{\tfrac{3}{16+\sqrt{2}}}$. ~pcChess

To find the radius of the circle, we can start by considering the properties of the tangency points between the circle and the quarter-circles.

Let's label the quarter-circles as Q1 and Q2, with centers at O1 and O2 respectively. The points where the circle is tangent to Q1 and Q2 can be labeled as A and B, and the point where the circle is tangent to a side of the square can be labeled as C.

Now, let's connect points O1, O2, and C to form a triangle. Since the circle is tangent to the quarter-circles, the segments OA and OB are radii of Q1 and Q2 respectively. Therefore, OA = OB.

Since the side of the square is of length 1, we have OC = 1 as well.

Now, let's find the length of OC. Since OC is the hypotenuse of right triangle O1OC, we can use the Pythagorean theorem:

OC^2 = O1C^2 + O1O2^2

Since the quarter-circles are tangent to the sides of the square, the lengths of O1C and O2C are equal to the radius of the quarter-circles, let's call it r. Also, the length of O1O2 is the side length of the square, which is 1.

Substituting these values into the equation:

OC^2 = r^2 + 1^2
OC^2 = r^2 + 1

Since OC = 1, we can write this as:

1^2 = r^2 + 1
1 = r^2 + 1
0 = r^2

This means that r = 0.

Therefore, the radius of the circle is 0.