Tuesday

September 16, 2014

September 16, 2014

Posted by **Ali** on Friday, March 4, 2011 at 3:32am.

Background Information:

In each of the 5 policy years, there are 3 possible outcomes.

• The insured may die, and $50,000 will be paid out (there is a 0.1% chance of death in any one year for persons in this age group)

• The insured may decide to drop the policy, with no payout, and all premiums paid so far are forfeited – (there is a 4% chance of this happening during any year)

• The insured may continue to pay the annual premium and the policy remains in force. At the end of the fifth year, the insurance terminates, with no further costs to either party.

Use a Monte Carlo simulation to solve this problem. Rather than a closed-form solution, Monte Carlo techniques depend on setting up the problem parameters and then inputting a series of random values. The combination of all the random solutions is taken as the problem solution.

Hints:

Set up the calculations for cash flow each year based on the costs and probabilities given above. Then, the actual cash flow for each policy (each simulation) depends on random numbers which determine which of the possible events actually occurs for that policy holder during that year. Sum the company’s total expected income for all the policies sold, compare this to the cost of selling the policies, and determine how profitable this will be for the company. (You can ignore the cost of money and treat all income as the same, no matter what year it happens.)

To generate random numbers, use the rand() function found in . It does not take any arguments, and it returns an integer between 0 and RAND_MAX (a constant already defined in the stdlib header). You will want to initialize, or “seed”, the random number function once, at the beginning of your program, by calling srand(time(NULL)). To use the time() function you must also include . Test your program for small numbers of random inputs, and hand-verify proper operation before you scale it up to the full 100,000 policies. Run the program multiple times and observe any differences in the results. If there are differences, what do you think caused them and what does that mean for your analysis?

- computer science -
**Ali**, Friday, March 4, 2011 at 3:33amplease write this in C. Thanks

**Answer this Question**

**Related Questions**

Statistics - A life insurance company sells a term insurance policy to a 21-year...

Consumer Math: Insurance - Choose as many answers as apply. Which of the ...

ACCOUNTING - I have to prepare an adjusting entry for Dec 31, 2008 for prepaid ...

accounting - I have to prepare an adjusting entry for Dec 31, 2008 for prepaid ...

math - A 28-year-old man pays $192 for a one-year life insurance policy with ...

ACCOUNTING plz help thnx - I have to prepare an adjusting entry for Dec 31, 2008...

statistics - The probability that a 30-year old white male will live another ...

statistic - Jim has a 5-year-old car in reasonably good condition. He wants to ...

math - helping lil bro with homework and he forgot to bring his books home and I...

Intermediate Accounting - I am having a hard time calculating this my question ...