Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Objectives: The boiling point of a substance is the temperature at which the vapor pressure of the liquid is equal to the surrounding atmospheric pressure.
Objectives: The boiling point of a substance is the temperature at which the vapor pressure of the liquid is equal to the surrounding atmospheric pressure. At this point a transition of the material between gaseous and liquid phases occurs. You are hired to assist a physician. Your job is to analysis the data. You received a file that contains the names of some chemicals and substances and their boiling points in Celsius temperature. All boiling points in the input file are normal/atmospheric boiling points: they give the temperature at which the vapor pressure of the liquid is equal to atmospheric pressure at sea level, 1 atm. Design an algorithm and write a C++ program that reads the names of the substances and the boiling points temperatures from the input file and analysis the data as following: Display the data to the screen as illustrated in the sample output Calculate and output the average boiling point temperature. Calculate and output the highest boiling point temperature. Compute and output which substance has the highest boiling point temperature. Sample output to the screen: Common Chemicals & Substances: Substance Boiling Point -------- 20 50 -84 -35 184 Acetaldehyde Acetone Acetylene Ammonia Aniline Benzene Chloroform Ethane Ether Furfurol Glycerin Glycerine Naphthalene Nitrobenzene Petrol Petroleum Phenol Propane Propylene Tar toluene Turpentine Water Xylene 62 -88 35 161 290 290 218 210 95 210 182 -43 -47 300 110 160 100 142 The average boiling point temperature is 108.42 The substance that has the highest boiling point temperature is Tar The highest boiling point temperature is 300
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started