Formula of Margin of Safety