Weather balloons are used to gather temperature

Assignment Help C/C++ Programming
Reference no: EM13853359

Weather balloons are used to gather temperature and pressure data at various altitudes in the atmosphere.  The balloon rises because the density of the helium in the balloon is less than the density of the surrounding air outside the balloon.  As the balloon rises, the surrounding air becomes less dense, and thus the balloon's ascent slows until it reaches a point of equilibrium.  During the day, sunlight warms the helium trapped inside the balloon, which causes the helium to expand and become less dense and the balloon to rise higher. During the night, however, the helium in the balloon cools and becomes denser, causing the balloon to descend to a lower altitude.  Over time, this process generates a set of altitude measurements that can be approximated with a polynomial equation.

Equation for altitude (meters)

 Altitude =   -0.12t4 + 12t3   -   380t2 + 4100t + 220

________________________________________________

Equation for velocity (meters/hour)

Velocity =   -0.48t3 + 36t- 760t + 4100

Print a table of the altitude and velocity for this weather balloon using units of meters and meters per second.   Let the user enter the start time, increment in time between lines of the table, and ending, time.The range of time cannot exceed 48 hours (hrs must be validated).   In addition to printing the table, print the peak altitude and its corresponding time.

Sample Output:

Enter initial value for table (hrs)0

Enter increment between lines (hrs)1

Enter final value for table  (hrs)5

 Weather Balloon Information

Time     Height    Velocity

  0.00    220.00      1.14

  1.00   3951.88      0.94

  2.00   6994.08      0.76

  3.00   9414.28      0.59

  4.00  11277.28      0.45

  5.00  12645.00      0.32

Maximum balloon height was 12645.00 meters and it occurred at 5.00 hours

Reference no: EM13853359

Questions Cloud

Development session about teams with the managers : Your training and development session about teams with the managers went very well, so well that the participants expressed a desire to have some of the information that you discussed to be available in writing so they can reference it, as needed.
Creates an enumerated data type year : Implement a C++ program that creates an enumerated data type Year that consists of the twelve months from January to December. Read from input the number of visitors to Olympic Park for each month and then calculate the total number of visitors for a..
Recognizing and evaluating stages of art : Recognizing and Evaluating Stages of Art-Select which stage of art development best characterizes each picture
What technology is and how it relates to organizational : Identify what technology is and how it relates to organizational effectiveness.
Weather balloons are used to gather temperature : Weather balloons are used to gather temperature and pressure data at various altitudes in the atmosphere.  The balloon rises because the density of the helium in the balloon is less than the density of the surrounding air outside the balloon.  As the..
A temperature control system consists of four thermostats : A temperature control system consists of four thermostats controlling three heating units. The thermostat contacts are set to close at 50°, 60°, 70°, and 80°F, respectively. The PLC ladder logic program is to be designed so that at a temperature belo..
Find research-based evidence related to a nursing problem : Conduct a systematic search of relevant databases to find research-based evidence related to a nursing problem
What is the lessons learned program : What is the Lessons Learned Program and how might it relate to better project management at NASA?Why is individual accountability so important for managing risks in NASA projects? Doesn't the team shoulder the responsibility for achieving success?
Develop a report for board outlining important features : Develop a report for the Board outlining important features that will need to be considered before proceeding with the expansion - In the business world this may be called a scoping report and can often lead to a full Business Case. This scoping ..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd