Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For C++ Below 200 degrees C the conductivity of the material is zero 75*sin(4.5w) From 200 up to 325 degrees C, 350- 90*sin(4.8w) From 325

For C++image text in transcribed

Below 200 degrees C the conductivity of the material is zero 75*sin(4.5w) From 200 up to 325 degrees C, 350- 90*sin(4.8w) From 325 up to 400 degrees C, +3.1 415-T 100*sin(4.2*w) From 400 up to 510 degrees C, - 9.05 520-T 25*sin(4.1*w) From 510 up to 700 degrees C, X- 19.12 705-T 125*sin(4.4w) From 700 up to 950 degrees C, X- 32 960-T 18*sin(4.45w) From 950 up to 1210 degrees C, - +44.5 1211-T At 1210 degrees C the material decomposes into two phases Where is the conductivity in siemens/meter, w-weight percent, and T is the temperature in degrees C. The weight percent beryllium is entered as a percentage, not a fraction, eg. 4.5% would be entered as 4.5 not 0.045. The resultant angle is in degrees. The investigators have made the material containing from 0.5 weight percent up to 20 weight percent beryllium. You are to create a program that will calculate the approximate conductivity given the temperature and weight percent beryllium entered by the user. Your program should use one single-branched (simple) if to check the validity of the temperature (-273 to 1210 degrees C) and use another single-branched (simple) if to check the validity of the entered weight percent (0.5 to 20 weight percent). You should assume the user will not enter an invalid value for temperature or weight percent twice. Once the information has been entered and checked, your program should employ a if-else if structure to determine the approximate conductivity. Design your code to use a minimum number of relational operators. Your program should output a message similar to "At 250 degrees C and a material with 11 weight percent beryllium would have an approximate conductivity of 0.5703 seimens/ meter." The output of the conductivity should be to 4 significant digits

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

More Books

Students also viewed these Databases questions

Question

=+ Are these impediments caused by policy/procedure?

Answered: 1 week ago