# 機率HW6 ## 資工二 110590064 劉韶軒 ## Problem 1 > A graduate class consists of six students. What is the probability that exactly three of them are born either in April or in October? ## Solve $P(四月或十月出生)=\frac{1}{6}$ $P(X=3)=\binom{6}{3}*\frac{1}{6}^3*\frac{5}{6}^3$ $A:\binom{6}{3}*\frac{1}{6}^3*\frac{5}{6}^3=\frac{625}{11664}=0.0535$ ## Probelm 2 > A certain basketball player makes a successful foul shot with probability 0.45. Determine for what value of k, the probability of k baskets in 10 shots is maximum, and then find this maximum probability. ## Solve $P(進球)=0.45$ $P(X)=\binom{10}{X}*0.45^X*0.55^{10-X}$ $P(X=4)=0.2383$ $P(X=5)=0.234$ $A:X=4$ ## Problem 3 > The simplest error detection scheme used in data communication is parity checking. Each character consists of a number of bits (a bit is the smallest unit of information and is either 1 or 0). In parity checking, a 1 or 0 is appended to the end of each character at the transmitter to make the total number of 1’s even. The receiver checks the number of 1’s in every character received, and if the result is odd it signals an error. Suppose that each bit is received correctly with probability 0.999, independently of other bits. What is the probability that a 7-bit character is received in error, but the error is not detected by the parity check? ## solve $P(傳送正確)=0.999$ $P(錯誤機率)=1-全部正確=1-0.999^7=0.00696$ $P(無主動發現錯誤)=錯的位元數是2的倍數就會錯誤$ $\binom{7}{2}*0.999^5*0.001^{2}=2*10^{-5}$ $\binom{7}{4}*0.999^3*0.001^{4}=2*10^{-11}$ $\binom{7}{6}*0.999^1*0.001^{6}=2*10^{-17}$ $A:\frac{2*10^{-5}}{0.00696}=\frac{1}{348}=2.8*10^{-3}$ ## Problem 4 > Suppose that 2.5% of the population of a town are illegal immigrants. Find the probability using Poisson random variable approximation that, in a theater of this town with 80 random viewers, there are at least two illegal immigrants. ## solve $E=np=λ=\frac{2.5}{100}*80=2$ $P(X ≥ 2) = 1 - P(X < 2)$ $P(X = k) = \frac{e^{-λ} * (λ^k)}{k!}$ $P(0)=\frac{e^{-2} * (λ^0)}{0!}=0.1353$ $P(1)=\frac{e^{-2} * (λ^1)}{1!}=0.2706$ $P(0)+P(1)=0.4060$ $A:0.59399$ ## Problem 5 > On average, there are three misprints in every 10 pages of a particular book. If every chapter of the book contains 35 pages, what is the probability (by using Poisson model approximation) that Chapters 1 and 5 have 10 misprints each? ## Solve $E=np=λ=\frac{(3}{10}*35=10.5$ $\frac{e^{-10.5}(10.5)^{10}}{10!}=0.124$ ## Problem 6 > Suppose that X is a Poisson random variable with P(X = 1) = P(X = 3). Find P(X = 5). ## Sovle $P(X = k) = \frac{e^{-λ} * (λ^k)}{k!}$ $P(x=1)=P(x=3)=\frac{e^{-λ} * (λ^1)}{1!}=\frac{e^{-λ} * (λ^3)}{3!}$ $=>6*e^{-λ} * (λ^1) = e^{-λ} * (λ^3)$ $=e^{-λ} * (6*λ^1-(λ^3))=0$ $6*λ^1-(λ^3)=0=λ(6-λ^2)$ $λ=\sqrt{6}$ $P(X = 5) = \frac{e^{-\sqrt{6}} * (\sqrt{6}^5)}{5!}=0.06344$ ## Problem 7 > Suppose that 20% of a group of people have hazel eyes. What is the probability that the eighth passenger boarding a plane is the third one having hazel eyes? Assume that passengers boarding the plane form a randomly chosen group. ## Solve $P(橘子色)=0.2$ $P(X=2)=\binom{7}{2}*\frac{1}{5}^2*\frac{4}{5}^5=0.2752$ $A:0.2*0.2752=0.05504$ ## Probelm 8 > The probability is p that a randomly chosen light bulb is defective. We screw a bulb into a lamp and switch on the current. If the bulb works, we stop; otherwise, we try another and continue until a good bulb is found. What is the probability that at least n bulbs are required? ## Solve $P(X≥n) = \sum_{i=n-1}^{\inf}{(1-p)^i}*p$ ${(1-p)^{n-1}}*p*\frac{1}{1-p}=p*(1-p)^{n-2}$ ## Probem 9 > Suppose that 15% of the population of a town are senior citizens. Let X be the number of nonsenior citizens who enter a mall before the tenth senior citizen arrives. Find the probability mass function of X. Assume that each customer who enters the mall is a random person from the entire population. ## Solve $E=0.85N=非老年人期望值$ $E(前十個人)=0.85*10=8.5$ $P(X=k)=\frac{e^{-8.5N}(8.5N)^k}{k!}$ ## Problem 10 > To estimate the number of trout in a lake, we caught 50 trout, tagged and returned them. Later we caught 50 trout and found that four of them were tagged. From this experiment result, please estimate n, the total number of trout in the lake. Hint: Let Pn be the probability of four tagged trout among the 50 trout caught, if the total number of trout in the lake is n. Then, find the value of n that maximizes Pn. (Note: In statistics, this approach to estimate value of n is called the maximum likelihood estimate for the number of trout in lake. For this question, you may first find Pn, using the hypergeometric random variable. Then use the relation Pn / Pn+1 >= 1 or Pn / Pn-1 <= 1 to find the value of n that maximizes Pn.) ## sovle $\frac{4}{50}=0.08$ $\frac{50}{x}=\frac{4}{50}$ $\frac{50}{x}=0.08$ $\frac{50}{x}=0.08,x=625$ $A:625$