Notes about the A*cos (2*π*n*x + φ) formula: changing the "A" parameter stratches the graph along the COS axis (vertical) [Figure 1]; changing the "n" parameter stratches the graph along the X axis (horizontal) [Figure 2]; changing the "f" moves the graph along the X axis (on the left if f > 0 and on the right if f < 0) [Figure 3].