Function of time with analytical expression