If the radius is plotted against their mass number for different nuclei it can be shown that the radius R depends on the mass number.The relationship between the radius and the mass number is given by
A graph of R against A⅓ gives a straight line through the origin with gradient r0 = 1.2fm (approximately).
If one assumes the nucleus is a sphere then volume is proportional to the mass and the density of the nucleus is constant and the same throughout the nucleus and it does not depend on the radius.
The density of the nucleus can be shown to be 2.3 × 1017kgm-3.

R = r0A⅓
A graph of R against A⅓ gives a straight line through the origin with gradient r0 = 1.2fm (approximately).
If one assumes the nucleus is a sphere then volume is proportional to the mass and the density of the nucleus is constant and the same throughout the nucleus and it does not depend on the radius.
The density of the nucleus can be shown to be 2.3 × 1017kgm-3.