I am trying to create a function in Excel VBA. This function requires some complex mathematical operations. I am fine with the math, however I don't know the proper syntax to write the operations used in this formula to VBA.

http://imgur.com/Bijhjje

How would I reproduce this part of a formula in VBA? Where would I even begin? Thanks.