buzzlightyear79 0 Newbie Poster

this program is very chalenging and i was wondering if you could provide some ideas as how to solve it.

You are required to simulate the trajectory of a 60-ft long test rocket.
Engineers predict that under the current wind conditions, the height of
the rocket at time t is given by

Height = 55 + 2.07t 2 − 0.0019t 4 + 0.000028t(4.751−ε )
The equation gives the height of the nose of the rocket above ground
in feet at time t, which is counted in seconds, elapsed after launch.
The value of ε may vary from 0 to 0.015.
Write a program that simulates the flight of the rocket for the first 100
seconds. The height is going to increase for a while and then it will
start to drop. Initially, compute the height of the rocket at increments
of 2.0 seconds. Once the height drops to 50 feet, increments are to be
0.1 seconds. The simulation is to halt after 100 seconds or after
impact, whichever happens first. Repeat the whole simulation for
values of ε ranging from 0 through 0.015 in increments of 0.005.
Output your results both to the screen and to a file, neatly formatted
so that it is easily readable. Warn the user when the rocket starts to
descend after attaining maximum height. Warn the user again when
the rocket descends to a height of 50 feet. Show the value of ε clearly
at the top of your output, and separate out the output for different
values of ε.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.