Certain stars are thought to collapse at the end of their lives, combining their protons and electrons to form a neutron star. Such a star could be thought of as a giant atomic nucleus, If a star with a mass equal to that of the sun $\left(1.99 \times 10^{30} \mathrm{kg}\right)$ were to collapse into neutrons, what would be the radius of the star?