Answer:
The correct option is A.
Explanation:
The given function is

We know that the value of cos(x) lies from -1 to 1.




Therefore the maximum value of f(x) is 7.
From the given graph it is clear that the vertex of the function g(x) is (2,3). So, the maximum value of the function g(x) is 3.
From the given table it is noticed that the maximum value of the function is -2.

Therefore, the function f(x) has largest maximum. Option A is correct.