Numerical Methods in Engineering with MATLAB Jaan Kiusalaas download
Numerical Methods in Engineering with MATLAB Jaan Kiusalaas download
https://ebookname.com/product/numerical-methods-in-engineering-
with-matlab-jaan-kiusalaas/
https://ebookname.com/product/numerical-methods-in-engineering-
with-python-first-edition-jaan-kiusalaas/
https://ebookname.com/product/numerical-methods-for-chemical-
engineering-applications-in-matlab-1st-edition-kenneth-j-beers/
https://ebookname.com/product/numerical-and-analytical-methods-
with-matlab-1st-edition-william-bober/
https://ebookname.com/product/exploring-animal-social-
networks-1st-edition-darren-p-croft/
Keats The Myth of the Hero Dorothy Bendon Van Ghent
(Editor)
https://ebookname.com/product/keats-the-myth-of-the-hero-dorothy-
bendon-van-ghent-editor/
https://ebookname.com/product/the-politics-of-denial-israel-and-
the-palestinian-refugee-problem-1st-edition-nur-masalha/
https://ebookname.com/product/stigmata-escaping-texts-routledge-
classics-2nd-edition-helene-cixous/
Voice over LTE EPS and IMS Networks 1st Edition André
Pérez
https://ebookname.com/product/voice-over-lte-eps-and-ims-
networks-1st-edition-andre-perez/
https://ebookname.com/product/inclusion-and-diversity-meeting-
the-needs-of-all-students-1st-edition-sue-grace/
Hacking Leadership The 11 Gaps Every Business Needs to
Close and the Secrets to Closing Them Quickly 1st
Edition Mike Myatt
https://ebookname.com/product/hacking-leadership-the-11-gaps-
every-business-needs-to-close-and-the-secrets-to-closing-them-
quickly-1st-edition-mike-myatt/
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
ii
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
Second Edition
R
Numerical Methods in Engineering with MATLAB is a text for engi-
neering students and a reference for practicing engineers. The choice of
numerical methods was based on their relevance to engineering prob-
lems. Every method is discussed thoroughly and illustrated with prob-
lems involving both hand computation and programming. MATLAB
M-files accompany each method and are available on the book Web
site. This code is made simple and easy to understand by avoiding com-
plex bookkeeping schemes while maintaining the essential features of
the method. MATLAB was chosen as the example language because of
its ubiquitous use in engineering studies and practice. This new edi-
tion includes the new MATLAB anonymous functions, which allow the
programmer to embed functions into the program rather than storing
them as separate files. Other changes include the addition of rational
function interpolation in Chapter 3, the addition of Ridder’s method in
place of Brent’s method in Chapter 4, and the addition of the downhill
simplex method in place of the Fletcher–Reeves method of optimization
in Chapter 10.
i
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
ii
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
NUMERICAL
METHODS IN
ENGINEERING
R
WITH MATLAB
Second Edition
Jaan Kiusalaas
Pennsylvania State University
iii
CAMBRIDGE UNIVERSITY PRESS
Cambridge, New York, Melbourne, Madrid, Cape Town, Singapore,
São Paulo, Delhi, Dubai, Tokyo
Published in the United States of America by Cambridge University Press, New York
www.cambridge.org
Information on this title: www.cambridge.org/9780521191333
© Jaan Kiusalaas 2010
Contents
1 Introduction to MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Quick Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Data Types and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.4 Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.5 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.6 Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.7 Array Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.8 Writing and Running Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.9 Plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
v
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
vi Contents
vii Contents
Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
A1 Taylor Series. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .415
A2 Matrix Algebra . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .427
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
viii
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
This book is targeted primarily toward engineers and engineering students of ad-
vanced standing (sophomores, seniors, and graduate students). Familiarity with a
computer language is required; knowledge of engineering mechanics (statics, dy-
namics, and mechanics of materials) is useful, but not essential.
The text places emphasis on numerical methods, not programming. Most engi-
neers are not programmers, but problem solvers. They want to know what methods
can be applied to a given problem, what their strengths and pitfalls are, and how to
implement them. Engineers are not expected to write computer code for basic tasks
from scratch; they are more likely to utilize functions and subroutines that have been
already written and tested. Thus programming by engineers is largely confined to
assembling existing bits of code into a coherent package that solves the problem at
hand.
The “bit” of code is usually a function that implements a specific task. For the
user the details of the code are of secondary importance. What matters is the inter-
face (what goes in and what comes out) and an understanding of the method on
which the algorithm is based. Since no numerical algorithm is infallible, the impor-
tance of understanding the underlying method cannot be overemphasized; it is, in
fact, the rationale behind learning numerical methods.
This book attempts to conform to the views outlined above. Each numerical
method is explained in detail and its shortcomings are pointed out. The examples
that follow individual topics fall into two categories: hand computations that illus-
trate the inner workings of the method, and small programs that show how the com-
puter code is utilized in solving a problem. Problems that require programming are
marked with .
The material consists of the usual topics covered in an engineering course on nu-
merical methods: solution of equations, interpolation and data fitting, numerical dif-
ferentiation and integration, solution of ordinary differential equations, and eigen-
value problems. The choice of methods within each topic is tilted toward relevance
to engineering problems. For example, there is an extensive discussion of symmetric,
sparsely populated coefficient matrices in the solution of simultaneous equations.
ix
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
In the same vein, the solution of eigenvalue problems concentrates on methods that
efficiently extract specific eigenvalues from banded matrices.
An important criterion used in the selection of methods was clarity. Algorithms
requiring overly complex bookkeeping were rejected regardless of their efficiency and
robustness. This decision, which was taken with great reluctance, is in keeping with
the intent to avoid emphasis on programming.
The selection of algorithms was also influenced by current practice. This disqual-
ified several well-known historical methods that have been overtaken by more recent
developments. For example, the secant method for finding roots of equations was
omitted as having no advantages over Ridder’s method. For the same reason, the mul-
tistep methods used to solve differential equations (e.g., Milne and Adams methods)
were left out in favor of the adaptive Runge–Kutta and Bulirsch–Stoer methods.
Notably absent is a chapter on partial differential equations. It was felt that
this topic is best treated by finite element or boundary element methods, which
are outside the scope of this book. The finite difference model, which is commonly
introduced in numerical methods texts, is just too impractical in handling curved
boundaries.
As usual, the book contains more material than can be covered in a three-credit
course. The topics that can be skipped without loss of continuity are tagged with an
asterisk (*).
R
The programs listed in this book were tested with MATLAB R2008b under
R
Windows XP.
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
The second edition was largely precipitated by the introduction of anonymous func-
tions into MATLAB. This feature, which allows us to embed functions in a program,
rather than storing them in separate files, helps to alleviate the scourge of MATLAB
programmers – proliferation of small files. In this edition, we have recoded all the
example programs that could benefit from anonymous functions.
We also took the opportunity to make a few changes in the material covered:
xi
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
xii
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
1 Introduction to MATLAB
• MATLAB contains a large number of functions that access proven numerical li-
braries, such as LINPACK and EISPACK. This means that many common tasks
(e.g., solution of simultaneous equations) can be accomplished with a single
function call.
• There is extensive graphics support that allows the results of computations to be
plotted with a few statements.
• All numerical objects are treated as double-precision arrays. Thus there is no
need to declare data types and carry out type conversions.
• MATLAB programs are clean and easy to read; they lack the syntactic clutter of
some mainstream languages (e.g., C).
1
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
2 Introduction to MATLAB
The syntax of MATLAB resembles that of FORTRAN. To get an idea of the simi-
larities, let us compare the codes written in the two languages for solution of simul-
taneous equations Ax = b by Gauss elimination (do not worry about understanding
the inner workings of the programs). Here is the subroutine in FORTRAN 90:
subroutine gauss(A,b,n)
use prec_mod
implicit none
real(DP), dimension(:,:), intent(in out) :: A
real(DP), dimension(:), intent(in out) :: b
integer, intent(in) :: n
real(DP) :: lambda
integer :: i,k
! --------------Elimination phase--------------
do k = 1,n-1
do i = k+1,n
if(A(i,k) /= 0) then
lambda = A(i,k)/A(k,k)
A(i,k+1:n) = A(i,k+1:n) - lambda*A(k,k+1:n)
b(i) = b(i) - lambda*b(k)
end if
end do
end do
! ------------Back substitution phase----------
do k = n,1,-1
b(k) = (b(k) - sum(A(k,k+1:n)*b(k+1:n)))/A(k,k)
end do
return
end subroutine gauss
The statement use prec mod tells the compiler to load the module prec mod
(not shown here), which defines the word length DP for floating-point numbers. Also
note the use of array sections, such as a(k,k+1:n), a very useful feature that was not
available in previous versions of FORTRAN.
The equivalent MATLAB function is (MATLAB does not have subroutines):
function b = gauss(A,b)
n = length(b);
%-----------------Elimination phase-------------
for k = 1:n-1
for i = k+1:n
if A(i,k) ˜= 0
lambda = A(i,k)/A(k,k);
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
Simultaneous equations can also be solved in MATLAB with the simple com-
mand A\b (see below).
MATLAB can be operated in the interactive mode through its command window,
where each command is executed immediately upon its entry. In this mode MATLAB
acts like an electronic calculator. Here is an example of an interactive session for the
solution of simultaneous equations:
The symbol >> is MATLAB’s prompt for input. The percent sign (%) marks the
beginning of a comment. A semicolon (;) has two functions: it suppresses printout
of intermediate results and separates the rows of a matrix. Without a terminating
semicolon, the result of a command would be displayed. For example, omission of
the last semicolon in the line defining the matrix A would result in
>> A = [2 1 0; -1 2 2; 0 1 4]
A =
2 1 0
-1 2 2
0 1 4
Functions and programs can be created with the MATLAB editor/debugger and
saved with the .m extension (MATLAB calls them M-files). The file name of a saved
function should be identical to the name of the function. For example, if the function
for Gauss elimination listed above is saved as gauss.m, it can be called just like any
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
4 Introduction to MATLAB
MATLAB function:
>> A = [2 1 0; -1 2 2; 0 1 4];
>> b = [1; 2; 3];
>> soln = gauss(A,b)
soln =
0.2500
0.5000
0.6250
Variables
Variable names, which must start with a letter, are case sensitive. Hence xstart and
XStart represent two different variables. The length of the name is unlimited, but
only the first N characters are significant. To find N for your installation of MATLAB,
use the command namelengthmax:
>> namelengthmax
ans =
63
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
Variables that are defined within a MATLAB function are local in their scope.
They are not available to other parts of the program and do not remain in memory
after exiting the function (this applies to most programming languages). However,
variables can be shared between a function and the calling program if they are de-
clared global. For example, by placing the statement global X Y in a function as
well as the calling program, the variables X and Y are shared between the two program
units. The recommended practice is to use capital letters for global variables.
MATLAB contains several built-in constants and special variables, most impor-
tant of which are
>> 0/0
ans =
NaN
>> eps
ans =
2.2204e-016
P1: PHB
cuus734 CUUS734/Kiusalaas 0 521 19133 3 August 29, 2009 12:17
6 Introduction to MATLAB
Arrays
Arrays can be created in several ways. One of them is to type the elements of the array
between brackets. The elements in each row must be separated by blanks or commas.
Here is an example of generating a 3 × 3 matrix:
>> A = [ 2 -1 0
-1 2 -1
0 -1 1]
A =
2 -1 0
-1 2 -1
0 -1 1
The elements can also be typed on a single line, separating the rows with colons:
>> A = [2 -1 0; -1 2 -1; 0 -1 1]
A =
2 -1 0
-1 2 -1
0 -1 1
Unlike most computer languages, MATLAB differentiates between row and col-
umn vectors (this peculiarity is a frequent source of programming and input errors).
For example,
The single quote (’) is the transpose operator in MATLAB; thus, b’ is the trans-
pose of b.
The elements of a matrix, such as
A 11 A 12 A 13
A = A 21 A 22 A 23
A 31 A 32 A 33
can be accessed with the statement A(i,j), where i and j are the row and column
numbers, respectively. A section of an array can be extracted by the use of colon no-
tation. Here is an illustration:
>> A = [8 1 6; 3 5 7; 4 9 2]
A =
8 1 6
3 5 7
4 9 2
Array elements can also be accessed with a single index. Thus A(i) extracts the
ithelement of A, counting the elements down the columns. For example, A(7) and
A(1,3) would extract the same element from a 3 × 3 matrix.
Cells
A cell array is a sequence of arbitrary objects. Cell arrays can be created by enclosing
its contents between braces {}. For example, a cell array c consisting of three cells
can be created by
8 Introduction to MATLAB
c =
[1x3 double] ’one two three’ [6.0000+ 7.0000i]
As seen above, the contents of some cells are not printed in order to save space.
If all contents are to be displayed, use the celldisp command:
>> celldisp(c)
c{1} =
1 2 3
c{2} =
one two three
c{3} =
6.0000 + 7.0000i
Strings
A string is a sequence of characters; it is treated by MATLAB as a character array.
Strings are created by enclosing the characters between single quotes. They are con-
catenated with the function strcat, whereas colon operator (:) is used to extract a
portion of the string. For example,
9 1.3 Operators
1.3 Operators
Arithmetic Operators
MATLAB supports the usual arithmetic operators
+ Addition
− Subtraction
∗ Multiplication
ˆ Exponentiation
When applied to matrices, they perform the familiar matrix operations, as illus-
trated below.
/ Right division
\ Left division
If a and b are scalars, the right division a/b results in a divided by b, whereas the left
division is equivalent to b/a. In the case where A and B are matrices, A/B returns the
solution of X*A = B and A\B yields the solution of A*X = B.
Often we need to apply the *, /, and ˆ operations to matrices in an element-
by-element fashion. This can be done by preceding the operator with a period (.) as
follows:
.* Element-wise multiplication
./ Element-wise division
.ˆ Element-wise exponentiation
10 Introduction to MATLAB
Comparison Operators
The comparison (relational) operators return 1 for true and 0 for false. These opera-
tors are
The comparison operators always act element-wise on matrices; hence, they result
in a matrix of logical type. For example,
Logical Operators
The logical operators in MATLAB are
& AND
| OR
˜ NOT
if condition
block
end
executes the block of statements if the condition is true. If the condition is false,
the block skipped. The if conditional can be followed by any number of elseif
constructs:
if condition
block
elseif condition
block
..
.
end
can be used to define the block of statements which are to be executed if none of the
if–elseif clauses are true. The function signum, which determines the sign of a
variable, illustrates the use of the conditionals:
function sgn = signum(a)
if a > 0
sgn = 1;
elseif a < 0
sgn = -1;
else
sgn = 0;
end
I now felt weary of my life, and had a full determination to make the
savages kill me, thinking that death would be exceedingly welcome
when compared to the fatigue, cruelties, and miseries I had the
prospect of enduring. To have my purpose effected I stood still, one
of the savages being before me, and the other walking behind me,
and I took from off my shoulder a large powder-horn they made me
carry, in addition to my child, who was one year and four days old. I
threw the horn on the ground, closed my eyes, and expected every
moment to feel the deadly tomahawk. But to my surprise the Indian
took it up, cursed me bitterly, and put it on my shoulder again. I
took it off the second time, and threw it on the ground, and again
closed my eyes, with the assurance I should meet death; but instead
of this, the Indian again took up the horn, and with an indignant,
frightful countenance, came and placed it on again. I took it off the
third time, and was determined to effect it, and, therefore, threw it
as far as I was able from me, over the rocks. The savage
immediately went after it, while the one who had claimed me as his
squaw, and who had stood and witnessed the transaction, came up
to me and said: "Well done; you did right and are a good squaw,
and the other is a lazy son-of-a-gun; he may carry it himself."
The savages now changed their position, and the one who claimed
me as his squaw went behind. This movement, I believe, was to
prevent the other from doing me any injury; and we went on till we
struck the Connoquenessing at the Salt Lick, about two miles above
Butler, where was an Indian camp, where we arrived a little before
dark, having no refreshment during the day. The camp was made of
stakes driven into the ground, sloping, and covered with chestnut
bark, and appeared sufficiently long for fifty men. The camp
appeared to have been occupied for some time; it was very much
trodden, and large beaten paths went out from it in different
directions.
That night they took me about three hundred yards from the camp,
up a run, into a large, dark bottom, where they cut the brush in a
thicket and placed a blanket on the ground and permitted me to sit
down with my child. They then pinioned my arms back, only with a
little liberty, so that it was with difficulty that I managed my child.
Here, in this dreary situation, without fire or refreshment, having an
infant to take care of, and my arms bound behind me, and having a
savage on each side of me who had killed two of my dear children
that day, I had to pass the first night of my captivity.
But the trials and tribulations of the day I had passed had so
completely exhausted nature that, notwithstanding my unpleasant
situation, and my determination to escape, if possible, I insensibly
fell asleep, and repeatedly dreamed of my escape and safe arrival in
Pittsburgh, and several things relating to the town, of which I knew
nothing at the time, but found to be true when I arrived there. The
first night passed away and I found no means of escape, for the
savages kept watch the whole of the night without any sleep.
In the morning one of them left us to watch the trail we had come,
to see if any white people were pursuing us. During the absence of
the Indian, the one that claimed and remained with me, and who
was the murderer of my last boy, took from his bosom his scalp, and
prepared a hoop and stretched the scalp upon it. Those mothers
who have not seen the like done to one of the scalps of their own
children will be able to form but faint ideas of the feelings which
then harrowed up my soul. I meditated revenge! While he was in the
very act I attempted to take his tomahawk, which hung by his side
and rested on the ground, and had nearly succeeded, and was, as I
thought, about to give the fatal blow, when, alas! I was detected.
The savage felt at his tomahawk handle, turned upon me, cursed me
and told me I was a Yankee; thus insinuating he understood my
intention, and to prevent me from doing so again, faced me. My
excuse to him for handling his tomahawk was, that my child wanted
to play with the handle of it. The savage who went upon the lookout
in the morning came back about twelve o'clock, and had discovered
no pursuers. Then the one who had been guarding me went out on
the same errand. The savage who was now my guard began to
examine me about the white people, the strength of the armies
going against the Indians, etc., and boasted largely of their
achievements in the preceding fall, at the defeat of General St. Clair.
He then examined the plunder which he had brought from our house
the day before. He found my pocket-book and money among his
plunder. There were ten dollars in silver and a half-guinea in gold in
the book. During this day they gave me a piece of dried venison,
about the bulk of an egg, and a piece about the same size the day
we were marching, for my support and that of my child; but, owing
to the blows I had received from them on the jaws, I was unable to
eat a bit of it. I broke it up and gave it to the child.
The savage on the lookout returned about dark. This evening
(Monday, the 23d) they moved me to another station in the same
valley, and secured me as they did the preceding night. Thus I found
myself the second night between two Indians, without fire and
refreshment. During this night I was frequently asleep,
notwithstanding my unpleasant situation, and as often dreamed of
my arrival in Pittsburgh.
After the savage had stood and listened with nearly the stillness of
death for two hours, the sound of a bell and a cry like that of a night
owl, signals which were given to him by his companions, induced
him to answer, and after he had given a most horrid yell, which was
calculated to harrow up my soul, he started and went off to join
them. After his retreat, I concluded it unsafe to remain there till
morning.
But by this time nature was so nearly exhausted that I found some
difficulty in moving; yet, compelled by necessity, I threw my coat
about my child and placed the end between my teeth, and with one
arm and my teeth I carried him, and with the other groped my way
between the trees and travelled on, as I supposed, a mile or two,
and there sat down at the root of a tree till morning. The night was
cold and wet, and thus terminated the fourth day-and-night's
difficulties, trials, and dangers!
The fifth day, wet, exhausted, hungry, and wretched, I started from
my resting-place as soon as I could see my way, and on that
morning struck the head-waters of Pine Creek, which falls into the
Alleghany about four miles above Pittsburgh; though I knew not
then what waters they were; I crossed them, and on the opposite
bank I found a path, and on it two moccason tracks, fresh indented.
This alarmed me; but as they were before me, and travelling in the
same direction as I was, I concluded I could see them as soon as
they could see me, and, therefore, I pressed on in that path for
about three miles, when I came to where another branch emptied
into the creek, where was a hunter's camp, where the two men,
whose tracks I had before discovered and followed, had breakfasted
and left the fire burning.
I became more alarmed, and determined to leave the path. I then
crossed a ridge towards Squaw Run, and came upon a trail. Here I
stopped and meditated what to do; and while I was thus musing I
saw three deer coming towards me at full speed; they turned to look
at their pursuers; I looked too, with all attention, and saw the flash
and heard the report of a gun. I saw some dogs start after them,
and began to look about for shelter, and immediately made for a
large log to hide myself. Providentially I did not go clear to the log;
for as I put my hand to the ground, to raise myself so that I might
see who and where the hunters were, I saw a large heap of
rattlesnakes, the top one being very large, and coiled up very near
my face, and quite ready to bite me.
I again left my course, bearing to the left, and came upon the head-
waters of Squaw Run, and kept down the run the remainder of that
day. It rained, and I was in a very deplorable situation; so cold and
shivering were my limbs, that frequently, in opposition to all my
struggles, I gave an involuntary groan. I suffered intensely from
hunger, though my jaws were so far recovered that, wherever I
could, I procured grape-vines, and chewed them for a little
sustenance. In the evening I came within one mile of the Alleghany
River, though I was ignorant of it at the time; and there, at the root
of a tree, through a most tremendous rain, I took up my fifth night's
lodgings. In order to shelter my infant as much as possible, I placed
him in my lap, and then leaned my head against the tree, and thus
let the rain fall upon me.
On the sixth (that was the Sabbath) morning from my captivity, I
found myself unable, for a very considerable time, to raise myself
from the ground; and when I had once more, by hard struggling, got
myself upon my feet and started, nature was so nearly exhausted
and my spirits were so completely depressed that my progress was
amazingly slow and discouraging. In this almost helpless condition I
had not gone far before I came to a path where there had been
cattle travelling; I took it, under the impression that it would lead me
to the abode of some white people, and in about a mile I came to an
uninhabited cabin, and though I was in a river bottom, yet I knew
not where I was nor yet on what river bank I had come.
Now that I felt secure from the cruelties of the barbarians, for the
first time since my captivity, my feelings returned in all their
poignancy and the tears flowed freely, imparting a happiness beyond
what I ever experienced. When I was taken into the house the heat
of the fire and the smell of victuals, of both of which I had so long
been deprived, caused me to faint. Some of the people attempted to
restore me and some to put clothes on me, but their kindness would
have killed me had it not been for the arrival of Major McCully, who
then commanded along the river. When he understood my situation,
and saw the provisions they were preparing for me, he was greatly
alarmed; ordered me out of the house, away from the heat and
smell; prohibited me from taking anything but a very little whey of
buttermilk, which he administered with his own hands. Through this
judicious management I was mercifully restored to my senses and
gradually to health and strength.
Two of the females, Sarah Carter and Mary Ann Crozier, then began
to take out the thorns from my feet and legs, which Mr. Felix Negley
stood by and counted to the number of one hundred and fifty,
though they were not all extracted at that time, for the next
evening, at Pittsburgh, there were many more taken out. The flesh
was mangled dreadfully, and the skin and flesh were hanging in
pieces on my feet and legs. The wounds were not healed for a
considerable time. Some of the thorns went through my feet and
came out at the top. For two weeks I was unable to put my feet to
the ground to walk. The next morning a young man employed by
the magistrates of Pittsburgh came for me to go immediately to
town to give in my deposition, that it might be published to the
American people. Some of the men carried me into a canoe, and
when I arrived I gave my deposition. As the intelligence spread,
Pittsburgh, and the country for twenty miles around, was all in a
state of commotion. The same evening my husband came to see
me, and soon after I was taken back to Coe's Station. In the evening
I gave an account of the murder of my boy on the island, and the
next morning a scout went out and found the body and buried it,
nine days after the murder.
THE END
OUTING
ADVENTURE
LIBRARY
Edited by Horace Kephart
¶ Here are brought together for the first time the great stories of
adventure of all ages and countries. These are the personal records
of the men who climbed the mountains and penetrated the jungles;
who explored the seas and crossed the deserts; who knew the
chances and took them, and lived to write their own tales of
hardship and endurance and achievement. The series will consist of
an indeterminate number of volumes—for the stories are myriad.
The whole will be edited by Horace Kephart. Each volume answers
the test of these two questions: Is it true? Is it interesting?
¶ The entire series is uniform in style and binding. Among the titles
now ready or in preparation are those described on the following
pages.
[1]
Pittsburgh.
[2]
Peel.
[3]
The Dutch he called Skoharehaugo, which took its
derivation from a Dutch settlement called Skoharey.
[4]
The Miami of the Lakes, now called Maumee.
[5]
This is the name of God, in their tongue, and signifies
the owner and ruler of all things.
[6]
Fifteen hundred Wamponoags, led by King Philip, and
accompanied by the Narragansetts, his allies, and by
the Nipmucks and Nashaways.
[7]
Thomas Rowlandson, brother to the clergyman.
[8]
Boston.
[9]
Seventeen of her family were put to death or captured.
[10]
Convert to Christianity.
[11]
Or Squakeag, now Northfield.
[12]
Apios tuberosa. The Pilgrims, during their first winter,
lived chiefly on these roots. The tubers vary from the
size of a cherry to that of a hen's egg, and grow in
strings of perhaps forty together.
[13]
Northampton was attacked March 14, 1676.
[14]
Princeton. The mountain in this town still retains the
name of Wachusett.
[15]
Sudbury was attacked 21st April.
[16]
Wicked.
Transcriber's Note:
Minor typographical errors have been corrected without note.
Irregularities and inconsistencies in the text have been
retained as printed.
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
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.
ebookname.com