implement E as euler's number