When a certain basketball player takes his first shot in a game he succeeds with probability 1/2. If he misses his first shot, he loses confidence and his second shot will go in with probability 1/3. If he misses his first 2 shots then his third shot will go in with probability 1/4. His success probability goes down further to 1/5 after he misses his first 3 shots. If he misses his first 4 shots then the coach will remove him from the game. Assume that the player keeps shooting until he succeeds or he is removed from the game. Let X denote the number of shots he misses until his first success or until he is removed from the game.
a. Calculate the probability mass function of X.
b. Compute the expected value of X.

Q&A Education