Distance between Element and Subset of Real Numbers/Examples/Example 4

Example of Distance between Element and Subset of Real Numbers
Let $S \subseteq \R$ be the subset of the set of real numbers $\R$ defined as:
 * $S := \openint 2 3$

Then:
 * $\map d {3, S} = 0$

where $d$ denotes the distance function.