PDF Engineering Computation: An Introduction Using MATLAB and Exce, 2nd Edition Musto download
PDF Engineering Computation: An Introduction Using MATLAB and Exce, 2nd Edition Musto download
com
https://ebookmass.com/product/engineering-computation-an-
introduction-using-matlab-and-exce-2nd-edition-musto/
OR CLICK HERE
DOWLOAD NOW
https://ebookmass.com/product/introduction-to-computation-and-
programming-using-python-third-edition-john-v-guttag/
ebookmass.com
https://ebookmass.com/product/ethics-technology-and-engineering-an-
introduction-1st-edition/
ebookmass.com
https://ebookmass.com/product/what-the-cat-dragged-in-kate-mcmurray-2/
ebookmass.com
Administration and Management in Criminal Justice: A
Service Quality Approach – Ebook PDF Version
https://ebookmass.com/product/administration-and-management-in-
criminal-justice-a-service-quality-approach-ebook-pdf-version/
ebookmass.com
https://ebookmass.com/product/process-safety-calculations-2nd-edition-
renato-benintendi/
ebookmass.com
https://ebookmass.com/product/a-historical-and-theological-
investigation-of-johns-gospel-1st-ed-edition-kirk-r-macgregor/
ebookmass.com
https://ebookmass.com/product/shakespeare-without-a-life-margreta-de-
grazia/
ebookmass.com
Ansible for Kubernetes by Example: Automate Your
Kubernetes Cluster with Ansible 1st Edition Luca Berton
https://ebookmass.com/product/ansible-for-kubernetes-by-example-
automate-your-kubernetes-cluster-with-ansible-1st-edition-luca-
berton-2/
ebookmass.com
Page i
ENGINEERING
COMPUTATIONS
An Introduction Using
MATLAB® and Excel®
Joseph C. Musto
Milwaukee School of Engineering
William E. Howard
East Carolina University
Richard R. Williams
Auburn University
Page ii
ENGINEERING COMPUTATION
Published by McGraw-Hill Education, 2 Penn Plaza, New York, NY
10121. Copyright ©2021 by McGraw-Hill Education. All rights
reserved. Printed in the United States of America. No part of this
publication may be reproduced or distributed in any form or by any
means, or stored in a database or retrieval system, without the prior
written consent of McGraw-Hill Education, including, but not limited
to, in any network or other electronic storage or transmission, or
broadcast for distance learning.
Some ancillaries, including electronic and print components, may not
be available to customers outside the United States.
This book is printed on acid-free paper.
1 2 3 4 5 6 7 8 9 QVS 24 23 22 21 20
ISBN 978-1-260-57071-7
MHID 1-260-57071-1
Cover Image: ©Ingram Publishing
All credits appearing on page or at the end of the book are
considered to be an extension of the copyright page.
The Internet addresses listed in the text were accurate at the time of
publication. The inclusion of a website does not indicate an
endorsement by the authors or McGraw-Hill Education, and McGraw-
Hill Education does not guarantee the accuracy of the information
presented at these sites.
mheducation.com/highered
Page iii
CONTENTS
Preface v
PART 1
Computational Tools 1
CHAPTER 1
Computing Tools 3
Introduction 3
1.1 Analytic and Algorithmic Solutions 4
1.2 Approaches to Engineering Computation 11
1.3 Data Representation 13
CHAPTER 2
Excel Fundamentals 21
Introduction 21
2.1 The Excel Interface 21
2.2 Tutorial: Entering and Formatting Data With Excel 24
2.3 Tutorial: Entering and Formatting Formulas With Excel 29
2.4 Tutorial: Using Built-in Functions 37
2.5 Tutorial: Performing Logical Tests Using the IF Statement
42
2.6 Tutorial: Using Lookup Tables 49
2.7 Tutorial: Interpolating With Excel 53
CHAPTER 3
MATLAB Fundamentals 63
Introduction 63
3.1 The MATLAB Interface 63
3.2 Tutorial: Using the Command Window for Interactive
Computation 65
3.3 Tutorial: Using MATLAB Script Files 74
3.4 Tutorial: Using MATLAB Function Files 81
3.5 Tutorial: Computing With One-Dimensional Arrays 85
3.6 Tutorial: Computing With Two-Dimensional Arrays 92
3.7 Tutorial: Saving a MATLAB Session 96
CHAPTER 4
MATLAB Programming 103
Introduction 103
4.1 Flowcharts 103
4.2 Tutorial: Loop Commands 106
4.3 Tutorial: Logical Branching Statements 115
4.4 Tutorial: Combining Loops and Logic 125
4.5 Tutorial: Formatting MATLAB Output 134
CHAPTER 5
Plotting Data 143
Introduction 143
5.1 Types of Graphs 143
5.2 XY Graphs 147
5.3 Guidelines for Producing Good Graphs 178
5.4 Tutorial: Creating Other Types of Graphs With Excel 180
Page iv
PART 2
Engineering Applications 193
CHAPTER 6
Finding the Roots of Equations 195
Introduction 195
6.1 Motivation 196
6.2 Roots of Equations: Theory 197
6.3 Tutorial: Solution of General Nonlinear Equations Using
MATLAB 207
6.4 Tutorial: Solution of Polynomial Equations Using MATLAB
210
6.5 Tutorial: Solution of General Nonlinear Equations Using
Excel 213
CHAPTER 7
Matrix Mathematics 219
Introduction 219
7.1 Properties of Matrices 219
7.2 Tutorial: Matrix Operations Using Excel 223
7.3 Tutorial: Matrix Operations Using MATLAB 228
CHAPTER 8
Solving Simultaneous Equations 237
Introduction 237
8.1 Systems of Linear Equations 237
8.2 Tutorial: Solutions of Linear Equations Using Excel 238
8.3 Tutorial: Solutions to Simultaneous Linear Equations Using
MATLAB 244
8.4 Tutorial: Solving Nonlinear Simultaneous Equations Using
Excel 248
8.5 Tutorial: Solving Nonlinear Simultaneous Equations Using
MATLAB 250
CHAPTER 9
Numerical Integration 263
Introduction 263
9.1 Concepts From Calculus 263
9.2 Tutorial: Numerical Integration of Functions 267
9.3 Tutorial: Numerical Integration of Measured Data 279
CHAPTER 10
Optimization 289
Introduction 289
10.1 Engineering Optimization 290
10.2 Formulating an Optimization Problem 292
10.3 Solution of an Optimization Problem 294
10.4 Solution of an Optimization Problem Using MATLAB 302
10.5 Solution of an Optimization Problem Using Excel 309
10.6 Tutorial: Engineering Application of Linear Constrained
Optimization 317
INDEX 327
Page v
PREFACE
With this in mind, the text was developed in two parts. The Page vi
first part generally covers the mechanics of programming
and spreadsheet usage; including:
When Snitkin and Burke had gone Vance turned from the window
and strolled to where the doctor was sitting.
“I think it might be well,” he said quietly, “if the exact whereabouts
of every one in the house preceding and during the shooting was
determined.—We know, doctor, that you arrived here at about a
quarter past ten. How long were you with Mrs. Greene?”
Von Blon drew himself up and gave Vance a resentful stare. But
quickly his manner changed and he answered courteously:
“I sat with her for perhaps half an hour; then I went to Sibella’s
room—a little before eleven, I should say—and remained there until
Sproot called me.”
“And was Miss Sibella with you in the room all the time?”
“Yes—the entire time.”
“Thank you.”
Vance returned to the window, and Heath, who had been
watching the doctor belligerently, took his cigar from his mouth and
cocked his head at Markham.
“You know, sir, I was just thinking over the Inspector’s suggestion
about planting some one in the house to keep an eye on things. How
would it be if we got rid of this nurse that’s here now, and put in one
of our own women from Headquarters?”
Von Blon looked up with eager approval.
“An excellent plan!” he exclaimed.
“Very well, Sergeant,” agreed Markham. “You attend to it.”
“Your woman can begin to-night,” Von Blon told Heath. “I’ll meet
you here whenever you say, and give her instructions. There’s
nothing very technical for her to do.”
Heath made a notation in a battered note-book.
“I’ll meet you here, say, at six o’clock. How’s that?”
“That will suit me perfectly.” Von Blon rose. “And now, if I can be
of no more service . . .”
“That’s quite all right, doctor,” said Markham. “Go right ahead.”
But instead of immediately leaving the house Von Blon went up-
stairs, and we heard him knock on Sibella’s door. A few minutes later
he came down again and passed on to the front door without a
glance in our direction.
In the meantime Snitkin had come in and informed the Sergeant
that Captain Jerym was leaving Police Headquarters at once and
would arrive within half an hour. He had then gone outside to make
his measurements of the footprints on the balcony steps.
“And now,” suggested Markham, “I think we might see Mrs.
Greene. It’s possible she heard something. . . .”
Vance roused himself from apparent lethargy.
“By all means. But first let us get a few facts in hand. I long to
hear where the nurse was during the half-hour preceding Rex’s
demise. And I could bear to know if the old lady was alone
immediately following the firing of the revolver.—Why not have our
Miss Nightingale on the tapis before we brave the invalid’s
imprecations?”
Markham concurred, and Heath sent Sproot to summon her.
The nurse came in with an air of professional detachment; but
her roseate cheeks had paled perceptibly since we last saw her.
“Miss Craven”—Vance’s manner was easy and businesslike
—“will you please tell us exactly what you were doing between half
past ten and half past eleven this morning?”
“I was in my room on the third floor,” she answered. “I went there
when the doctor arrived a little after ten, and remained until he called
me to bring Mrs. Greene’s bouillon. Then I returned to my room and
stayed until the doctor again summoned me to sit with Mrs. Greene
while he was with you gentlemen.”
“When you were in your room, was the door open?”
“Oh, yes. I always leave it open in the daytime in case Mrs.
Greene calls.”
“And her door was open, too, I take it.”
“Yes.”
“Did you hear the shot?”
“No, I didn’t.”
“That will be all, Miss Craven.” Vance accompanied her to the
hall. “You’d better return to your room now, for we’re going to pay a
visit to your patient.”
Mrs. Greene eyed us vindictively when we entered after having
knocked and been imperiously ordered to come in.
“More trouble,” she complained. “Am I never to have any peace
in my own house? The first day in weeks I’ve felt even moderately
comfortable—and then all this had to happen to upset me!”
“We regret, madam—more than you do apparently—that your
son is dead,” said Markham. “And we are sorry for the annoyance
the tragedy is causing you. But that does not relieve me from the
necessity of investigating the affair. As you were awake at the time
the shot was fired, it is essential that we seek what information you
may be able to give us.”
“What information can I give you—a helpless paralytic, lying here
alone?” A smouldering anger flickered in her eyes. “It strikes me that
you are the one to give me information.”
Markham ignored her barbed retort.
“The nurse tells me your door was open this morning. . . .”
“And why shouldn’t it have been? Am I expected to be entirely
excommunicated from the rest of the household?”
“Certainly not. I was merely trying to find out if, by any chance,
you were in a position to hear anything that went on in the hall.”
“Well, I heard nothing—if that’s all you want to know.”
Markham persisted patiently.
“You heard no one, for instance, cross Miss Ada’s room, or open
Miss Ada’s door?”
“I’ve already told you I heard nothing.” The old lady’s denial was
viciously emphatic.
“Nor any one walking in the hall, or descending the stairs?”
“No one but that incompetent doctor and the impossible Sproot.
Were we supposed to have had visitors this morning?”
“Some one shot your son,” Markham reminded her coolly.
“It was probably his own fault,” she snapped. Then she seemed
to relent a bit. “Still, Rex was not as hard and thoughtless as the rest
of the children. But even he neglected me shamefully.” She
appeared to weigh the matter. “Yes,” she decided, “he received just
punishment for the way he treated me.”
Markham struggled with a hot resentment. At last he managed to
ask, with apparent calmness:
“Did you hear the shot with which your son was punished?”
“I did not.” Her tone was again irate. “I knew nothing of the
disturbance until the doctor saw fit to tell me.”
“And yet Mr. Rex’s door, as well as yours, was open,” said
Markham. “I can hardly understand your not having heard the shot.”
The old lady gave him a look of scathing irony.
“Am I to sympathize with your lack of understanding?”
“Lest you be tempted to, madam, I shall leave you.” Markham
bowed stiffly and turned on his heel.
As we reached the lower hall Doctor Doremus arrived.
“Your friends are still at it, I hear, Sergeant,” he greeted Heath,
with his usual breezy manner. Handing his coat and hat to Sproot, he
came forward and shook hands with all of us. “When you fellows
don’t spoil my breakfast you interfere with my lunch,” he repined.
“Where’s the body?”
Heath led him up-stairs, and after a few minutes returned to the
drawing-room. Taking out another cigar he bit the end of it savagely.
“Well, sir, I guess you’ll want to see this Miss Sibella next, won’t
you?”
“We might as well,” sighed Markham. “Then I’ll tackle the
servants and leave things to you. The reporters will be along pretty
soon.”
“Don’t I know it! And what they’re going to do to us in the papers’ll
be a-plenty!”
“And you can’t even tell them ‘it is confidently expected that an
arrest will be made in the immediate future,’ don’t y’ know,” grinned
Vance. “It’s most distressin’.”
Heath made an inarticulate noise of exasperation and, calling
Sproot, sent him for Sibella.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookmass.com