A square is drawn inside a square. Find the area of the square as a function of the radius of the circle

Is the circle in the square or the square in the circle?

If the square is in the circle then the diagonal of the square is the diameter of the circle so is s is the side of the square the diameter of the circle is s sqrt 2.
The area of the square is s^2
The area of the circle is pi s^2(2)/4
=pi s^2/2