random sample in math example