Question

Flow CHART READ THIS PROGRAM OVER SEVERAL TIMES vI: Flow chart the problem that follows. DO NOT WRITE THE CODE. Your grade will depend on how well you show cosmology the behavior of space through time is given by a function called the scale factor r(t). The variable,t, i behaviors of the scale factor depending upon estimates of the amount of matter in the universe. The amount of rogrom will start by asking the user for the epsilon value only from which an output ofr and t will be that the flow chart represents the structure of this program and basic calculations and logical expressions are ented in the flow chart(show formulas used below in the chart) and proper flowchart symbols are used. In and has the range O to 2 radians interval 0.01. The Freedman model predicts three possible matter depends on a factor kno wn as Elpsilon) being 0,+1 or-1. With E -O then r(t) Gt/2, With Es -1 then rlt) and with E-+1 then rft) G(1-costt)). G is related to Newtons gravitational constant and 94000. produced fro t is m the appropriate formula for the range of t values. The program should terminate when the range of inished. HINT. Reflected in the flow chart must be the WHILE loop and If-elseif else structures for full credit. USE PENCIL & LEAVE PLENTY OF ROOM and show the connecting lines with flow direction in the chart.
int X(6), C(3): /HINT THESE ARE GLOBAL VARIABLES int TestMe(int & Y, int Zk-...m int main 0 Ill: What is the output from the following SEGMENT: note TYPES OF PARAMETERS AND VARIABLE SCOPES W TestMe(A, B); cout <<-A << A << B = << B << endl; int TestMe (int &Y, int Z) cout << C << C << endl; cout << Y = << Y << endl; return Z; IV: : Write a function that will calculate the length of the hypotenuse of a right triangle and add it to the area. The function will take two real number parameters for the other two sides of the right triangle. The function will return the resulting sum it computes and be sure to show the header. Add for full credit a call expression to the function from main. Assume appropriate libraries have been called. V. Construct a program using MSVS and Use the well known trapezoidal rule to get an accurate area under the curve for u(t)-2t (sin2t +8): from 0 to 0.9 radians. Run this program and attached code, and output all with your name on it.Use comments and instructions to user who enters the limits 0 to 0.9. The function should be gotten via a call to the function. Attach to the blue book when done.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

As per the given details the solution should be as follows :

Stat Set G:9400o ord O Read Evalue Falue Trou False False False Fol se Tree Trua True t valuu t Valu

The output is as follows:

Y = 5 Z = 2

C = 3

X = 1

X = 11 Z = 7

Y = 18

A = 18 B = 2

X = 11 C = 4

W = 7

HOPE THIS MAY HELP YOU---

THANK YOU ……. PLEASE LIKE,IT WILL INCREASE MY SCORE,

HOPE YOU WILL ENCOURAGE ME…..

Add a comment
Know the answer?
Add Answer to:
Flow CHART READ THIS PROGRAM OVER SEVERAL TIMES vI: Flow chart the problem that follows. DO...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • READ THIS PROGRAM OVER SEVERAL TIMES VI: (10 pts) Flow chart the problem that follows. DO...

    READ THIS PROGRAM OVER SEVERAL TIMES VI: (10 pts) Flow chart the problem that follows. DO NOT WRITE THE CODE. Your grade will depend on how well you show that the flow chart represents the structure of this program and basic calculations and logical expressions are represented in the flow chart(show formulas used below in the chart) and proper flowchart symbols are used. In cosmology the behavior of space through time is given by a function called the scale factor...

  • C++ Programming - Design Process I need to create a flow chart based on the program...

    C++ Programming - Design Process I need to create a flow chart based on the program I have created. I am very inexperienced with creating this design and your help will be much appreciated. My program takes a string of random letters and puts them them order. Our teacher gave us specific functions to use. Here is the code: //list of all the header files #include <iomanip> #include <iostream> #include <algorithm> #include <string> using namespace std; //Here are the Function...

  • USE THE TABLE AND OUTPUT TECHNIQUE FOR THIS 8 POINT PROBLEM What is the output from...

    USE THE TABLE AND OUTPUT TECHNIQUE FOR THIS 8 POINT PROBLEM What is the output from the following SEGMENT: note TYPES OF PARAMETERS AND VARIABLE SCOPES Hint: A table is not necessary but it may help you get the output and its order int (4), C(2): HINT THESE ARE GLOBAL int TestMe(int &Y, int Z) / PROTOTYPE FOR THE FUNCTION int main 0 int A BW: A = 4: B-3 W = Test Me A, B) MI CALL TO THE...

  • Question 19 4 pts Using the program below, please complete the program by adding 2 functions...

    Question 19 4 pts Using the program below, please complete the program by adding 2 functions as follow: 1. A function named getAverage that calculates and returns the Average. 2. A function named getMaximum that returns the maximum of the three numbers. Make sure to use the proper data types for all variables and functions. #include <iostream> using namespace std; //function getAverage //function getMaximum int main(int argc, char** argv) { int x, y, z; cout << "Enter three whole numbers:...

  • C++ problem where should I do overflow part? in this code do not write a new...

    C++ problem where should I do overflow part? in this code do not write a new code for me please /////////////////// // this program read two number from the user // and display the sum of the number #include <iostream> #include <string> using namespace std; const int MAX_DIGITS = 10; //10 digits void input_number(char num[MAX_DIGITS]); void output_number(char num[MAX_DIGITS]); void add(char num1[MAX_DIGITS], char num2[MAX_DIGITS], char result[MAX_DIGITS], int &base); int main() { // declare the array = {'0'} char num1[MAX_DIGITS] ={'0'}; char...

  • 5.15 PROGRAM: Functions - Upset Fowls (C++) (1) Correct the first FIXME by moving the intro...

    5.15 PROGRAM: Functions - Upset Fowls (C++) (1) Correct the first FIXME by moving the intro text to the function stub named PrintIntro and then calling the PrintIntro function in main. Development suggestion: Verify the program has the same behavior before continuing. (2) Correct the second FIXME by completing the function stub GetUsrInpt and then calling this function in main. Notice that the function GetUsrInpt will need to return two values: fowlAngle and fowlVel. (3) Correct the third FIXME by...

  • A) One of the problems that have been discussed in the class is to write a simple C++ program to ...

    C++ programming question will upvote A) One of the problems that have been discussed in the class is to write a simple C++ program to determine the area and circumference of a circle of a given radius. In this lab you will be rewriting the program again but this time you will be writing some functions to take care of the user input and math. Specifically, your main function should look like the following int main //the radius of the...

  • 81. The following function call doesn’t agree with its prototype:              cout << BoxVolume( 10, 5...

    81. The following function call doesn’t agree with its prototype:              cout << BoxVolume( 10, 5 );                    int BoxVolume(int length = {1}, int width = {1}, int height = {1});                                                     T__   F__                                                                     82. The following function is implemented to swap in memory the          argument-values passed to it:         void swap(int a, int b)                   {           int temp;             temp = a;             a = b;             b = temp;        ...

  • PART1 Answer the following question in a Word document named as SP2019LAB7 PART1 YourlastName.doc...

    what's the solution for the c++ project? PART1 Answer the following question in a Word document named as SP2019LAB7 PART1 YourlastName.docx Question1: What is the output of the following program? #include <iostream> using namespace std; int main() int count; int alpha(51: alpha[0] -4; for (count 1; count <5; count++) alpha[count] = 4 * count + 1 alpha(count 1] alpha[counk] -8; LAB7 cout << List elements: "; for (count = 0; count < 5; count++) cout <s alphalcount]<<"" cout<s endl; return...

  • Need help with the flow chart of this program #include #include using namespace std; string months[]...

    Need help with the flow chart of this program #include #include using namespace std; string months[] = {"January","February ","March","April","May","June","July","August","September","October","November","December"}; int days_in_months[] = {31,28,31,30,31,30,31,31,30,31,30,31}; class Date //Sample Class for the C++ Tutorial { private: int month; //Data member int day; // Data member int year; public: Date(int m, int d, int y) { if(m<1 || m >12) month = 1; else month = m; if(d<1 || d >days_in_months[month-1]) day = 1; else day = d; if(y<2001) year = 2001; else year...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT