Sat Feb 10 10:22:07 2024 insurance_simulation_test(): Python version: 3.8.10 Simulate term life insurance. insurance_simulation_test1() Observe a single case year by year. Customer age: 25 Number of years of coverage 40 Annual payment = 500.0 Company benefit for death within term 100000.0 Annual interest rate is 0.04 Bracket P(Death) Pay Bank Benefit [25,26] 0.0018 500 500 0 [26,27] 0.0018 1000 1020 0 [27,28] 0.0018 1500 1561 0 [28,29] 0.0018 2000 2123 0 [29,30] 0.0018 2500 2708 0 [30,31] 0.0018 3000 3316 0 [31,32] 0.0018 3500 3949 0 [32,33] 0.0018 4000 4607 0 [33,34] 0.0019 4500 5291 0 [34,35] 0.0021 5000 6003 0 [35,36] 0.0023 5500 6743 0 [36,37] 0.0025 6000 7513 0 [37,38] 0.0027 6500 8313 0 [38,39] 0.0029 7000 9146 0 [39,40] 0.0030 7500 10012 0 [40,41] 0.0033 8000 10912 0 [41,42] 0.0037 8500 11849 0 [42,43] 0.0042 9000 12823 0 [43,44] 0.0049 9500 13836 0 [44,45] 0.0054 10000 14889 0 [45,46] 0.0059 10500 15985 0 [46,47] 0.0065 11000 17124 0 [47,48] 0.0071 11500 18309 0 [48,49] 0.0076 12000 19541 0 [49,50] 0.0082 12500 20823 0 [50,51] 0.0090 13000 22156 0 [51,52] 0.0097 13500 23542 0 [52,53] 0.0101 14000 24984 0 [53,54] 0.0108 14500 26483 0 [54,55] 0.0112 15000 28042 0 [55,56] 0.0119 15500 29664 0 [56,57] 0.0124 16000 31351 0 [57,58] 0.0132 16500 33105 0 [58,59] 0.0140 17000 34929 0 [59,60] 0.0152 17500 36826 0 [60,61] 0.0168 18000 38799 0 [61,62] 0.0146 18500 40851 0 [62,63] 0.0156 19000 42985 0 [63,64] 0.0174 19500 45205 0 [64,65] 0.0194 20000 47513 0 insurance_simulation_test2() Average many instances of a single case. The case was simulated 1000 times. Number of (covered) deaths 233 Average customer payments = 18496.5 Average company payments = 23300.0 Average bank account value = 47512.757849208174 insurance_simulation_test(): Normal end of execution. Sat Feb 10 10:22:07 2024