From 7987e04ac9862a7ece986c510536863089ad9c6d Mon Sep 17 00:00:00 2001 From: shenlei149 Date: Sat, 8 Jul 2017 21:35:15 -0700 Subject: [PATCH] Update 03.markdown --- other/clrs/08/04/03.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/clrs/08/04/03.markdown b/other/clrs/08/04/03.markdown index 83ebbce9..37d2dd23 100644 --- a/other/clrs/08/04/03.markdown +++ b/other/clrs/08/04/03.markdown @@ -7,7 +7,7 @@ $$ \E[X] = 2 \cdot \frac{1}{4} + 1 \cdot \frac{1}{2} + 0 \cdot \frac{1}{4} = 1 $ Next we take $\E[X^2]$: -$$ \E[X^2] = \E[X] \cdot \E[X] = 1 $$ +$$ \E[X^2] = 4 \cdot \frac{1}{4} + 1 \cdot \frac{1}{2} + 0 \cdot \frac{1}{4} = 1.5 $$ Finally $\E^2[X]$: