Concept explainers
Write a MATLAB statement that results in the input request shown in bold. The >> shows where your statement is typed, and the | shows where the cursor waits for input. The display must be correctly positioned. Each has a space before the cursor (shown as |). The input variable name and the variable type are shown at the right.
- a. >>
Enter the length of the bolt in inches: | (bolt, a number)
- b. >>
Enter the company’s name: | (Company, text)
- c. >>
(In this statement, the window displayed will appear for the user to choose a color, and the result will be stored in the Variable LineColor.)
a.

Write a MATLAB statement to show the given input.
Answer to Problem 1ICA
The MATLAB statement to show the given input is written.
Explanation of Solution
Given data:
The given input is written as follows.
Enter the length of the bolt in inches:
Description:
Write the MATLAB statement to show the given input as follows.
bolt = input('Enter the length of the bolt in inches: ')
Press the Enter and obtain the required objective as follows.
Enter the length of the bolt in inches:
Conclusion:
Thus, the MATLAB statement to show the given input is written.
b.

Write a MATLAB statement to show the given input.
Answer to Problem 1ICA
The MATLAB statement to show the given input is written.
Explanation of Solution
Given data:
The given input is written as follows.
Enter the company's name:
Description:
Write the MATLAB statement to show the given input as follows.
Company = input('Enter the company''s name: ','s')
Press the Enter and obtain the required objective as follows.
Enter the company's name:
Conclusion:
Thus, the MATLAB statement to show the given input is written.
c.

Write a MATLAB statement to show the given input.
Answer to Problem 1ICA
The MATLAB statement to show the given input is written.
Explanation of Solution
Given Data:
The given input is a pop up menu, which asks the user to choose a color from Red, Green, and Blue.
Description:
Write the MATLAB statement to show the given input as follows.
LineColor = menu('Choose a color','Red','Green','Blue')
Press the Enter and obtain the required objective as follows.
If the user presses red, it shows the line color as 1.
LineColor =
1
Conclusion:
Thus, the MATLAB statement to show the given input is written.
Want to see more full solutions like this?
Chapter 17 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
- Precision 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 LearningRefrigeration and Air Conditioning Technology (Mi...Mechanical EngineeringISBN:9781305578296Author:John Tomczyk, Eugene Silberstein, Bill Whitman, Bill JohnsonPublisher:Cengage Learning
- Automotive Technology: A Systems Approach (MindTa...Mechanical EngineeringISBN:9781133612315Author:Jack Erjavec, Rob ThompsonPublisher:Cengage LearningPrinciples of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage LearningWelding: Principles and Applications (MindTap Cou...Mechanical EngineeringISBN:9781305494695Author:Larry JeffusPublisher:Cengage Learning





