Finding Probability function

33 Views Asked by At

I have trouble in a particular kind of questions and that's when I am asked to find the probability function. I do not know how to approach these questions.I need help with how to address this line of questions.

A question and answer for those question is posted below.

Two balls are drawn at random from a box containing 10 balls numbered 0-9. Let the random variable X ~ Maximum of two number drawn

a)If sampling is done without replacement, determine the probability function of X?

b) If sampling is done with replacement, determine the probability function of X?

Answer for A $$ f_x(x) = \frac {2x}{10^{(2)}} $$

Answer for B $$ f_x(x) = \frac {2x + 1}{10^{2}} $$