
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, Problem 22RQ
Write a MATLAB program that will allow the student to select the grade earned in a course from a menu (with the options of earning an A, B, C, D, or F) that will display the numerical range for the selected grade. The output of the program displayed on the screen should be formatted as shown in the sample output. In your program, you must use a switch statement instead of an if-else if statement. Use the standard 10-point grading scale shown in the previous problem.
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
Qu 4 The 12-kg slender rod is attached to a spring, which has an unstretched length of 2 m. If the rod is
released from rest when 0 = 30°, determine its angular velocity at the instant 0 = 90°.
2 m
B
k = 40 N/m
2 m
CORRECT AND DETAILED HANDWRITTEN SOLUTION WITH FBD ONLY. I WILL UPVOTE THANK YOU. CORRECT ANSWER IS ALREADY PROVIDED.
13: A cantilever beam is of length 1.5 m,loaded by a concentrated load P at its tip as shown inFig. 8-18(a), and is of circular cross section (R = 100 mm),having two symmetrically placed longitudinal holes asindicated. The material is titanium alloy, having anallowable working stress in bending of 600 MPa.Determine the maximum allowable value of the verticalforce P. ANS: P = 236,589.076 N = 236.589 kN
CORRECT AND DETAILED HANDWRITTEN SOLUTION WITH FBD ONLY. I WILL UPVOTE THANK YOU. CORRECT ANSWER IS ALREADY PROVIDED.
15: Consider a beam having an I-type cross section as shown in Fig. 8-45. Ashearing force V of 150 kN acts over the section. Determine the maximum and minimumvalues of the shearing stress in the vertical web of the section.ANS: fv(max) = 44.048 MPa ; fv(min) = 33.202 MPa
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
- CORRECT AND DETAILED HANDWRITTEN SOLUTION WITH FBD ONLY. I WILL UPVOTE THANK YOU. CORRECT ANSWER IS ALREADY PROVIDED. 12: A steel cantilever beam 16 ft 8 in in length is subjected to a concentrated load of 320 lb acting at the freeend of the bar. A commercially available rolled steel section, designated as W12x32, is used for the beam. Assume that the total depth of the beam is 12 in, and the neutral axis of the section is in the middle. Determine the maximum tensile and compressive stresses. (Properties of commercially available rolled steel section provided in the table. Z = section modulus). ANS: σT = σC = 1,572.482 lb/in2arrow_forwardCORRECT AND DETAILED HANDWRITTEN SOLUTION WITH FBD ONLY. I WILL UPVOTE THANK YOU. CORRECT ANSWER IS ALREADY PROVIDED. 14: Two ½-in x 8-in cover plates are welded to two channels 10 in high to formthe cross section of the beam shown in Fig. 8-59. Loads are in a vertical plane and bendingtakes place about a horizontal axis. The moment of inertia of each channel about ahorizontal axis through the centroid is 78.5 in4. If the maximum allowable elastic bendingstress is 18,000 lb/in2, determine the maximum bending moment that may be developedin the beam.ANS: 1,236,000 lb-in.arrow_forwardCORRECT AND DETAILED HANDWRITTEN SOLUTION WITH FBD ONLY. I WILL UPVOTE THANK YOU. CORRECT ANSWER IS ALREADY PROVIDED. 11: A beam of circular cross section is 7 in in diameter. It is simply supported at each end and loaded by twoconcentrated loads of 20,000 lb each, applied 12 in from the ends of the beam. Determine the maximum bending stressin the beam. ANS: σ = 7,127.172 lb/in2arrow_forward
- using the theorem of three moments, find all the reactions and supportsarrow_forward(An ellipsoidal trapping region for the Lorenz equations) Show that there is a certain ellipsoidal region E of the form rx2 + σy2 + σ(z − 2r)2 ≤ C such that all trajectories of the Lorenz equations eventually enter E and stay in there forever. For a much stiffer challenge, try to obtain the smallest possible value of C with this property.arrow_forwardA) In a factory, an s-type pitot tube was used to calculate the velocity of dry air for a point inside a stack. Calculate the velocity at that point (ft/sec) using following conditions: ● • • Pressure = 30.23 ± 0.01 in Hg (ambient) Pitot tube coefficient = 0.847 ± 0.03 Temperature = 122 ± 0.1 F (stack) Temperature = 71.2 ± 0.1 F (ambient) AP = 0.324 ± 0.008 in H2O (pitot tube) • AP = 0.891 ± 0.002 in H2O (stack) B) Find the dominant error(s) when determining precision for the problem. C) For part A, what is the precision in ft/sec for the velocity?arrow_forward
- Q1/ For what value of x do the power series converge: 8 (-1)n-1. x2n-1 2n-1 x3 x5 = X n=1 3 Q2/ Find the Interval of convergence and Radius of convergence of the series: 8 n Σ 3+1 n=1 (x)"arrow_forwardExample-1: l D A uniform rotor of length 0.6 m and diameter 0.4 m is made of steel (density 7810 kg/m³) is supported by identical short bearings of stiffness 1 MN/m in the horizontal and vertical directions. If the distance between the bearings is 0.7 m, determine the natural frequencies and plot whirl speed map. Solution: Barrow_forwardfind the laplace transform for the flowing function 2(1-e) Ans. F(s)=- S 12) k 0 Ans. F(s)= k s(1+e) 0 a 2a 3a 4a 13) 2+ Ans. F(s)= 1 s(1+e") 3 14) f(t)=1, 0arrow_forwardFind the solution of the following Differential Equations Using Laplace Transforms 1) 4y+2y=0. y(0)=2. y'(0)=0. 2) y+w²y=0, (0)=A, y'(0)=B. 3) +2y-8y 0. y(0)=1. y'(0)-8. 4)-2-3y=0, y(0)=1. y'(0)=7. 5) y-ky'=0, y(0)=2, y'(0)=k. 6) y+ky'-2k²y=0, y(0)=2, y'(0) = 2k. 7) '+4y=0, y(0)=2.8 8) y+y=17 sin(21), y(0)=-1. 9) y-y-6y=0, y(0)=6, y'(0)=13. 10) y=0. y(0)=4, y' (0)=0. 11) -4y+4y-0, y(0)=2.1. y'(0)=3.9 12) y+2y'+2y=0, y(0)=1, y'(0)=-3. 13) +7y+12y=21e". y(0)=3.5. y'(0)=-10. 14) "+9y=10e". y(0)=0, y'(0)=0. 15) +3y+2.25y=91' +64. y(0)=1. y'(0) = 31.5 16) -6y+5y-29 cos(2t). y(0)=3.2, y'(0)=6.2 17) y+2y+2y=0, y(0)=0. y'(0)=1. 18) y+2y+17y=0, y(0)=0. y'(0)=12. 19) y"-4y+5y=0, y(0)=1, y'(0)=2. 20) 9y-6y+y=0, (0)-3, y'(0)=1. 21) -2y+10y=0, y(0)=3, y'(0)=3. 22) 4y-4y+37y=0, y(0)=3. y'(0)=1.5 23) 4y-8y+5y=0, y(0)=0, y'(0)=1. 24) ++1.25y-0, y(0)=1, y'(0)=-0.5 25) y 2 cos(r). y(0)=2. y'(0) = 0. 26) -4y+3y-0, y(0)=3, y(0) 7. 27) y+2y+y=e y(0)=0. y'(0)=0. 28) y+2y-3y=10sinh(27), y(0)=0. y'(0)=4. 29)…arrow_forwardAuto Controls A union feedback control system has the following open loop transfer function where k>0 is a variable proportional gain i. for K = 1 , derive the exact magnitude and phase expressions of G(jw). ii) for K = 1 , identify the gaincross-over frequency (Wgc) [where IG(jo))| 1] and phase cross-overfrequency [where <G(jw) = - 180]. You can use MATLAB command "margin" to obtain there quantities. iii) Calculate gain margin (in dB) and phase margin (in degrees) ·State whether the closed-loop is stable for K = 1 and briefly justify your answer based on the margin . (Gain marginPhase margin) iv. what happens to the gain margin and Phase margin when you increase the value of K?you You can use for loop in MATLAB to check that.Helpful matlab commands : if, bode, margin, rlocus NO COPIED SOLUTIONSarrow_forwardThe 120 kg wheel has a radius of gyration of 0.7 m. A force P with a magnitude of 50 N is applied at the edge of the wheel as seen in the diagram. The coefficient of static friction is 0.3, and the coefficient of kinetic friction is 0.25. Find the acceleration and angular acceleration of the wheel.arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_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
Introduction to Diffusion in Solids; Author: Engineering and Design Solutions;https://www.youtube.com/watch?v=K_1QmKJvNjc;License: Standard youtube license