calculate the expected value of the scenario