---
# System prepended metadata

title: 隨機程序筆記

---


# 隨機程序筆記

$p(X)={1\over 6}, x=0,1,2,3,4,5$
$E[X] = 0.25$
$P(X>E[X]) = \{ \begin{array}{l}
1, x=3,4,5\\
0, x=0,1,2
\end{array}$
$E[X|X>E[X]]=4$



$f_y(y)=0.2 e^{-0.2y}$
$p[A] = \int^2_0f_y(y)dy$
$E[Y|A] = \int_y^2f_{Y|A}(y)dA$

$E[T]=0.01={1\over \lambda}$
$\lambda=100$
$f_T(t) = \lambda e^{-\lambda t}$
$p(B)=\int ^\inf_$