You may have confused the effects of a and b in . The function has an amplitude of 5 and a period of . The graphed function has an amplitude of 3 and a period of .