The formula for the expected value is relatively easy to compute and involves several multiplications and additions. In this video, I show the formula of expected value, and compute the expected value of a game. The final. Expected Value for a Discrete Random Variable. E(X)=\sum x_i p_i. x_i= value of the i th outcome p_i = probability of the i th outcome. According to this formula.