Introduction to Engineering and Scientific Computing with Python 1st Edition David E. Clough download
Introduction to Engineering and Scientific Computing with Python 1st Edition David E. Clough download
https://ebookmeta.com/product/introduction-to-engineering-and-
scientific-computing-with-python-1st-edition-david-e-clough/
https://ebookmeta.com/product/an-introduction-to-scientific-
computing-with-matlab-and-python-tutorials-1st-edition-sheng-xu/
https://ebookmeta.com/product/python-for-astronomers-an-
introduction-to-scientific-computing-3rd-edition-imad-pasha/
https://ebookmeta.com/product/introduction-to-computational-
engineering-with-matlab-chapman-hall-crc-numerical-analysis-and-
scientific-computing-series-1st-edition-timothy-bower/
https://ebookmeta.com/product/bnf-83-british-national-formulary-
march-2022-joint-formulary-committee/
SPRING Forward Balanced Eating Exercise and Body Image
in Sport for Female Athletes Kathryn Vidlock
https://ebookmeta.com/product/spring-forward-balanced-eating-
exercise-and-body-image-in-sport-for-female-athletes-kathryn-
vidlock/
https://ebookmeta.com/product/the-young-human-s-guide-to-
protecting-the-planet-and-each-other-first-edition-naomi-klein-
adapted-by-rebecca-stefoff/
https://ebookmeta.com/product/bolshevism-the-road-to-revolution-
history-of-the-bolshevik-party-2nd-edition-alan-woods/
https://ebookmeta.com/product/the-global-arms-trade-a-
handbook-1st-edition-andrew-t-h-tan-editor/
https://ebookmeta.com/product/science-fiction-film-predicting-
the-impossible-in-the-age-of-neoliberalism-1st-edition-eli-park-
sorensen/
Leadership for Deeper Learning Facilitating School
Innovation and Transformation 1st Edition Jayson W.
Richardson
https://ebookmeta.com/product/leadership-for-deeper-learning-
facilitating-school-innovation-and-transformation-1st-edition-
jayson-w-richardson/
Introduction to
Engineering and Scientific
Computing with Python
As more and more engineering departments and companies choose to use Python,
this book provides an essential introduction to this open-source, free-to-use language.
Expressly designed to support first-year engineering students, this book covers engi-
neering and scientific calculations, Python basics, and structured programming.
Based on extensive teaching experience, the text uses practical problem s olving
as a vehicle to teach Python as a programming language. By learning comput-
ing fundamentals in an engaging and hands-on manner, it enables the reader to
apply engineering and scientific methods with Python, focusing this general lan-
guage to the needs of engineers and the problems they are required to solve on
a daily basis. Rather than inundating students with complex terminology, this
book is designed with a leveling approach in mind, enabling students at all levels
to gain experience and understanding of Python. It covers such topics as struc-
tured programming, graphics, matrix operations, algebraic equations, differential
equations, and applied statistics. A comprehensive chapter on working with data
brings this book to a close.
This book is an essential guide to Python, which will be relevant to all
engineers, particularly undergraduate students in their first year. It will also be of
interest to professionals and graduate students looking to hone their programming
skills, and apply Python to engineering and scientific contexts.
Introduction to
Engineering and Scientific
Computing with Python
David E. Clough
Steven C. Chapra
MATLAB® is a trademark of The MathWorks, Inc. and is used with permission. The MathWorks
does not warrant the accuracy of the text or exercises in this book. This book’s use or discussion
of MATLAB® software or related products does not constitute endorsement or sponsorship by
The MathWorks of a particular pedagogical approach or particular use of the MATLAB® software.
Typeset in Times
by codeMantra
This book is dedicated to the thousands of our former students
at the University of Colorado, Tufts University, and Texas A&M
University. Go Buffs, Go Jumbos, and Gig ‘Em Aggies!
Contents
List of Examples.................................................................................................xiii
Preface................................................................................................................. xv
Acknowledgments...............................................................................................xxi
Authors..............................................................................................................xxiii
vii
viii Contents
References�������������������������������������������������������������������������������������������������������� 385
Index����������������������������������������������������������������������������������������������������������������� 387
Index of Python Terminology������������������������������������������������������������������������ 393
List of Examples
Chapter 1 Engineering and Scientific Calculations
1.1 What is the Volume of the Earth?��������������������������������������������������������������� 1
1.2 Catenary Cable........................................................................................... 21
1.3 Engineering Units in Calculations............................................................. 27
1.4 Engineering and Scientific Problem Solving............................................. 29
Chapter 5 Graphics—Matplotlib
5.1 Freezing Point of Aqueous Ethylene Glycol Solutions............................ 138
5.2 Sunspot Observations............................................................................... 139
5.3 Plotting the Densities of Salt and Mag Chloride Solutions...................... 145
5.4 Plotting Weather Data—Temperature and Relative Humidity................. 148
5.5 Worldwide Wind Power Generation......................................................... 156
5.6 Plotting the Vapor Pressure of Water versus Temperature....................... 160
5.7 Creating a Pie Chart for World Energy Production by Source................ 163
5.8 Contour Plot from Data of Salt Solution Density..................................... 167
xiii
xiv List of Examples
Fig. 51.—Illustrations
from the first textbook
on obstetrics, Roesslin’s
“Rosengarten,” 1513,
which gives an amusing
impression of early ideas
of the position of the
fetus in utero.
With a few exceptions the long axis of the fetus is parallel to the
long axis of the mother, and most frequently the head is downward.
It was formerly believed that the child stood upright in the uterus
until toward the end of pregnancy and then somersaulted to the
position it occupied immediately before birth. (Fig. 51.) But it is now
known that though the fetus may move about and change its position
during the early part of pregnancy, it is not likely greatly to alter its
relation to the mother’s body during the tenth lunar month.
Fig. 52.—Attitude of fetus in
breech presentation.
If the occiput were turned directly toward the mother’s left side,
neither to the front nor the back, we should have a left-occipito-
transverse, L. O. T., and if it were directed toward the left posterior
segment of the pelvis the position would be left-occipito-posterior, or
L. O. P. As there are three corresponding positions on the right side,
anterior, transverse and posterior, there are six possible positions for
the child to occupy in the vertex, or occipital presentations, as
follows:
Similarly there are six face (Fig. 55) and six breech (Fig. 56)
presentations. Thus, if the chin (mentum) is resting in the left
anterior segment of the mother’s pelvis, the position would be left-
mento-anterior, or L. M. A. If the breech presents and the sacrum is
in that relation the position is left-sacro-anterior, or L. S. A.
Fig. 64.
Fig. 65.
Fig. 66.
Figs. 63, 64, 65, and 66 are diagrams showing stages of dilatation and obliteration
of cervix during labor.
Fig. 67.—Characteristic
position which patient
often assumes during
pains in first stage.
As a rule, when the cervix is fully dilated the membranes rupture
and there is a sudden gush of that part of the fluid which was below
the fetus in the amniotic sac, but the rupture of the membranes does
not necessarily mark the end of the first stage. In some instances
they rupture before the cervix is fully dilated; in others, though not
often, before the patient goes into labor, thus producing what is
known as a “dry” labor.
The abdominal muscles do not contract very forcibly during the
first stage, the expulsive force in this period coming almost entirely
from the uterine contractions. The patient’s cries at this time are
sharp and complaining in contrast to the groans and grunts which
accompany the second stage.
Complete dilatation of the cervix marks the termination of the first
stage.
The baby descends into and through the mother’s pelvis by means
of a series of twisting and curving motions, accommodating the long
axes of its head to the long diameters of the pelvis. The head being
somewhat compressible and mouldable, because of imperfect
ossification, is capable of a good deal of accommodation to the
mother’s pelvis.
The mechanism of labor, therefore, is virtually a series of
adaptations of the size, shape and mouldability of the baby’s head to
the size and shape of the mother’s pelvis. If the head passes through
the inlet satisfactorily, the rest of the labor will usually be
accomplished with comparative safety. But a marked disproportion
between the diameters of the head and pelvis may interfere with the
engagement or descent of the head and produce a serious
complication.
The long diameter of the head must first conform to one of the
long diameters of the inlet, usually oblique, and then turn so that the
length of the head is lying antero-posterior in conformity to the long
diameter of the outlet through which it next passes. As the head
descends and rotates it also describes an arc because the posterior
wall of the pelvis, consisting of the sacrum and coccyx, is about three
times as deep as the anterior wall formed by the symphysis. That
part of the baby’s head which passes down the posterior wall of the
pelvis must therefore travel three times as far in a given time as the
part which simply slips under the short symphysis pubis.
Fig. 71.—Diagrams showing Duncan and Schultze
mechanisms of placental separation.
FIRST STAGE
After the surrounding areas have been prepared, the labia are
separated and the inner surfaces scrubbed, first across, then from
above downward, and flushed by pouring the solution directly
between the folds. After the patient has been given this preparation,
a dry sterile towel or pad is placed over the vulva; the douche pan is
removed, the back and hips are dried, after which the patient is so
draped with a clean sheet that only the perineal region is exposed,
and a sterile towel is slipped under the buttocks. (Fig. 75.)
To summarize the preparation for vaginal examination or delivery:
1. Trim nails and scrub hands with soap and hot water.
2. Shave vulva.
3. Scrub and soak hands.
4. Scrub vulva, inner surface of thighs and lower abdomen with
green soap and sterile water, alcohol, 70%, and lastly
bichloride 1–1000 or lysol 1% or 2%, using sterile sponges
and taking care not to contaminate vulva from surrounding
fields.
5. Cover vulva with sterile towel or pad.