calc e-in another way