
Introduction to sin and cos functions and graphing.
Theory:Sine and cosine functions have the form of a periodic wave: The period, T, is the distance between any two repeating points on the function. The amplitude, A, is the distance from the midpoint to the highest or lowest point of the function. Phase shift is the amount of horizontal displacement of the function from its original position. These periodic functions can be written in sine or cosine form. The general form of the sine function is: y = Asin(Bx + C) + D where:
A positive phase shift means the graph has moved to the left, while a negative phase shift means the graph has moved to the right. Phase angle = (phase shift)*^{T}/_{360°}. This is a common way to measure phase shift. A 360° phase shift is a shift through one complete period. 'D' is the amount of vertical displacement, or 'y' shift, of the mid point of the function above the 'x' axis. The general form of the cosine function is: y = Acos(Bx + C) + D Cosine functions are identical to the sine functions, except that they are phase shifted to the left by 90°. By accounting for this shift, any sine function can be written as a cosine function, and any cosine function can be written as a sine function. Example: This example will work for both sine and cosine functions. Use Maths Helper Plus to plot the sine function, given:
Solution: Let the unknown sine function be: y = Asin(bx + c) + d
Method:Maths Helper Plus can graph sine or cosine functions easily. You just type the function then press the 'Enter' key to plot the graph. For the 'sine' function, we have created a helpful document that calculates the equation when the amplitude, period, phase and 'y' shift are given. Also, if you know the equation:Â y = asin(bx+c)+d, then it will calculate the phase shift, period, and other useful values. It shows all working steps and graphs the function as well. Â
Step 2Â Display the parameters boxPress the F5 key to display the parameters box: Â Click on the edit boxes and change the values to suit your problem type. Â If 'X' = 1, then the function graphed is: y = Asin(Bx + C) + D, and the period and phase shift are calculated. Â If 'X' = 2, then the edit box value are interpreted as follows: Â
When you have entered your values, click the 'Update' button to refresh the calculations and graph display. Â Step 3Â Adjust the scale of the labelled diagramYou can change the scale horizontally by holding down Ctrl and pressing the left or right arrow key. Change the vertical scale by holding down Ctrl while pressing the up or down arrow key. Â
Â 