Answer:
The correct option is B.
Explanation:
From the given graph it is clear that the maximum value of the function is 2 at x=0, so it a cosine function.
The general form of a cosine function is
.... (1)
Where, a is amplitude, 2π/b is period, c is phase shift and d is midline.
Since maximum value is 2 and minimum value is 0, so



Since maximum value is at x=0, therefore the phase shift is c=0.
Put these values in equation 1.


Therefore the correct option is B.