Question in John chung math 2?! HELP

<p>what is the period of the function y=-2cos(πx-π/12)+5?? the answer is 2 but I couldnt understnd the explanation. someone please elaborate.</p>

<p>Period of sin and cos trig function is always 2π/B. B is the term attached to the “x” variable. In this case, B=π, so 2π/π = 2</p>

<p>Think of the graph of y=f(bx) as of a graph of y=f(x) “compressed” b times towards the y-axis (if b>1).
y=cos(x) has the period 2π, thus y=cos(πx) will have the period 2π/π=2.
Graph of y=-2cos(πx-π/12)+5 will have the same period.</p>