Skip to content
SHShahadat HossainAssistant Professor · DIU

Lecture 5 of 10

Random Number Generator

Random Number Generator, figure 1

Random Number Generator, figure 2

Review of Probability & Statistics Basic

Experiments -> means, a process whose outcome is not known with certainty or occurrence.

Sample Space -> means, the set of all outcomes of an experiment is called the sample space and denoted by ‘S’.

Sample Point -> means, the outcomes themselves called sample points in the sample space.

Example-1:

Experiment- flip a coin

Sample Space- S= {H, T}; ‘{}’ means “the set consist of”

Sample Point- H / T

If we take 100 times sample experiments then we will get the nearby result of head or tail occurrence. The more we do experiment the more we will get accurate and nearby result.

Random Number Generator, figure 3

Example-2:

Experiment- Roll a dice

Sample Space – S= {1,2,3,4,5,6}

Random Number Generator, figure 4

Example- 3:

Experiment- Roll two dice

Sample Space- S= {2,3,4,5,6,7,8,9,10,11,12}

Random Number Generator, figure 5

Random Number Generator, figure 6

Random Number Generator, figure 7

Random Number Generator, figure 8