In order to calculate the expected value of x, we just need to divide the total number of lemon-flavored candies by the total number of bags, so we have:
So the expected value of x is 126.68.
1.6m questions
2.0m answers