
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 17.2, Problem 6CC
Assume that the variable M is stored in the workspace with the value 0.3539.
- a. What would be the control code used to display M with two decimal places?
- b. What would be the control code used to display M with three decimal places in scientific notation?
- c. What would be the control code used to display M if it should be padded with zeros to a field width of 10 characters, showing three decimal places?
- d. What would be the output of M if a control code is used to display it to two decimal places?
- e. What would be the output of M if a control code 1s used to display it to three decimal places in scientific notation?
- f. What would be the output of M if a control code is used to pad the field width to 10 characters, using zero padding and showing three decimal places?
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
2. Express the following complex numbers in rectangular form.
(a) z₁ = 2еjл/6
(b) Z2=-3e-jπ/4
(c) Z3 =
√√√3e-j³/4
(d) z4 = − j³
A prismatic beam is built into a structure. You can consider the boundary conditions at A and B to be
fixed supports. The beam was originally designed to withstand a triangular distributed load, however,
the loading condition has been revised and can be approximated by a cosine function as shown in the
figure below. You have been tasked with analysing the structure. As the beam is prismatic, you can
assume that the bending rigidity (El) is constant.
wwo cos
2L
x
A
B
Figure 3: Built in beam with a varying distributed load
In order to do this, you will:
a. Solve the reaction forces and moments at point A and B.
Hint: you may find it convenient to use the principal of superposition.
(2%)
b. Plot the shear force and bending moment diagrams and identify the maximum shear force
and bending moment.
(2%)
c. Develop an expression for the vertical deflection. Clearly state your expression in terms of x.
(1%)
Question 1: Beam Analysis
Two beams (ABC and CD) are connected using a pin immediately to the left of Point C. The pin acts
as a moment release, i.e. no moments are transferred through this pinned connection. Shear forces
can be transferred through the pinned connection. Beam ABC has a pinned support at point A and a
roller support at Point C. Beam CD has a roller support at Point D. A concentrated load, P, is applied
to the mid span of beam CD, and acts at an angle as shown below. Two concentrated moments, MB
and Mc act in the directions shown at Point B and Point C respectively. The magnitude of these
moments is PL.
Moment Release
A
B
с
°
MB = PL
Mc=
= PL
-L/2-
-L/2-
→
P
D
Figure 1: Two beam arrangement for question 1.
To analyse this structure, you will:
a) Construct the free body diagrams for the structure shown above. When constructing your
FBD's you must make section cuts at point B and C. You can represent the structure as three
separate beams. Following this, construct the…
Chapter 17 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
Ch. 17.1 - a. Write an input statement to ask for the users...Ch. 17.1 - Prob. 2CCCh. 17.1 - Prob. 3CCCh. 17.1 - Prob. 4CCCh. 17.1 - a. Create an input dialog that asks users for...Ch. 17.2 - Assume that the variable M is stored in the...Ch. 17.2 - Prob. 7CCCh. 17.2 - Prob. 8CCCh. 17.3 - Create a proper plot of the function D = 50 3t...Ch. 17.3 - Comprehension Check 17-1 0 Create a proper plot of...
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
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
- A cantilevered rectangular prismatic beam has three loads applied. 10,000N in the positive x direction, 500N in the positive z direction and 750 in the negative y direction. You have been tasked with analysing the stresses at three points on the beam, a, b and c. 32mm 60mm 24mm 180mm 15mm 15mm 40mm 750N 16mm 500N x 10,000N Figure 2: Idealisation of the structure and the applied loading (right). Photograph of the new product (left). Picture sourced from amazon.com.au. To assess the design, you will: a) Determine state of stress at all points (a, b and c). These points are located on the exterior surface of the beam. Point a is located along the centreline of the beam, point b is 15mm from the centreline and point c is located on the edge of the beam. When calculating the stresses you must consider the stresses due to bending and transverse shear. Present your results in a table and ensure that your sign convention is clearly shown (and applied consistently!) (3%) b) You have identified…arrow_forward7.82 Water flows from the reservoir on the left to the reservoir on the right at a rate of 16 cfs. The formula for the head losses in the pipes is h₁ = 0.02(L/D)(V²/2g). What elevation in the left reservoir is required to produce this flow? Also carefully sketch the HGL and the EGL for the system. Note: Assume the head-loss formula can be used for the smaller pipe as well as for the larger pipe. Assume α = 1.0 at all locations. Elevation = ? 200 ft 300 ft D₁ = 1.128 ft D2=1.596 ft 12 2012 Problem 7.82 Elevation = 110 ftarrow_forwardHomework#5arrow_forwardA closed-cycle gas turbine unit operating with maximum and minimum temperature of 760oC and 20oC has a pressure ratio of 7/1. Calculate the ideal cycle efficiency and the work ratioarrow_forwardConsider a steam power plant that operates on a simple, ideal Rankine cycle and has a net power output of 45 MW. Steam enters the turbine at 7 MPa and 500°C and is cooled in the condenser at a pressure of 10 kPa by running cooling water from a lake through the tubes of the condenser at a rate of 2000 kg/s. Show the cycle on a T-s diagram with respect to saturation lines, and determine The thermal efficiency of the cycle,The mass flow rate of the steam and the temperature rise of the cooling waterarrow_forwardTwo reversible heat engines operate in series between a source at 600°C, and a sink at 30°C. If the engines have equal efficiencies and the first rejects 400 kJ to the second, calculate: the temperature at which heat is supplied to the second engine, The heat taken from the source; and The work done by each engine. Assume each engine operates on the Carnot cyclearrow_forwardA steam turbine operates at steady state with inlet conditions of P1 = 5 bar, T1 = 320°C. Steam leaves the turbine at a pressure of 1 bar. There is no significant heat transfer between the turbine and its surroundings, and kinetic and potential energy changes between inlet and exit are negligible. If the isentropic turbine efficiency is 75%, determine the work developed per unit mass of steam flowing through the turbine, in kJ/kgarrow_forwardYou are asked to design a unit to condense ammonia. The required condensation rate is 0.09kg/s. Saturated ammonia at 30 o C is passed over a vertical plate (10 cm high and 25 cm wide).The properties of ammonia at the saturation temperature of 30°C are hfg = 1144 ́10^3 J/kg andrv = 9.055 kg/m 3 . Use the properties of liquid ammonia at the film temperature of 20°C (Ts =10 o C):Pr = 1.463 rho_l= 610.2 kf/m^3 liquid viscosity= 1.519*10^-4 kg/ ms kinematic viscosity= 2.489*10^-7 m^2/s Cpl= 4745 J/kg C kl=0.4927 W/m Ca)Calculate the surface temperature required to achieve the desired condensation rate of 0.09 kg/s( should be 688 degrees C) b) Show that if you use a bigger vertical plate (2.5 m-wide and 0.8 m-height), the requiredsurface temperature would be now 20 o C. You may use all the properties given as an initialguess. No need to iterate to correct for Tf. c) What if you still want to use small plates because of the space constrains? One way to getaround this problem is to use small…arrow_forwardUsing the three moment theorem, how was A2 determined?arrow_forwardDraw the kinematic diagram of the following mechanismarrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_iosRecommended 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 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 EducationControl 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
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