Concept explainers
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
The metal rods may vary in mass and production (initial) temperature. The ideal process lowers the temperature of the material to 50 degrees Celsius [°C].
The liquid used to cool the metal is glycerol. The properties of glycerol are listed below. Initially, the glycerol is at room temperature, assumed to be 75 degrees Fahrenheit [°F].
Write a program containing the following elements.
- Enter the material names and specific heat information from Table A into a cell array.
- Ask the user to select a material from a menu.
- Ask the user to enter a 1 × 2
vector of the mass in grams [g] and the initial temperature in degrees Celsius [°C] of the material chosen from the menu. In the prompt to the user, state the material name. For example:
- Call the function described below, sending any necessary information to the function as required by the solution. The function will return a single vector, described below.
- Write a formatted output statement to the user, similar to the final output shown 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 50°C, assuming both the fluid and the rod are at this temperature at the end of the cooling process.
- All properties of glycerol given in Table B should be entered into the function, not the program.
Table B Properties of glycerol
- 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 in joules [J] in the first element, and the volume required in gallons [gal] in the second element.
Sample Output
Want to see the full answer?
Check out a sample textbook solutionChapter 17 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- Calculate for the vertical cross section moment of inertia for both Orientations 1 and 2 of a 1 x 1.5 in. horizontal hollow rectangular beam with wall thickness of t = 0.0625 in. Use the equation: I = ((bh^3)/12) - (((b-2t)(h-2t)^3)/12)arrow_forwardPlease answer 'yes' or 'no' and 'is' or 'is not' for the following:arrow_forwardConsider a large 23-cm-thick stainless steel plate (k = 15.1 W/m-K) in which heat is generated uniformly at a rate of 5 x 105 W/m³. Both sides of the plate are exposed to an environment at 30°C with a heat transfer coefficient of 60 W/m²K. The highest temperature will occur at surfaces of plate while the lowest temperature will occur at the midplane. Yes or No Yes Noarrow_forward
- My answers are incorrectarrow_forwardPicturearrow_forwardWhat is the weight of a 5-kg substance in N, kN, kg·m/s², kgf, Ibm-ft/s², and lbf? The weight of a 5-kg substance in N is 49.05 N. The weight of a 5-kg substance in kN is KN. The weight of a 5-kg substance in kg·m/s² is 49.05 kg-m/s². The weight of a 5-kg substance in kgf is 5.0 kgf. The weight of a 5-kg substance in Ibm-ft/s² is 11.02 lbm-ft/s². The weight of a 5-kg substance in lbf is 11.023 lbf.arrow_forward
- Mych CD 36280 kg. 0.36 givens Tesla truck frailer 2017 Model Vven 96154kph ronge 804,5km Cr Powertrain Across PHVAC rwheel 0.006 0.88 9M² 2 2kW 0.55M ng Zg Prated Trated Pair 20 0.95 1080 kW 1760 Nm 1,2 determine the battery energy required to meet the range when fully loaded determine the approximate time for the fully-loaded truck-trailor to accelerate from 0 to 60 mph while Ignoring vehicle load forcesarrow_forward12-217. The block B is sus- pended from a cable that is at- tached to the block at E, wraps around three pulleys, and is tied to the back of a truck. If the truck starts from rest when ID is zero, and moves forward with a constant acceleration of ap = 0.5 m/s², determine the speed of the block at D the instant x = 2 m. Neglect the size of the pulleys in the calcu- lation. When xƊ = 0, yc = 5 m, so that points C and D are at the Prob. 12-217 5 m yc =2M Xparrow_forwardsolve both and show matlab code auto controlsarrow_forward
- 12-82. The roller coaster car trav- els down the helical path at con- stant speed such that the paramet- ric equations that define its posi- tion are x = c sin kt, y = c cos kt, z = h - bt, where c, h, and b are constants. Determine the mag- nitudes of its velocity and accelera- tion. Prob. 12-82 Narrow_forwardGiven: = refueling Powertran SOURCE EMISSIONS vehide eff eff gasoline 266g co₂/kwh- HEV 0.90 0.285 FLgrid 411ilg Co₂/kWh 41111gCo₂/kWh EV 0.85 0.80 Production 11x10% og CO₂ 13.7 x 10°g CO₂ A) Calculate the breakeven pont (in km driven) for a EV against on HEV in Florida of 0.1kWh/kM Use a drive cycle conversion 5) How efficient would the powertrain of the HEV in this example have to be to break even with an EV in Florida after 150,000 Miles of service (240,000) km Is it plausible to achieve the answer from pert b Consideans the HaXINERY theoretical efficiency of the Carnot cycle is 5020 and there are additional losses of the transMISSION :- 90% efficiency ? c A what do you conclude is the leading factor in why EVs are less emissive than ICE,arrow_forwardsolve autocontrolsarrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY