I'm homelearning calculus and metric spaces.
We are in a space with euclidean metric. In my book, it is stated that the diameter of $S(1,2)=2$ and the diameter of $\bar{S}(1,2)=4$, where $S$ is an open ball and $\bar{S}$ is a closed ball.
Could you please explain to me why are the diameters $2$ and $4$? I'm not sure how they got that numbers, I know the definitions but I don't quite understand them.
Thanks