taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.10-5

Exercise 1.2.10-5

not stated yet in Lean solution written

RatingM13
MarkersM (mathematical)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.10 of Volume 1. Companion chapter: Analysis of an algorithm

The task

Find the mean and the standard deviation of the distribution of Fig. 11, which has n=12n=12 tosses with p=35p=\frac35.

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Use (19).

Solution

Show the solution

By (19) the mean is pn=35⋅12=365=7.2pn=\frac35\cdot12=\frac{36}5=7.2. The variance is pqn=35⋅25⋅12=7225pqn=\frac35\cdot\frac25\cdot12=\frac{72}{25}, so the standard deviation is 72/5=62/5≈1.697\sqrt{72}/5=6\sqrt2/5\approx1.697.

Check

Python gives ∑kk(12k)(0.6)k(0.4)12−k=7.2\sum_kk\binom{12}k(0.6)^k(0.4)^{12-k}=7.2 and var⁡=1.69706\sqrt{\operatorname{var}}=1.69706.

Remarks

The most probable value is k=7k=7, while the mean is 7.27.2.

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

not stated yet The exercise is not stated in Lean yet.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.