The graph of f(x)=cos(x) is transformed into a new function, g(x) , by stretching it vertically by a factor of 3 and shifting it 2 units up.

What is the equation of the new function g(x) ?



Enter your answer in the box.

g(x)=

3cos(x) + 2