Finding expressions for sine and cosine graphs.
Determine the formula for cosine function graphed below.

Solution: First we write general equation of cosine function.
First we draw a mid line ( dashed line) passing horizontally through the middle of this graph and follow the procedure given below.

- look at the distance of max or min point of this graph from this midline. This will give you amplitude A= 4
- Look at the distance of mid line (dashed one) from x axis. This gives you vertical shift C =4
- Look at the period which is the distance between either two consecutive max points or two min points. Then use formula
- Here distance between two max points (period) = 7-1= 6.
- Phase shift is the horz shift. Here graph is shifted to right horizontally by 1 unit so D=1
- Finally plugin all the values of A,B,C and D into general cosine fucntion and we get
