Flip an unfair coin three times For each flip the probabilit
Flip an unfair coin three times. For each flip, the probability of getting a \"h\" is 6. Let X = \" the number of \'h\' that you get\". Construct the probability mass function (pdf) for X.
Solution
x=0
P(x=0) = 3C0 * 0.6^0 * 0.4^3-0 = 0.064
x=1
P(x=1) = 3C1 * 0.6^1 * 0.4^3-1 = 0.288
x=2
P(x=2) = 3C2 * 0.6^2 * 0.4^3-2= 0.432
x=3
P(x=3) = 3C3 * 0.6^3 * 0.4^3-3 = 0.216
