Question: Experiment in Probability using MAPLE

Dear all

I have a box contains 3 red balls and 3 white balls, we select one ball three times and we define Z to be  the number of red balls selected. 
Since, we selected three times a ball and we count the number of red balls selcted after this experiment, we have 

Now, How CAN I determine the sigma algebra generated by Z ( which is a random variable). 
The following code  calculate the sigma algebra generated by any subset  A subset of global set X , 
I would like to use it, to verify the descripted experiment in probability.

thank you 

Please Wait...