LN = natural log (http://en.wikipedia.org/wiki/Natural_logarithm)
In Excel, to get the natural log of 5,000 you would enter the formula =LN(5000)
If a trading system has a 60% win rate and you want to know what the expected maximum number of consecutive losses over 5,000 trades is you would...