
Thinking Like an Engineer
4th Edition
ISBN: 9781269910989
Author: Elizabeth A. Stephan, David R. Bowman, William J. Park, Benjamin L. Sill, Matthew W. Ohland
Publisher: Pearson Learning Solutions
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 17, Problem 11ICA
For each MATLAB code segment shown, write the function header necessary to convert the code segment into a function. Use the guidelines specified with each problem.
- a. The function will have one output, the variable x. The function will be stored in a file named candyCrush.m.
X = (A+B+B^A)*pi;
- b. The function should have five output variables: the paintable area of each wall (all four walls) and the total paintable area. You may assume this function will be stored in a file named FullHouse.m.
P1 = Wal11 * RoomHeight;
P2 = Wal12 * RoomHeight;
P3 = Wal13 * RoomHeight;
P4 = Wal14 * RoomHeight;
PaintableArea = P1 + P2 + P3 + P4 ;
- c. The function should have three output variables: the minimum value, the maximum value, and the average value. You may assume this function will be stored in a file named MinMaxMean.m.
MyMin = min([D,D^2,D*l0]);
MyXax = max([D^3,D*3,D + 3000]);
MyMean = mean([D/2,D/3,D/4]);
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
Q2: (15 Marks)
A water-LiBr vapor absorption system incorporates a heat exchanger as shown in
the figure. The temperatures of the evaporator, the absorber, the condenser, and the
generator are 10°C, 25°C, 40°C, and 100°C respectively. The strong liquid leaving
the pump is heated to 50°C in the heat exchanger. The refrigerant flow rate through
the condenser is 0.12 kg/s. Calculate (i) the heat rejected in the absorber, and (ii) the
COP of the cycle.
Yo 8
XE-V
lo
9
Pc
7
condenser
5
Qgen
PG
100
Qabs
Pe
evaporator
PRV
6
PA
10
3
generator
heat exchanger
2
pump
185
absorber
Q5:(?
Design the duct system of the figure below by using the balanced pressure method.
The velocity in the duct attached to the AHU must not exceed 5m/s. The pressure
loss for each diffuser is equal to 10Pa.
100CFM
100CFM
100CFM
☑
☑
40m
AHU
-16m-
8m-
-12m-
57m
250CFM
40m
-14m-
26m
36m
☑
250CFM
A mass of ideal gas in a closed piston-cylinder system expands from 427 °C and 16 bar following the process law, pv1.36 = Constant (p times v to the power of 1.36 equals to a constant). For the gas, initial : final
pressure ratio is 4:1 and the initial gas volume is 0.14 m³. The specific heat of the gas at constant pressure, Cp = 0.987 kJ/kg-K and the specific gas constant, R = 0.267 kJ/kg.K.
Determine the change in total internal energy in the gas during the expansion. Enter your numerical answer in the answer box below in KILO JOULES (not in Joules) but do not enter the units. (There is no
expected number of decimal points or significant figures).
Chapter 17 Solutions
Thinking Like an Engineer
Ch. 17.1 - Prob. 1CCCh. 17.2 - What is the output when you pass in the value 10...Ch. 17.2 - Write a function named RAC that will accept two...Ch. 17 - Which of the following are not valid...Ch. 17 - Without running these code segments in MATLAB,...Ch. 17 - Prob. 3ICACh. 17 - ICA 17-4
Write a program to store the following...Ch. 17 - Write a MATLAB program to evaluate the following...Ch. 17 - Write a MATLAB program to evaluate the following...Ch. 17 - Write a MATLAB program to evaluate the following...
Ch. 17 - Prob. 8ICACh. 17 - Prob. 9ICACh. 17 - The Shockley diode equation gives the relationship...Ch. 17 - For each MATLAB code segment shown, write the...Ch. 17 - Prob. 12ICACh. 17 - A member of your team gives you the following...Ch. 17 - Prob. 14ICACh. 17 - Consider the following MATLAB program and...Ch. 17 - A novice MATLAB user created the following code...Ch. 17 - The specific gravity of gold is 19.3. Write a...Ch. 17 - An unmanned X-43A scramjet test vehicle has...Ch. 17 - A rod on the surface of Jupiters moon Callisto has...Ch. 17 - The Eco-Marathon is an annual competition...Ch. 17 - Write a program to determine the mass of oxygen...Ch. 17 - Write a program to convert a temperature provided...Ch. 17 - Write a program to determine how long, in units of...Ch. 17 - A cylindrical tank filled to a height of 25 feet...Ch. 17 - Write a MATLAB program that implements the...Ch. 17 - Write a MATLAB program that implements the...Ch. 17 - The specific gravity of gold is 19.3. Write a...Ch. 17 - An unmanned X-43A scramjet test vehicle has...Ch. 17 - Prob. 13RQCh. 17 - A cylindrical tank filled to a height of 25 feet...Ch. 17 - Write a function that implements the quadratic...Ch. 17 - Write a function that implements the Pythagorean...Ch. 17 - As part of a team investigating the effect of mass...Ch. 17 - We have made many measurements of coffee cooling...Ch. 17 - In a factory, various metal pieces are forged and...Ch. 17 - Prob. 21RQCh. 17 - Prob. 22RQCh. 17 - You have been assigned to a new project at work....Ch. 17 - You have been assigned to a new project at work....Ch. 17 - You have been assigned to a new project at work....
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.Similar questions
- my ID# 016948724. Please solve this problem step by steparrow_forwardMy ID# 016948724 please find the forces for Fx=0: fy=0: fz=0: please help me to solve this problem step by steparrow_forwardMy ID# 016948724 please solve the proble step by step find the forces fx=o: fy=0; fz=0; and find shear moment and the bending moment diagran please draw the diagram for the shear and bending momentarrow_forward
- My ID#016948724 please solve this problems and show me every step clear to follow pleasearrow_forwardMy ID# 016948724arrow_forwardPlease do not use any AI tools to solve this question. I need a fully manual, step-by-step solution with clear explanations, as if it were done by a human tutor. No AI-generated responses, please.arrow_forward
- Please do not use any AI tools to solve this question. I need a fully manual, step-by-step solution with clear explanations, as if it were done by a human tutor. No AI-generated responses, please.arrow_forwardPlease do not use any AI tools to solve this question. I need a fully manual, step-by-step solution with clear explanations, as if it were done by a human tutor. No AI-generated responses, please.arrow_forward[Q2]: The cost information supplied by the cost accountant is as follows:Sales 20,00 units, $ 10 per unitCalculate the (a/ newsale guantity and (b) new selling price to earn the sameVariable cost $ 6 per unit, Fixed Cost $ 30,000, Profit $ 50,000profit ifi) Variable cost increases by $ 2 per unitil) Fixed cost increase by $ 10,000Ili) Variable cost increase by $ 1 per unit and fixed cost reduces by $ 10,000arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage LearningRefrigeration and Air Conditioning Technology (Mi...Mechanical EngineeringISBN:9781305578296Author:John Tomczyk, Eugene Silberstein, Bill Whitman, Bill JohnsonPublisher:Cengage LearningAutomotive Technology: A Systems Approach (MindTa...Mechanical EngineeringISBN:9781133612315Author:Jack Erjavec, Rob ThompsonPublisher:Cengage Learning
- International Edition---engineering Mechanics: St...Mechanical EngineeringISBN:9781305501607Author:Andrew Pytel And Jaan KiusalaasPublisher:CENGAGE LPrecision Machining Technology (MindTap Course Li...Mechanical EngineeringISBN:9781285444543Author:Peter J. Hoffman, Eric S. Hopewell, Brian JanesPublisher:Cengage LearningUnderstanding Motor ControlsMechanical EngineeringISBN:9781337798686Author:Stephen L. HermanPublisher:Delmar Cengage Learning

Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning

Refrigeration and Air Conditioning Technology (Mi...
Mechanical Engineering
ISBN:9781305578296
Author:John Tomczyk, Eugene Silberstein, Bill Whitman, Bill Johnson
Publisher:Cengage Learning

Automotive Technology: A Systems Approach (MindTa...
Mechanical Engineering
ISBN:9781133612315
Author:Jack Erjavec, Rob Thompson
Publisher:Cengage Learning

International Edition---engineering Mechanics: St...
Mechanical Engineering
ISBN:9781305501607
Author:Andrew Pytel And Jaan Kiusalaas
Publisher:CENGAGE L

Precision Machining Technology (MindTap Course Li...
Mechanical Engineering
ISBN:9781285444543
Author:Peter J. Hoffman, Eric S. Hopewell, Brian Janes
Publisher:Cengage Learning

Understanding Motor Controls
Mechanical Engineering
ISBN:9781337798686
Author:Stephen L. Herman
Publisher:Delmar Cengage Learning
The Robot Revolution: The New Age of Manufacturing | Moving Upstream; Author: Wall Street Journal;https://www.youtube.com/watch?v=HX6M4QunVmA;License: Standard Youtube License