Answer:
a. Attached.
b. Mean = 0.5
Explanation:
This random number generator con be modeled with an uniform continous random variable X that has values within 0 and 1, each with the same constant probability within this range.
The probability for the values within the interval [a,b] in a continous uniform distribution can be calculated as:
![f(x)=(1)/(b-a)\;\;\;x\in[0; 1]](https://img.qammunity.org/2021/formulas/mathematics/college/pwqbge5gpvy5q38t00zw06qw3o1uguhjwh.png)
In this case, b=1 and a=0, so f(x)=1.
The sketched curve of the probability distribution of this random variable is attached.
The mean of this distribution can be calculated as the mean for any uniform distribution:
