It looks like you confused the effect of a and b in . The amplitude of this graph is 2, while the amplitude of is 3. This graph has 3 cycles in the interval , or a period of . The period of is .