You may just be writing it wrong but if a is a length of a side, then the perimeter of a square is 4a. The length of a diagonal is so that the ratio of asideto the diagonal is . The ratio of theperimeterof the square to the diagonal is . The perimeter of the square is NOT "a/\sqrt{2}*d" It is either 4a or .

Now, by "oval" do you mean "circle"? An "oval" is not usually the same as a "circle"- more like a generalized ellipse.

a = a / \sqrt{2} * d * \sqrt{2} * 1 / a \sqrt{2} =

= ( 1 / \sqrt{2} * d * \sqrt{2} ) / \sqrt{2} = d / \sqrt{2}

knowing the proportion of perimeter of square to his side, count the proportion of perimeter of oval to perimeter of suare based on the same diagonal :

obw kwad / obw koła

perimeter of suare = a / \sqrt{2} * d ( diagonal )

perimeter of oval = 2 pi * d

a ( side) = perimeter \sqrt{2} / d

( a / \sqrt{2} * d ) / ( 2 pi * d ) = d / 2 pi

( i dont know if its good )