Application of expected value in Life Insurance