Problem

Sounding rockets are used to probe different levels of the atmosphere to collect informati...

Sounding rockets are used to probe different levels of the atmosphere to collect information (such as that used to monitor the levels of ozone in the atmosphere). In addition to carrying the scientific package for collecting data in the upper atmosphere, the rocket also carries a telemetry system to transmit scientific data to a receiver at the launch site. Performance measurements on the rocket itself are also transmitted, so they can be monitored by range safety personnel and later analyzed by engineers. These performance data include altitude, velocity, and acceleration data. Assume that this information is stored in a file and that each line contains four values—time, altitude, velocity, and acceleration. Assume that the units are seconds, meters, meters/second, and meters/second2, respectively.

The number of stages in the rocket can be determined by the number of times that the velocity increases to some peak and then begins decreasing. Write a program that reads these data and determines the number of stages on the rocket. Use the data file rocket2.txt. It contains a trailer line with the value –99 for all four values.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search