I have to solve this:
Modify the cumulative risk calculator of exercise 1 so that the argument t has the value 5 if user does not give it any other value. cumulative risk = 1-exp(-1/10000*t). When you are ready input c.
where the exercise 1 was We can estimate the cumulative risk of an certain event using the exponential formula 1-exp(-1/10000*t) where t is the time to the event. Create a function ans(t), which returns the risk at time t. When you are ready input c.
can anyone help please
Thank you