duration function

Duration of a time wave