variating an ouput over time

Joes:
thanks johnwasser for that can you explain what is going on in it?

You'll learn more if you try to understand it yourself.

If you don't want to learn, I will write the complete sketch for $50.