half.periods function

Calculates half periods in terms of e