document.write( "Question 1194135: The water level varies from 12 inches at low tide to 52 inches at high tide. Low tide occurs at 9:15 am. High tide occurs at 3:30 pm. What is a cosine function that models the variation in inches above and below the water level as a function of time and hours since 9:15 am?\r
\n" ); document.write( "\n" ); document.write( "Please tell me what should I put as answer for the a cosine function. From chegg I got the answer as f(x) = 20 (x -0.99 ) + 32. Is that correct?
\n" ); document.write( "

Algebra.Com's Answer #826263 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The starting point for the function (t=0) is at low tide. Since the maximum of the basic cosine function is at t=0, we can use a negative cosine function with no horizontal shift.

\n" ); document.write( "High tide is 52 inches and low tide is 12 inches. The difference is 40 inches, so the amplitude is 20; the midline is 32. So the function is of the form

\n" ); document.write( "\"y=-20%2Acos%28bx%29%2B32\"

\n" ); document.write( "The only missing part is the coefficient b, which is (2pi) divided by the period.

\n" ); document.write( "Half the period is between low tide and high tide, which is 6.25 hours; so the period is 12.5 hours. The desired function is then

\n" ); document.write( "\"y=-20%2Acos%28%282pi%2F12.5%29x%29%2B32\"

\n" ); document.write( "A graph, showing low tide of 12 inches at t=0 (9:15am) and high tide of 52 inches at t=6.25 (3:30pm) -- and the next low tide 12.5 hours after the first one (9:45pm):

\n" ); document.write( "\"graph%28400%2C400%2C-pi%2F2%2C9pi%2F2%2C-10%2C70%2C-20%2Acos%28%282pi%2F12.5%29x%29%2B32%29\"

\n" ); document.write( "-------------------------------------------------------------------------

\n" ); document.write( "Commenting on tutor @ikleyn's comments about the other responses, note that the response from alan3354 is in fact correct, because he used a horizontal shift of pi radians, making the positive coefficient on the cosine function correct.

\n" ); document.write( "------------------------------------------------------------------------

\n" ); document.write( "To the student, who asked a completely different question in a \"thank you\" note regarding this problem....

\n" ); document.write( "We generally can't answer questions that you ask in that way. You need to post your questions in the normal way.

\n" ); document.write( "However, there is a quick answer to the question you asked this time.

\n" ); document.write( "The angle t goes from 0 to 2pi; but the angle in the problem is 2t, so 2t goes from 0 to 4pi. The two answers you didn't find are each simply 2pi more than the answers you DID find, because the range is 0 to 4pi instead of 0 to 2pi.
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );