Example:Height as a random variable
From CS2800 wiki
For example, if we were to model an experiment where I select a person and sample their height, then a reasonable sample space would be the set of people, and the random variable of interest would be the function where is the height of person .