expected value, math homework help