document.write( "Question 1189813: My teacher asked me to do a roller coaster with polynomial function, he gave me the following requirements:\r
\n" ); document.write( "\n" ); document.write( "- your coaster ride must have at least 3 relative maxima and/or minima
\n" ); document.write( "- the ride length must be at least 2 minutes (120 seconds)
\n" ); document.write( "- the coaster ride starts at 250 feet
\n" ); document.write( "- the ride dives below the ground into a tunnel at least once
\n" ); document.write( "1. List all roots or x-intercepts of your polynomial; be sure to include at least one of each of the following on your
\n" ); document.write( "design: one double root (multiplicity of two) and at least 2 real roots.
\n" ); document.write( "Remember: The x-intercepts you select will be somewhat random. You will have to play around with the intercepts
\n" ); document.write( "you choose to get a picture of the graph that you like and is accurate. You should use time in seconds as your
\n" ); document.write( "independent variable. Your ride has to be at least 2 minutes (120 seconds long) so keep that in mind when you are
\n" ); document.write( "selecting x-intercepts to use.
\n" ); document.write( "2. Create an equation using your x-intercepts (from question #1) and the y-intercept. Explain how you create your equation.
\n" ); document.write( "Avoid using digits 1 and 2 as x-intercepts
\n" ); document.write( "

Algebra.Com's Answer #849263 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
Here's a possible roller coaster design using a polynomial function, addressing all the requirements:\r
\n" ); document.write( "\n" ); document.write( "**1. Roots/x-intercepts:**\r
\n" ); document.write( "\n" ); document.write( "I've chosen the following x-intercepts, keeping in mind the 120-second requirement and avoiding 1 and 2:\r
\n" ); document.write( "\n" ); document.write( "* x = 0 (starting point)
\n" ); document.write( "* x = 10 (first hill)
\n" ); document.write( "* x = 40 (first valley/tunnel entrance)
\n" ); document.write( "* x = 40 (double root - tunnel bottom)
\n" ); document.write( "* x = 60 (tunnel exit)
\n" ); document.write( "* x = 90 (second hill)
\n" ); document.write( "* x = 110 (second valley)
\n" ); document.write( "* x = 120 (ride's end)\r
\n" ); document.write( "\n" ); document.write( "**2. Equation:**\r
\n" ); document.write( "\n" ); document.write( "To create the equation, we'll use the factored form of a polynomial. Each root corresponds to a factor:\r
\n" ); document.write( "\n" ); document.write( "f(x) = A * x * (x - 10) * (x - 40)² * (x - 60) * (x - 90) * (x - 110) * (x - 120)\r
\n" ); document.write( "\n" ); document.write( "* **A:** This is a scaling factor. We'll determine it using the starting height of 250 feet.\r
\n" ); document.write( "\n" ); document.write( "Since f(0) = 250:\r
\n" ); document.write( "\n" ); document.write( "250 = A * 0 * (-10) * (-40)² * (-60) * (-90) * (-110) * (-120)\r
\n" ); document.write( "\n" ); document.write( "Notice that if we plug in zero we will get zero, so we need to change the formula to fit the initial condition, we will add 250 to the formula.\r
\n" ); document.write( "\n" ); document.write( "f(x) = A * x * (x - 10) * (x - 40)² * (x - 60) * (x - 90) * (x - 110) * (x - 120) + 250\r
\n" ); document.write( "\n" ); document.write( "Now plug in zero:\r
\n" ); document.write( "\n" ); document.write( "250 = A * 0 * (-10) * (-40)² * (-60) * (-90) * (-110) * (-120) + 250\r
\n" ); document.write( "\n" ); document.write( "250 = 250\r
\n" ); document.write( "\n" ); document.write( "We still need to find A, to do this we need to select a point in the graph and plug it in, for example f(5) = 300\r
\n" ); document.write( "\n" ); document.write( "300 = A * 5 * (-5) * (-35)² * (-55) * (-85) * (-105) * (-115) + 250\r
\n" ); document.write( "\n" ); document.write( "50 = A * 5 * (-5) * (-35)² * (-55) * (-85) * (-105) * (-115)\r
\n" ); document.write( "\n" ); document.write( "Solving for A:\r
\n" ); document.write( "\n" ); document.write( "A ≈ 1.357e-11\r
\n" ); document.write( "\n" ); document.write( "Therefore, the final equation is:\r
\n" ); document.write( "\n" ); document.write( "f(x) = 1.357e-11 * x * (x - 10) * (x - 40)² * (x - 60) * (x - 90) * (x - 110) * (x - 120) + 250\r
\n" ); document.write( "\n" ); document.write( "**Explanation:**\r
\n" ); document.write( "\n" ); document.write( "* Each factor (x - root) makes the function equal to zero at that root, creating the x-intercepts.
\n" ); document.write( "* The double root at x = 40 makes the graph \"kiss\" the x-axis at that point, creating the tunnel.
\n" ); document.write( "* The scaling factor A controls the overall shape and height of the roller coaster. We solve for A using the initial condition f(0) = 250.\r
\n" ); document.write( "\n" ); document.write( "**Important Notes:**\r
\n" ); document.write( "\n" ); document.write( "* This equation will likely produce very large numbers due to the high powers of x. Graphing software might struggle with it directly. You might need to adjust the scaling factor *A* or use a different approach to get a visually pleasing graph.
\n" ); document.write( "* You can adjust the positions and multiplicities of the roots to fine-tune the shape of your roller coaster.
\n" ); document.write( "* Be sure to use graphing software (like Desmos or Wolfram Alpha) to visualize the function and make sure it meets all the requirements (3 relative extrema, below ground level, 120 seconds long). You may have to iterate a few times to get the shape you want.
\n" ); document.write( "
\n" ); document.write( "
\n" );