An integer is chosen randomly between 0 and 4 inclusive A ra
An integer is chosen randomly between 0 and 4, inclusive. A random variable is assigned to each outcome according to the following rule X = sin(i*pi/4), where i is the outcome. Find and sketch the PMF of X.
FInd and sketch the PMF of X.
Solution
For each integer prob = equal = 0.2
For integer =0, x = 0sin pi/4 =0
The table is shown below: (for x values and probability)
PMF of X:
| Integer | 0 | 1 | 2 | 3 | 4 | 
| X | 0 | 0.7071 | 1.4142 | 2.1213 | 2.8284 | 
| P(x) | 0.2 | 0.2 | 0.2 | 0.2 | 0.2 | 

