Life-cycle cost and risk analysis