document.write( "Question 1205033: The graph represents a sine function in the form
\n" ); document.write( "y = A sin B(t + C) + D or a cosine function in the form y = A cos B(t + C) + D. Write both equations for each.\r
\n" ); document.write( "\n" ); document.write( "Answer key: y = 4 sin πt, y = 4 cos π(t - 1/2)
\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "By the way, is there an edit button or similar function to make changes to a post after I've already posted it in case I discover later on I've made a typo?
\n" ); document.write( "

Algebra.Com's Answer #841633 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Students aren't able to edit, but tutors can. So please be sure to review your questions carefully. If you do notice a mistake after the fact, then you can mention it in the thank you note to the tutor. A possibly better alternative is to make a new post. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The highest and lowest points occur when y = 4 and y = -4 respectively.
\n" ); document.write( "Use the midpoint formula to find that y = 0 is the midpoint.
\n" ); document.write( "This leads us to D = 0 which represents the midline.
\n" ); document.write( "This applies to both sine and cosine templates.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The height of this curve is 8 units.
\n" ); document.write( "Half of which is 4, which is the value of A.
\n" ); document.write( "A = 4
\n" ); document.write( "This applies to both sine and cosine templates.
\n" ); document.write( "Technically we could go for A = -4, but I'll stick with the positive version since that's what your teacher picked.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The neighboring peak points occur when x = 0.5 and x = 2.5
\n" ); document.write( "The gap is 2.5 - 0.5 = 2 units which is the period.
\n" ); document.write( "The curve repeats itself every 2 units along the x axis.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "T = period = 2
\n" ); document.write( "T = 2pi/B
\n" ); document.write( "B = 2pi/T
\n" ); document.write( "B = 2pi/2
\n" ); document.write( "B = pi
\n" ); document.write( "This applies to both sine and cosine templates.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So far we found that:
\n" ); document.write( "A = 4
\n" ); document.write( "B = pi
\n" ); document.write( "D = 0
\n" ); document.write( "and they work for both sine and cosine templates mentioned.
\n" ); document.write( "Side note: Cosine is a phase shifted version of sine. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's plug those values in. We'll also plug in one of the points on the curve.
\n" ); document.write( "I'll plug in (0.5, 4)
\n" ); document.write( "This will allow us to solve for C.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So,
\n" ); document.write( "y = A*sin( B(x+C) ) + D
\n" ); document.write( "4 = 4*sin( pi(0.5+C) ) + 0
\n" ); document.write( "4 = 4*sin( pi(0.5+C) )
\n" ); document.write( "sin( pi(0.5+C) ) = 4/4
\n" ); document.write( "sin( pi(0.5+C) ) = 1
\n" ); document.write( "pi(0.5+C) = arcsin(1)
\n" ); document.write( "pi(0.5+C) = pi/2
\n" ); document.write( "0.5+C = 1/2
\n" ); document.write( "1/2+C = 1/2
\n" ); document.write( "C = 1/2 - 1/2
\n" ); document.write( "C = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Summary for the sine template
\n" ); document.write( "A = 4
\n" ); document.write( "B = pi
\n" ); document.write( "C = 0
\n" ); document.write( "D = 0
\n" ); document.write( "This will mean we go from y = A*sin(B(t+C)) + D to y = 4*sin(pi*t)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Cosine will look almost identical in terms of A,B,C,D values.
\n" ); document.write( "A,B,D will be the same.
\n" ); document.write( "C is going to be different.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's plug the known A,B,D values into the cosine template.
\n" ); document.write( "Also let's plug in (0.5, 4) so we can solve for C.
\n" ); document.write( "y = A*cos(B(x+C)) + D
\n" ); document.write( "4 = 4*cos(pi(0.5+C)) + 0
\n" ); document.write( "4 = 4*cos(pi(0.5+C))
\n" ); document.write( "cos(pi(0.5+C)) = 1
\n" ); document.write( "pi(0.5+C) = arccos(1)
\n" ); document.write( "pi(0.5+C) = 0
\n" ); document.write( "0.5+C = 0
\n" ); document.write( "C = -0.5
\n" ); document.write( "C = -1/2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For cosine we have
\n" ); document.write( "A = 4
\n" ); document.write( "B = pi
\n" ); document.write( "C = -1/2
\n" ); document.write( "D = 0
\n" ); document.write( "which explains how we arrive at y = 4*cos(pi(t - 1/2))\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Confirmation using Desmos graph
\n" ); document.write( "https://www.desmos.com/calculator/uatjjocx1m
\n" ); document.write( "I'm using x in place of t much of the time, but you get the idea.
\n" ); document.write( "
\n" ); document.write( "
\n" );