The trigonometric equation of a given graph for sin and cos function is in the form of:
Y = A sin Bx + C
A is equal to the difference between the highest value and lowest value divided by 2
B is the length of one period equal to 2π/period
C is the point on y-axis from where the graph starts
For example, we have a sine function graph that starts from 2 at y-axis and goes high upto 6. The time period of the wave is 8π, then,
A = 6-(-2)/2 = 8/2 = 4
B = 2π/8π = ¼
C = 2
Therefore, the trigonometric equation becomes:
Y = 4 sin (x/4) + 2