SOLUTION: How can I create a "roller coaster" ( polynomial function) with: 3 relative maximums or minimums The first maximum at 250 ft A length of 4 minutes A tunnel beneath the ground(

Algebra ->  Rational-functions -> SOLUTION: How can I create a "roller coaster" ( polynomial function) with: 3 relative maximums or minimums The first maximum at 250 ft A length of 4 minutes A tunnel beneath the ground(      Log On


   



Question 928146: How can I create a "roller coaster" ( polynomial function) with:
3 relative maximums or minimums
The first maximum at 250 ft
A length of 4 minutes
A tunnel beneath the ground(x axis)
An additional tunnel or relative maximum or minimum
I'm really confused

Found 2 solutions by stanbon, KMST:
Answer by stanbon(75887) About Me  (Show Source):
You can put this solution on YOUR website!
How can I create a "roller coaster" ( polynomial function) with:
3 relative maximums or minimums
The first maximum at 250 ft (not sure if that means x=250 or y = 250)
A length of 4 minutes
A tunnel beneath the ground(x axis)
An additional tunnel or relative maximum or minimum
----
Before you try the math you should sketch the path of the coaster.
---------
It starts at ground level, rises relative max at 250 ft, falls to a relative min
at ?, rises to relative max ??, then falls to ground level at time = 4 minutes.
----------------
The function must be 4th degree.
Its derivative is a cubic with 3 Real zeros
-----
The 4 minutes can be the last zero of the function.
----
Cheers,
Stan H.
=================

Answer by KMST(5328) About Me  (Show Source):
You can put this solution on YOUR website!
It is confusing.
I assume the expected polynomial answer represents height in feet (y) as a function of time in minutes (x).
The domain of the function would be 0%3C=x%3C=4 , the span of time from beginning to end of the ride.
It does not matter if the "shadow" of the ride on the ground is a straight line or curves to let the riders exit near the entrance to the ride.
They do not require that it obeys the laws of physics, either.

Without using calculus, I would recommend using a graphing calculator or a spreadsheet program, such as Excel.
A polynomial would have at most as many maxima and minima as its grade minus 1.
In other words, to have "3 relative maximums or minimums" the grade of the polynomial must be at least 4,
and to have an additional maximum or minimum, the grade of the polynomial must be at least 5.
The sign (positive or negative) of the y height value is easy to see when the polynomial is in factored form.
x%28x-1%29%28x-2%29%28x-3%29%28x-4%29 is a degree 5 polynomial with zeros at
x=0, x=1 , x=2 , x=3 , and x=4 .
(That would make equal to zero the value of the polynomial - the height of the ride - at x=0 and x=4 , so the beginning and end of the ride would be at ground level. That makes it halfway realistic).
That polynomial changes sign at each zero.
It is obviously positive for x%3E4 , where all factors would be positive,
so it must be positive for 2%3Cx%3C3 and 0%3Cx%3C1 ,
and it must be negative for 1%3Cx%3C2 and 3%3Cx%3C4 (two tunnels).
In between zeros, it must hit maxima at some point in 2%3Cx%3C3 and 0%3Cx%3C1 ,
and it must reach minima at some point in 1%3Cx%3C2 and 3%3Cx%3C4 .
That gives you 2 maxima and 2 minima.
You can graph the function with a graphing calculator or a computer plus some software. Because the 5 zeros are evenly spaced by design, it is symmetrical around point (2,0).
Not realistic looking, but may get credit.

You can find the approximate x and y values for the first maximum with a graphing calculator, or some other software. (It would take a lot of trial and error calculations otherwise). A good approximation for y=x%28x-1%29%28x-2%29%28x-3%29%28x-4%29 is x=0.355567 , which makes the value of the polynomial y=3.6314322 .
You could make that first relative maximum 250 by just applying an ugly factor:
y=%28250%2F3.6314322%29x%28x-1%29%28x-2%29%28x-3%29%28x-4%29 has the same shape, but the first maximum is at a height of 250 feet.

With a graphing calculator you may be able to plat with the spacing between the zeros, to get a graph you like better. If you want to reach a higher maximum in between two zeros, space those zeros a little farther apart.

If you want the graph to be horizontal at some zero, make it a double zero. For example if you want the track to be level at zero height at the end of the ride, include %28x-4%29%5E2 as a factor so x=4 will be a zero and a maximum or minimum.
Your ride can start on uphill track, or downhill track, as for y=%28-250%2F17.7675%29%28x%2B0.5%29%28x-1%29%28x-2%29%28x-3%29%28x-4%29%5E2 , with one zero at x%3C0 .
That function would also let your riders get off on level tracks (because of the %28x-4%29%5E2 factor), and would look like this:
In this case, the first maximum is a relative maximum.
For an almost level start, you could try changing the spacing of the zeros on either side of x=0 ,
as in the polynomials red%28%28x%2B0.4%29%28x-0.7%29%28x-1%29%28x-3%29%28x-4%29%5E2%29 , or green%28%28-1%29%28x%2B0.4%29%28x-0.7%29%28x-1%29%28x-3%29%28x-4%29%5E2%29
.
If you were to choose green%28%28-1%29%28x%2B0.4%29%28x-0.7%29%28x-1%29%28x-3%29%28x-4%29%5E2%29 ,
it has a first absolute maximum at x=0 where the value of the polynomial is 13.44 , and a first relative maximum at about x=2.057 , where the value of the polynomial is 12.54635 (rounded). The question then is do we make the height reach 250 feet at the first (absolute) maximum at x=0 by using
y=%28-250%2F13.44%29%28x%2B0.4%29%28x-0.7%29%28x-1%29%28x-3%29%28x-4%29%5E2 ,
or should it reach 250 feet at the first relative maximum at x=2.057 ,
and then the function would be y=%28-250%2F12.54635%29%28x%2B0.4%29%28x-0.7%29%28x-1%29%28x-3%29%28x-4%29%5E2 .