Let $MABCD$ be a pyramid with the square $ABCD$ as the base, in which $MA=MD$, $MA^2+AB^2=MB^2$ and the area of $\triangle ADM$ is equal to $1$. Determine the radius of the largest ball that is contained in the given pyramid.
Source: Bulgaria 1987 P3
Tags: geometry, 3D geometry, pyramid
Let $MABCD$ be a pyramid with the square $ABCD$ as the base, in which $MA=MD$, $MA^2+AB^2=MB^2$ and the area of $\triangle ADM$ is equal to $1$. Determine the radius of the largest ball that is contained in the given pyramid.