http://msdn.microsoft.com/ru-ru/library/system.math.aspx

В блоке формула пишите : Math.Log(2)