A Determination of the Risk of Ruin