To start with, we will first have to define some terms:
Period: This is the time taken to complete one oscillation.
From the graph, we can observe that 1 oscillation was completed in 1 second,
Thus, the period (T) =1

we will use the formula below to get the sinusoidal function

We can then substitute these values into the equation to derive the function

The graph of the function is shown below
The graph of the parent function is the one in blue, the function is

The required graph is that in red, to obtain the graph, there will be a vertical shift of 2 in the parent function. This function is:

Thus the answer is:
