If I presented with an optional task for which I have an outcome independent investment $I$, a probability of success $P$ and a reward for success $R$, then I chose to undertake this task iff $PR > I$.
If I presented with an optional task for which I have an outcome independent investment $I$, a probability of success $P$, a reward for success $R$ and a cost of failure $C$, then I chose to undertake this task iff $PR - (1-P)C > I$.
What if the undertaking of this task has a risk of death? How does one begin to determine the cost? Is the cost of death infinite?
In a situation where there is a one in a million chance of death and a fifty fifty chance of getting £10,000,000, I don't know many people who wouldn't give that a go, but that would imply that the cost of death is finite or no mathematician would ever undertake the task.
I suspect the answer is that the problem required context. Let us suppose you leave the handbrake off the car and it rolls down a steep cliff. In this car is a big sack of lovely cash which you were taking the bank. The tide below is rising and you are certain that you have no time to get help so you are faced with the decision as to whether or not you should attempt to climb down to retrieve the cash. There is a chance you could fail (and lose the money) and there is a chance you could die.
How would you quantify death in context?
Something that the comments to your post have hinted at and that you do have to grapple with here, is that there is first and foremost an issue of units.
Your problem as it starts has an inequality in units of money. You want to consider death, which is not obviously in units of money. So, you have to cook up a conversion factor for how many dollars a life is worth. There is certainly no standard one. From some perspectives, it's easier. From an insurance perspective, for example, it's easier to define as there are losses only paid on death.
If you considered it more narrowly than that but more widely than yourself, you could consider the costs to your family and friends of your demise, which could give you a number, but it's not obviously reliable.
If you want to consider just yourself, however... That's a hard problem, and one that is not obviously solved by observing human behavior. There is one possible solution, though. If you consider the amount of money you could potentially make (over your lifetime, say) by staying alive for sure and not risking your life, you could use this as a cost. Some research indicates that this should not be discounted using the typical time value of money, as we seem instinctively to discount hyperbolically rather than exponentially (http://en.wikipedia.org/wiki/Hyperbolic_discounting).