THINKING LIKE AN ENGINEER W/ACCESS
THINKING LIKE AN ENGINEER W/ACCESS
17th Edition
ISBN: 9781323522127
Author: STEPHAN
Publisher: PEARSON C
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 17, Problem 1ICA

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.

  1. a. >>

    Enter the length of the bolt in inches: | (bolt, a number)

  2. b. >>

    Enter the company’s name: | (Company, text)

  3. c. >>

Chapter 17, Problem 1ICA, Write a MATLAB statement that results in the input request shown in bold. The  shows where your

(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.

Expert Solution
Check Mark
To determine

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.

Expert Solution
Check Mark
To determine

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.

Expert Solution
Check Mark
To determine

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.

THINKING LIKE AN ENGINEER W/ACCESS, Chapter 17, Problem 1ICA

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?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
this is an old practice exam, the answer is Ax  = -4, Ay = -12,Az = 32.5, Bx= 34, Bz = 5, By = 0 but how?
This is an old practice exam, the answer is Ax = Az = 0, Ay = 2000, TDE = 4750, Cx = 2000, Cy = 2000, Cz = -800 but how?
this is an old practice exam, the answer is Fmin = 290.5lb but how

Chapter 17 Solutions

THINKING LIKE AN ENGINEER W/ACCESS

Ch. 17.3 - Prob. 11CCCh. 17.4 - Prob. 12CCCh. 17.4 - Prob. 13CCCh. 17.4 - Prob. 14CCCh. 17 - Write a MATLAB statement that results in the input...Ch. 17 - You are writing code that is part of a purchasing...Ch. 17 - For each question dialog described below, write a...Ch. 17 - For each input dialog described below, write a...Ch. 17 - For the following questions, assume z = 100/810....Ch. 17 - For the following questions, z = 100/810. Write...Ch. 17 - Assume that the following variables are stored in...Ch. 17 - Assume that a three-element row vector v already...Ch. 17 - The tiles on the space shuttle are constructed to...Ch. 17 - The specific gravity of acetic acid (vinegar) is...Ch. 17 - Write a MATLAB program that will allow a user to...Ch. 17 - Write a program that will allow the user to type a...Ch. 17 - In order to calculate the pressure in a flask,...Ch. 17 - Write a program that will allow the user to type...Ch. 17 - Use a question dialog to determine whether the...Ch. 17 - Write a MATLAB program that will ask users to...Ch. 17 - Write a program that asks a user to enter, one at...Ch. 17 - Joules first law, also known as the Joule effect,...Ch. 17 - Create a proper plot of the following set of...Ch. 17 - There is currently an effort in the United States...Ch. 17 - You want to create a graph showing the theoretical...Ch. 17 - In 1619, Johannes Kepler proposed his third law of...Ch. 17 - The decay of a radioactive isotope can be...Ch. 17 - Create a proper plot of the theoretical voltage...Ch. 17 - Plot the following functions as assigned by your...Ch. 17 - Plot the following functions as assigned by your...Ch. 17 - Prob. 28ICACh. 17 - Enter the following data into MATLAB. Graph the...Ch. 17 - If an object is heated, the temperature of the...Ch. 17 - The resistance of a typical carbon film resistor...Ch. 17 - Today, most traffic lights have a delayed green,...Ch. 17 - Cadmium sulfide (CdS) is a semiconducting material...Ch. 17 - Your supervisor has assigned you the task of...Ch. 17 - Three different diodes were tested: a constant...Ch. 17 - Design a program that will ask the user to enter...Ch. 17 - If a hot liquid in a container is left to cool,...Ch. 17 - You are an engineer working for M M / Mars...Ch. 17 - 1. 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 Jupiter's moon Callisto...Ch. 17 - The Eco-Marathon is an annual competition...Ch. 17 - Your company wishes to write a computer program...Ch. 17 - You are developing a program to record information...Ch. 17 - In a factory, various metal rods are forged and...Ch. 17 - Write a function and program to determine the mass...Ch. 17 - Write a program to calculate a temperature...Ch. 17 - You are part of an engineering firm on contract...Ch. 17 - You want to create a graph showing the...Ch. 17 - When one tries to stop a car, both the reaction...Ch. 17 - If an object is heated, the temperature of the...Ch. 17 - Capillary action draws liquid up a narrow tube...Ch. 17 - In a turbine, a device used for mixing, the power...Ch. 17 - A pilot tube is a device that measures the...Ch. 17 - Prob. 19RQCh. 17 - Download the weekly retail gasoline and diesel...Ch. 17 - A sample of the data provided in the Microsoft...Ch. 17 - An Excel file named DartTosses.xlsx has one...
Knowledge Booster
Background pattern image
Mechanical Engineering
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
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Precision Machining Technology (MindTap Course Li...
Mechanical Engineering
ISBN:9781285444543
Author:Peter J. Hoffman, Eric S. Hopewell, Brian Janes
Publisher:Cengage Learning
Text book image
Understanding Motor Controls
Mechanical Engineering
ISBN:9781337798686
Author:Stephen L. Herman
Publisher:Delmar Cengage Learning
Text book image
Refrigeration and Air Conditioning Technology (Mi...
Mechanical Engineering
ISBN:9781305578296
Author:John Tomczyk, Eugene Silberstein, Bill Whitman, Bill Johnson
Publisher:Cengage Learning
Text book image
Automotive Technology: A Systems Approach (MindTa...
Mechanical Engineering
ISBN:9781133612315
Author:Jack Erjavec, Rob Thompson
Publisher:Cengage Learning
Text book image
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
Text book image
Welding: Principles and Applications (MindTap Cou...
Mechanical Engineering
ISBN:9781305494695
Author:Larry Jeffus
Publisher: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