全期望:https://en.wikipedia.org/wiki/Law_of_total_expectation 线性期望:https://brilliant.org/wiki/linearity-of-expectation/