Here is the full question:
A regular $48$-gon is inscribed in a circle with radius $1$. Let $X$ be the set of distances (not necessarily distinct) from the center of the circle to each side of the $48$-gon, and $Y$ be the set of distances (not necessarily distinct) from the center of the circle to each diagonal of the $48$-gon. Let $S$ be the union of $X$ and $Y$. What is the sum of the squares of all of the elements in $S$?
No solution was given, but I gave it a shot anyway.
Here's my answer so far:
First, we find the elements of set $X$ - the distances from the centre of the circle to each side of the $48$-gon. Let $x$ be the distance from the centre of the circle to one side of the polygon.
We draw this diagram (not to scale) and find out the following values.
A line from the centre of the $48$-gon, $C$, to one of its vertex is equivalent to the radius of the circle, which is $1$. This is the hypotenuse of the right-angled triangle.
That line is also an angle bisector of one of its interior angles. Each interior angle of the $48$-gon is $\frac{180°(48-2)}{48}=172.5°$, so $\frac{172.5°}{2}=86.25°$.
Now, we find that $x = \frac{\sin(86.25°)}{1} = \sin(\frac{23\pi}{48})$ in terms of radians.
As such, there are $48$ elements in set $X$, each element with the value of $\sin(\frac{23\pi}{48})$.
Second, we try to find the elements of set $Y$ - the distances from the centre of the circle to each diagonal of the $48$-gon. Here's where I get stuck.
We know that there are $\frac{48(48-3)}{2}=1080$ diagonals in the $48$-gon.
Since the polygon has an even number of sides ($48$ is even), there will be $\frac{48}{2}=24$ diagonals passing through the centre of the circle, meaning their distances from the centre will be $0$.
This leaves us with $1080-24=1056$ diagonals unaccounted for.
Now... how do I find every distance of the rest of the diagonals from the centre of the circle?
Is there anything wrong with my working so far? What suggestions do you guys have? How would you go about solving this question?
Thanks in advance!

