Absolute Value and Periodic Functions