typical usage and recurring period calculation

hdu 1358, 1711