Monopoly models with time-varying demand function