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