You and your friend go into sports bar where a dart throwing competition is going on.you buy m darts at 1 dollar each.you throw these m darts at the board.Of these, N darts hit within the inner circle. Your friend picks up these N darts, and throws them at the board . X of them hit the inner circle.you and your friend earn 10 dollars for each of the X hits, Of course N and X are random numbers. Assume that your throws are independent and each has a probability p1 of hitting the inner circle.Your friend's throws are also independent,and each has a probability p2 of hitting the inner circle.
a)Let m=100,p1=0.5,p2=0.1. Use Monte Carlo Simulation to find out: Should you join this game? How much do you expect to win from this game? Does it matter who goes first?
b)what is the distribution of X?(ie.,write the p.m.f of X,or equivalently, name the distribution and give its parameters)?