Thinking Like an Engineer: An Active Learning Approach (4th Edition)
4th Edition
ISBN: 9780134639673
Author: Elizabeth A. Stephan, David R. Bowman, William J. Park, Benjamin L. Sill, Matthew W. Ohland
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 18.4, Problem 14CC
Write MATLAB code to represent the following conditional statements.
- a. If your time running a marathon (stored in MTime) is less than your previous fastest time (stored in PersBest), display the message “New personal best” and replace the value in PersBest with the value in MTime.
- b. If the scales indicate that the truck weighs more than its legal maximum weight, display the message “Reduce the load in the truck”; otherwise, display “Load acceptable.”
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
3)
Body mass index (BMI) of a person is a measure of body fat based on height
and weight. In U.S. customary units it is calculated by:
BMI = 703"
%D
where W is the person's weight in pounds and h is the heights in inches.
Write a MATLAB program in a script file that calculates the BMI. For
input the program asks the user to enter his/her weight and height. The pro-
gram then calculates the BMI rounded to the nearest tenth. For output the
program displays the message: "The BMI is: XX." where XX is the value of
the BMI. Determine the BMI of a 68-in.-tall person that weigh162 lb.
No need guideline answer ok. Solve both write RRL. ABOUT THESE 2 ITEMS. NOTE NO NEED EXTRA EXPLANATION ONLY NEED FOR OTH 1 PARAGRAPH EACH PUT REF END POINTS OK. DONT NEED GUIDELINE OKK. IF ANSWER GUIDELINE I WILL DISLIKE OKK
1. height of sweet potato plants;
2. programable speed of a rover: . something that says that a rover is programmed via speed, that it doesn't matter if the weight of the rover is decreasing from time to time. something that says that if you programmed a rover to go 5kph it will remain 5kph even if you put something heavy on it.
1) A low-friction cart is placed between two identical springs attached to rigid walls.
If you push the cart against one of the springs and release it, it will continue to
move back and forth between the springs.
www
Draw a force-time graph showing the sum of the horizontal forces exerted on the
cart as it moves back and force between the springs.
Scientific Abilities
Is able to construct a
force diagram
Missing
No representation is
constructed.
Inadequate
FD is constructed but
contains major errors such
as incorrect mislabeled or
not labeled force vectors,
length of vectors, wrong
direction, extra incorrect
vectors are added, or
vectors are missing.
Needs Improvement
FD contains no errors in
vectors but lacks a key
feature such as labels of
forces with two subscripts or
vectors are not drawn from
single point, or axes are
missing.
Adequate
The diagram contains no
errors and each force is
labeled so that it is clearly
understood what each force
represents.
Explain whether or not this…
Chapter 18 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
Ch. 18.1 - Create a written algorithm that determines the...Ch. 18.1 - Prob. 2CCCh. 18.1 - Create a flowchart that determines the dose of a...Ch. 18.1 - Create a flowchart that determines the state of...Ch. 18.2 - Prob. 5CCCh. 18.2 - Prob. 6CCCh. 18.3 - Assume the following variables have been defined:...Ch. 18.3 - Prob. 8CCCh. 18.3 - Write a short section of MATLAB code that will...Ch. 18.3 - Prob. 10CC
Ch. 18.3 - Prob. 11CCCh. 18.3 - Assume a user has responded to the question "Do...Ch. 18.3 - Assume a user has responded to the question "Do...Ch. 18.4 - Write MATLAB code to represent the following...Ch. 18.4 - Write MATLAB code to represent the following...Ch. 18.4 - Write a MATLAB function named sumTtUp that will...Ch. 18.4 - Prob. 17CCCh. 18.5 - A device constructed to throw various objects can...Ch. 18.6 - Prob. 19CCCh. 18.6 - Prob. 20CCCh. 18.7 - Write MATLAB code to modify the previous gravity...Ch. 18.7 - Write MAT LAB code using try-catch to ask the user...Ch. 18 - Create a written algorithm and flowchart to...Ch. 18 - The Occupational Safety Health Administration...Ch. 18 - Prob. 3ICACh. 18 - Create a flowchart that represents the following...Ch. 18 - Create an algorithm to classify a given altitude...Ch. 18 - Answer the following questions. a. For what...Ch. 18 - Answer the following questions. a. For what...Ch. 18 - For each task listed, write a single MAT LAB...Ch. 18 - Prob. 9ICACh. 18 - What is stored in variable A after each of the...Ch. 18 - What will be displayed by the following code in...Ch. 18 - Ask users to enter a matrix that could be any size...Ch. 18 - A menu is generated using the following code:...Ch. 18 - A menu is generated using the following code:...Ch. 18 - Write a program using if-elseif-else statements...Ch. 18 - Write a program using switch-case statements that...Ch. 18 - Prob. 17ICACh. 18 - Write a program that asks the user to enter the...Ch. 18 - Prob. 19ICACh. 18 - Assume you are required to generate the menus...Ch. 18 - Assume you are required to generate the menus...Ch. 18 - Prob. 22ICACh. 18 - Assume you are required to generate the menus...Ch. 18 - We go to a state-of-the-art amusement park. All...Ch. 18 - A phase diagram for carbon and platinum is shown....Ch. 18 - Prob. 27ICACh. 18 - Prob. 28ICACh. 18 - Prob. 29ICACh. 18 - The Apple TV is a personal video device created by...Ch. 18 - Prob. 2RQCh. 18 - Prob. 3RQCh. 18 - Create an algorithm to determine whether a given...Ch. 18 - The specific gravity of gold is 19.3. Write a...Ch. 18 - An unmanned X-43A scramjet test vehicle has...Ch. 18 - A rod on the surface of Jupiter's moon Callisto...Ch. 18 - The Eco-Marathon is an annual competition...Ch. 18 - Assume a variable R contains a single number....Ch. 18 - Prob. 10RQCh. 18 - Create a program to determine whether a...Ch. 18 - Create a program to determine whether a given Mach...Ch. 18 - Humans can see electromagnetic radiation when the...Ch. 18 - For the protection of both the operator of a...Ch. 18 - Prob. 15RQCh. 18 - Prob. 17RQCh. 18 - Your function should use polyfit to determine the...Ch. 18 - Prob. 19RQCh. 18 - Prob. 20RQCh. 18 - The variable grade can have any real number value...Ch. 18 - Write a MATLAB program that will allow the student...Ch. 18 - One of the 14 NAE Grand Challenges is Engineering...Ch. 18 - Prob. 25RQ
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
- Posted below is a picture of a data table and a diagram of an experiment. In the experiment you rolled a marble down a ruler ramp off the end of a coffee table to observe projectiles and conservation of energy. You do 3 trials for each initial height. Each height is measured in meters. h= initial height of marble off of table Y= height of table off floor X= horizontal distance marble goes from edge of table to where it strikes the floor a) use the table to find information you need to solve for theoretical range and % of error in measured range.arrow_forwardFor Questions 3 and 4: A cup of water was heated to a temperature of 90°. It was placed in a refrigerator that had a temperature of 11°C. The water cooled to a temperature of 17°C in 30 minutes. Let the following variables represent the relevant quantities. L = Temperature of the liquid S= Temperature of the surroundings t = Time B = Initial temperature of the liquid (Temperature at t = 0 k = Cooling constant 3. Using the Equation Solver, find the value of k in the equation L = (B - S)e -kt + S. Remember to set the equation equal to zero and then enter it into the Solver.arrow_forwardYou own a wheat warehouse with a capacity of 20,000bushels. At the beginning of month 1, you have 6,000 bushels of wheat. Each month, wheat can be bought and sold at theprice per 1000 bushels given in Table 46.The sequence of events during each month is as follows:a You observe your initial stock of wheat.b You can sell any amount of wheat up to your initialstock at the current month’s selling price.c You can buy (at the current month’s buying price) asmuch wheat as you want, subject to the warehouse sizelimitation.Your goal is to formulate an LP that can be used to determine how to maximize the profit earned over the next 10monthsarrow_forward
- 2:01 ul 4G 4. A sulms.su.edu.om While constructing a building, an engineer need to fix two steel beams together using a bracket as shown in Figure 1. Using absolute coordinate system, construct a G-code program for drilling hole number 3 only. To remove the metal chips the hole should be done in three equal steps. During the drilling, coolant should be on before spindle starts and stop after spindle stops. The spindle speed set to 1750 RPM. Drilling bit in rack number 2 and it should be 1 mm over the work piece. Drilling feed rate is 20 mm/min. Explain each code used in the program in a column 57.5- 12.5 Hole (4) Hole (3) 30 Hole (1) Hole (2) ΧΟ Υ0ΖΟ All dimensions shown are in mm Figure 1 B. -> 28 •..arrow_forwardFor the air compressor shown in Figure below, the air enters from a large area and exit from small one, explain why? Instructions for answering this question: The answer to this questian is required as handwritten where you are aiso required to add a Handwritten integrity Statement. Pieose follow the below steps: 1 Write on a blank poper your AUM student ID, full name, course code, section and date 2 Write the following integrity statement and sign: "7 offirm that I have neither given nor received any help on this assessment and that personally compieted it on my own." 3. Write your onswer to the obove question as required 4. Put your Original Civil ID card or AUM ID card on the poper 5 Toke o picture or scan, and uplood Important note: if handwritten document is submitted without the integrity stotement including ID (Civil ID or AUM ID), then the related handwritten question(s) will not be groded.arrow_forwardScenario You are assigned a role as a mechanical engineer for a vehicle design manufacturing company. Your department has a software to perform numerical differentiation and integration. To be able to verify the results of using the software and validate these results, your department manager has asked you to analytically perform some tasks to validate the results generated by the software. Q: is the last two digits of your student Id number. If your number is (20110092) then Q=92. P: is the last digit of your student Id Number. If your number is (20110092) then P=2, If that digit equals zero then use P=1. Example: If your number is (20110040) then P=1. Task 1 Determine the gradient of following functions at the given points: a) x(t) = (2t7 + P t-2)² + (6vi – 5) when t = 1 5s+7 b) v(s) = when s = 3 (s²-P)2 c) i(t) = 5(1 – In(2t – 1) ) when t= 1 sec. d) V(t) =5sin(100nt + 0.2) Volts , find i(t) = 10 × x10-6 dV©) Ampere when t= 1ms. dt e) y(t) = e¬(t-n) sin(Qt + P) when t = n radian f)…arrow_forward
- Hello pls solve it fast and correctly, you can verify the answer by looking at the third answer which is correct so u can verify and pls do all the three parts and fast I'll ratearrow_forwardYou are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial weight bearing activities. Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the yield stress for the Ti-6Al-4V…arrow_forwardRow indexing: Snow fall records stateSnowRecord contains the amount of snow fall (in cm) for various cities. Rows represent a city and columns represent the snow fall for a given month. Assign citySnow Record with all elements of row rowNum. Ex: If stateSnowRecord is [17.3, 20.3; 4.8, 6.2] and rowNum is 2, then citySnowRecord is [4.8, 6.2]. Function > 6 % 7 % 8 9 10 11 12 13 end function citySnowRecord = Get CitySnowFall (stateSnowRecord, rowNum) 2% Get CitySnow Fall: Returns all snow fall values for city in row rowNum % 4 % Inputs: stateSnowRecord matrix of snow fall records for cities for various months rowNum specified row of stateSnowRecord to return stateSnowRecord = [17.3, 20.3; 4.8, 6.2] Outputs: citySnowRecord - all snow fall values for a given city % Assign citySnowRecord with all elements of a row rowNum. citySnowRecord = stateSnowRecord (rowNum, :); Code to call your function > 1 GetCitySnow Fall([17.3, 20.3; 4.8, 6.2], 2) Previous Assessment: 1 of 2 Tests Passed (50%) Save…arrow_forward
- Learning Goal: To use transformation equations to calculate the plane state of stress in a rotated coordinate system. The normal and shear stresses for a state of stress depend on the orientation of the axes. If the stresses are given in one coordinate system (Figure 1), the equivalent stresses in a rotated coordinate system (Figure 2) can be calculated using a set of transformation equations. Both sets of stresses describe the same state of stress. In order to use the transformation equations, a sign convention must be chosen for the normal stresses, shear stresses, and the rotation angle. For the equations below, a positive normal stress acts outward on a face. A positive Try acts in the positive y-direction on the face whose outward normal is in the positive x-direction. The positive direction for the rotation is also shown in the second figure. The stresses in the rotated coordinate system are given by the following equations: στ σy + cos 20+Try sin 20 2 2 σετ συ = σy' cos 20-Try…arrow_forwardo Draw a diagram of the problem. o Assign variables to quantities that change wrt time. o Identify the following: * given (rates, constant quantities, etc.) • Goal o Write an equation relafing the variables. o Differentiate the equation implicitly wrt time.arrow_forwardPlease refer to the attached picturs of the problem statement. I have solved a, b, c, and g using kinematics and Newton's Second Law. I'm not sure how to answer d, e and f however. My answers are: a) aT=v0/ts b) ac/t=mu(g)+v0/ts c)truck stops before crate d) unsure e) unsure f) unsure g) mu=[(aTts)2]/[2d0-2v0ts-aTts2] mu=[aTv02]/[g(2d0aT-3v02)]arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- 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
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
First Law of Thermodynamics, Basic Introduction - Internal Energy, Heat and Work - Chemistry; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=NyOYW07-L5g;License: Standard youtube license