Concept explainers
Write a MATLAB function named sumTtUp that will accept three input variables and return two output variables. If the sum of the first two input variables is greater than 100, the function should display the inputs showing two decimal places in the following format. Assume in this formatting example that the numbers 55. 66, and 77 are the input variables:
The inputs are 55.00, 66.00 and 77.00.
Otherwise, if the sum of the first two input variables is less than or equal to 100, the function should display the formatted output using no decimal places, for example:
The inputs are 25, 10 and 13.
The first variable the function returns should be the sum of the first and second variables. The second variable the function returns should be the sum of the second and third variables.

Want to see the full answer?
Check out a sample textbook solution
Chapter 18 Solutions
THINKING LIKE AN ENGINEER W/ACCESS
- This is an exam review question. The answer is Pmin = 622.9 lb but whyarrow_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_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_forwardThis is an old practice exam. Fce = 110lb and FBCD = 62 lb but whyarrow_forwardQuiz/An eccentrically loaded bracket is welded to the support as shown in Figure below. The load is static. The weld size for weld w1 is h1 = 4mm, for w2 h2 = 6mm, and for w3 is h3 =6.5 mm. Determine the safety factor (S.f) for the welds. F=29 kN. Use an AWS Electrode type (E100xx). 163 mm S 133 mm 140 mm Please solve the question above I solved the question but I'm sure the answer is wrong the link : https://drive.google.com/file/d/1w5UD2EPDiaKSx3W33aj Rv0olChuXtrQx/view?usp=sharingarrow_forward
- 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 absorberarrow_forwardQ5:(? 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 ☑ 250CFMarrow_forwardA 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).arrow_forward
- 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
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage LearningElectrical Transformers and Rotating MachinesMechanical EngineeringISBN:9781305494817Author:Stephen L. HermanPublisher:Cengage LearningRefrigeration and Air Conditioning Technology (Mi...Mechanical EngineeringISBN:9781305578296Author:John Tomczyk, Eugene Silberstein, Bill Whitman, Bill JohnsonPublisher: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 LearningAutomotive Technology: A Systems Approach (MindTa...Mechanical EngineeringISBN:9781133612315Author:Jack Erjavec, Rob ThompsonPublisher:Cengage Learning





