Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In a factory, various metal rods are forged and then plunged into a liquid to quickly cool the metal. The types of metals produced, as

image text in transcribed

image text in transcribed

In a factory, various metal rods are forged and then plunged into a liquid to quickly cool the metal. The types of metals produced, as well as their specific heat capacity, are listed in Table A Table A Specific heat information for various metals Material Aluminum Cadmium Specific Heat [J/(kg K)] 897 231 Material Iron Tungsten Specific Heat J/(kg K)] 450 134 The metal rods may vary in mass and production (initial) temperature. The ideal process lowers the temperature of the material to 50 degrees Celsio The liquid used to cool the metal is glycerol.The propertiss of glycerol are listed below. Initially, the glycerol is at room temperature, assumed to be 75 iegrees Fahrenheit ['F]. Write a program containing the following elements Enter the material names and specific heat information from Table A into a cella . Ask the user to select a material from a menu . Ask the user to enter a 1 2 vector of the mass in grams lid and the initial temperature in degrees Celsius ['C) of the material chosen from the menu. In the prompt to the user e Call the function described below, sending any necessary information to the function as . Write a formatted output statement to the user, similar to the final output shown below state the material name. For example Enter mass Ig] and temperature [deg C] of Aluminum as [m T] required by the solution. The function will return a single vector, described below The numerical formats and spacing should match exactly as shown. Write a function to calculate the thermal energy in joules [J] that must be removed from the material and determine the volume of fluid needed in gallons [gal] to cool the rod to 50C assuming both the fluid and the rod are at this temperature at the end of the cooling process. Table B Properties of glycerol Specific heat (Cp) 2400 kg KSpecific gravity (SG) 1.261 [-1 All properties of glycerol given in Table B should be entered into the function, not the program, Perform any necessary calculations and/or conversions. Be sure to track your units! The function should return a 1 2 vector to the program, with the thermal energy required n joules [J] in the first element, and the volume required in gallons [gal] in the second element

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

2. Compare the sales and service departments at Auto World.

Answered: 1 week ago