See how "a" and "b" affect the amplitude and period of this function.
Why do these factors affect the function in this way?