Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using c++ simple programming. If &else. Function WEATHER BALLOON CHARACTERISTICS You will develop a program for simulating the characteristics of three weather balloons. Your instructor

Using c++ simple programming. If &else. Function image text in transcribed
image text in transcribed
WEATHER BALLOON CHARACTERISTICS You will develop a program for simulating the characteristics of three weather balloons. Your instructor will assign which three balloons from the total inventory of six weather balloons that you will model in your program. Users would like to learn about the behaviors of the assigned weather balloons. Your program will provide output data in a file for each selected weather balloon's performance. The user will select the weather balloon, and your program will provide a table in the output data file with time, height and velocity. There are six different weather balloons in the inventory: WB_1, WB 2, WB_3, WB 4, WB 5, and WB 6 Each has different flight characteristics (height and velocity behavior, as in the table below). Height and velocity equations and related parameter values for each balloon are provided below Height Equation (function of time) A1xtB1xt+C1xt D1xt E1 velocity Equation (function of time)-A2xt. + B2x t, ?2xt2+ D2x t + E2 EQUATION PARAMETER VALUES FOR THE BALLOONS A1 | B1 C1 | D1 E1 | A2 | B2 | C2 | D2 | E2 | WB-11-0.12 | 12 | -380 | 41001- 220-?-?-?-0.48T-36-1-760 14100 wB21 -0.11 10?1-235-850 178 | 0-0.5 34 1- WB 3 -0.18 14 401 4860 235-0.6 39 843 4300 WB 4 0.19 15-325 S030 2260 564 3450 WB 5 017 15 370 $410 208 00.51 40 WB 6-0.15 16 381 5790 241 0 0.64 37 605 3950 -746 4240 0.46 41 -888 4025 EGR 126 PROIECT 21 DLMUTLU Page 1 USER INPUTS Two inputs: a) Selection of the weather balloon b) Time frame of the flight simulator BALLOON: User will be able to select the weather balloon to learn about the Height and Velocity within the requested time frame. The menu options (presented by the myMenu function) are: 1. Option 1 Weather balloon 3 (WB 3) 2. Option 2 Weather balloon 4 (WB_4) 3. Option 3 Weather balloon 5 (WB 5) 4. Exit TIME: User will be able to select the time/duration to record/observe the behaviors of the balloon. Enter initial value of time (in hours) Enter the time increment (in hours) Enter the final value of time (in hours) FUNCTIONS (required) You are expected to develop three functions for this project: 1. myMenu shows the main menu with four options

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

More Books

Students also viewed these Databases questions