Consider an experiment where you toss a coin as often asnecessary to turn up one head.Suppose that the probability ofhaving a tail is p(obviously probability of a head is 1?p).Assumeindependence between tosses.a) State the sample space.
b) Let X be the number of tosses needed to get one head. What isthe support (possible values ofX)?
c) FindP(X= 1),P(X= 2) andP(X= 3).
d) Deduce the pmf of X from part c).