Two baseball teams, Texas Rangers and Baltimore Orioles, are going to play a best-of-five playoff series. The series ends as soon as one of the teams has won three games. Assume that each team is equally likely to win each game, there are no ties, and the outcomes of the games are independent.
(a) Find the probability mass function \(P_N(n)\) for the total number of games played in the series. (10%)
(b) Find the probability mass function \(P_W(w)\) for the number of wins by the Rangers in the series. (10%)