Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
Problem Solving Program for HeatTransfer Company Formulations
Answered

Goals

Goals: Developing problem solving skills, using functions with value parameters and reference parameters


Problem: The company, HeatTransfer, is developing 8 new formulations to use for their widgets for heat transfer. To ensure that the formulations produce similar results when they are prepared by 6 plants in different locations, the company has asked each of the six plants to
prepare each formulation and measure the thermal conductivity of the different formulations. You have been asked to develop a program to help analyze the data. Your program should have a main function and 3 other functions as described below.


One function should confirm that the entered value for thermal conductivity is between 3 and 10 inclusive. This function should accept the thermal conductivity to be checked and the plant number that measured this thermal conductivity and prompt the user to re-enter the thermal
conductivity for that plant until a valid value is entered. The prompt to enter a new value should include the formulation number and the plant number. This function should return a valid value to the function call.


One function should accept all 6 thermal conductivities (one for each of the plants) for a specific formulation at one time and send back to function call the highest and lowest of the 6 thermal conductivities to the function call.


One function should accept all the thermal conductivities of a specific formulation and calculate the average of the thermal conductivities for that formulation without the highest and lowest thermal conductivity. This function should call the function to determine the lowest and highest thermal conductivity for a plant, then calculate the average. The average should be returned to the function call. The main function should prompt the user to enter the thermal conductivity for a formulation from each plant one at a time and call the function to ensure the entered value was valid. Next main function should call the function to calculate the average of the values from the plants.


This process should be repeated for each of the 8 formulations. The main function should output the average for each formulation to two decimal places.


Sample output is given below for first 2 formulations (your code should work for all 8). For this project put function definitions after main and use function prototypes Do not use any concepts beyond Chapter 6 (e.g. do not use arrays) to complete this project.


Make sure that you have included your introductory comments containing the purpose of the program i.e. what problem or task is being solved plus the input needed from user to complete the problem/task, output expected from the program, and the processing needed to get the output from the input. The description of the purpose should be detailed enough that a person reading your code would not need any additional information to understand the problem. The processing comments should not include any C++ commands.

 

Also remember that your code should have comments immediately before each function describing what the function is supposed to do, what input is needed by the function (what is passed to the function), what output is expected from the function (returned or sent back to the function call), and the processing for the function.


Remember to confirm all your submissions to CANVAS. You may make multiple submissions to the assignment and the latest one will be graded.

support
close