what is the ei function
Exponential integral. In mathematics, the exponential integral Ei is  a special function on the complex plane. It is defined as one particular definite integral of the ratio between an exponential function and its argument.