Practical Numerical Computing Using Python 1st Edition Mahendra Verma - Own the ebook now and start reading instantly
Practical Numerical Computing Using Python 1st Edition Mahendra Verma - Own the ebook now and start reading instantly
com
https://ebookmeta.com/product/practical-numerical-computing-
using-python-1st-edition-mahendra-verma/
OR CLICK HERE
DOWLOAD EBOOK
https://ebookmeta.com/product/the-practice-of-computing-using-
python-3-regular-edition-william-punch-richard-enbody/
ebookmeta.com
https://ebookmeta.com/product/intelligence-in-energy-1st-edition-
gulgun-kayakutlu/
ebookmeta.com
Rational Points on Elliptic Curves 2nd Edition Joseph H
Silverman John T Tate
https://ebookmeta.com/product/rational-points-on-elliptic-curves-2nd-
edition-joseph-h-silverman-john-t-tate/
ebookmeta.com
https://ebookmeta.com/product/heritage-culture-and-identity-1st-
edition-hamzah-muzaini/
ebookmeta.com
https://ebookmeta.com/product/contraception-and-persecution-1st-
edition-charles-e-rice-alyssa-bormes-steve-mosher/
ebookmeta.com
https://ebookmeta.com/product/suits-a-woman-on-wall-street-1st-
edition-nina-godiwalla/
ebookmeta.com
https://ebookmeta.com/product/music-and-mental-imagery-1st-edition-
mats-b-kussner/
ebookmeta.com
The Independent Republic of Arequipa Making Regional
Culture in the Andes Thomas F Love
https://ebookmeta.com/product/the-independent-republic-of-arequipa-
making-regional-culture-in-the-andes-thomas-f-love/
ebookmeta.com
Contents
Preface
Chapter One
Introduction to Computing
Computer Hardware
Supercomputers & Computation Complexity
Computer Software
Brief Overview of Python
Anaconda Python, Notebooks, and Prutor
Applications of Computers
Chapter Two
Integers
Floating Point and Complex Numbers
Python Variables and Logical Variables
Chapter Three
Chapter Four
Simple Statements
Conditional Flows in Python
Looping in Python
Chapter Five
Functions in Python
Python Namespace and Scope
Recursive Functions
Chapter Six
Chapter Eight
Chapter Nine
Error Analysis
Nondimensionalization of Equations
Numerical Methods
Chapter Ten
Lagrange Interpolation
Splines
Chapter Eleven
Newton-Cotes Formulas
Gaussian Quadrature
Python's Quad & Multidimensional Integrals
Chapter Twelve
Computing Numerical Derivatives
Chapter Thirteen
General Overview
Euler Forward Method, Accuracy & Stability
Implicit Schemes
Higher-order Methods
Multistep Method
Solving a System of Equations
Stiff Equations
Chapter Fourteen
Fourier Transform
One-dimensional Discrete Fourier Transforms
Mutlidimensional Fourier Transform
Chapter Fifteen
Chapter Sixteen
General Overview & Diffusion Equation Solver
Solving Wave Equation
Burgers and Navier-Stokes Equations
Schrodinger equation
Chapter Seventeen
Root Finders
Chapter Eighteen
Shooting Method
Eigenvalue Calculation
Chapter Nineteen
Chapter Twenty
Chapter Twenty-One
Random numbers
Integration Using Random Numbers
Regression Analysis
Applications in Statmech
Machine Learning
Epilogue
Appendix A: Errors in Lagrange Interopolation
Appendix B: Improving Accuracy Using Richardson Method
References
Preface
At present, friendly, yet, powerful tools have been developed for computer
programming. One such tool, the programming language Python is versatile, but
easy to learn. It is being used in wide range of applications: scientific computing,
data analysis, machine learning (ML) and artificial intelligence (AI), internet
programming, GUI, etc. At present, researchers are employing Python for
numerical computing, as well as for AI and ML.
Keeping this in mind, I chose Python as the programming language for
teaching numerical computing in my Computational Physics course
(PHY473A). I also use Python for post processing and for writing large
softwares including parallel programs. The present book is a compilation of the
course material and the tools developed in our computational laboratory. The
contents and the usage of the book is discussed below.
Contents of the book: The book has two parts. The first part covers the Python
programming language in a reasonable detail, while the second part contains the
numerical algorithms and associated Python codes. The book contains
discussions on important numerical tools: interpolation, integration,
differentiation, solvers for ordinary and partial differential equations, Fourier
transforms, boundary value problems, linear algebra, and Monte Carlo methods.
In addition, I also include plotting tools, error analysis, nondimensionalization,
and an overview of computer hardware and software.
The computer programs in the book have been tested. These codes are
available at the website https://sites.google.com/view/py-comp. The website will
also host affiliated material, such as PPTs, video lectures, color figures, etc.
Usage of the book: This book is suitable for advanced undergraduate and
graduate students. It does not assume any programming background, but it does
require basic understanding of calculus and differential equations. The material
could be covered in 40 lectures at a fast pace. However, I recommend that the
instructor and students can skip topics that they find complex or somewhat
unnecessary.
Programming is learnt by practice. Hence, I strongly urge the students to
program enthusiastically. One could start with the examples and then do all the
exercises of the book. In my course, we used Prutor (https://prutor.ai) for
evaluating the exercises submitted by the students. We plan to provide the
exercises of the book on Prutor.
Feedback request: I request the readers to send their comments and feedback to
me at [email protected]. Even though I have strived to make this book error-free, I
am sure some lacuna still remain. I will be grateful if such errors are brought to
my attention.
Mahendra Verma
IIT Kanpur
CHAPTER ONE
Introduction
Synopsis
COMPUTER IS ONE device that has impacted all walks of life. It is employed
for scientific research, e-commerce, banking, cloud computing, etc. On a
personal level, we use computers for surfing internet, emailing, social
networking, etc. See Section Applications of Computers for some of the
computer applications.
ENIAC (Electronic Numerical Integrator and Computer, made in 1945) was
the first general-purpose digital computer. It was used for making Hydrogen
bomb and Monte Carlo simulations. A succession of better and faster computers
have been built since then. Scientists and engineers have used these machines for
research in physics, chemistry, biology, fluids, engineering, geophysics, and
astrophysics. In this book, we will focus on generic computation tools used in
science and engineering.
Both hardware and software have evolved leaps and bounds over the years.
In early days, Fortran, short form for Formula Translation, was the de facto
programming language for scientific applications. Even though Fortran is still a
dominant language in scientific programming, many scientists and engineers
have moved to modern languages such as C, C++, and Python. Among these
languages, Python has become very popular due to its simplicity and availability
of large number of Python modules. In this book, we will use Python language
for writing programs. An added benefit of Python is that it has excellent post-
processing tools, such as plotting, reading/writing data, etc. In addition, Python
is widely used in machine learning (ML) and artificial intelligence (AI). Python
is also becoming popular for high-performance computing (HPC). However, in
this book we will not cover ML, AI, and HPC.
Traditionally, a scientist was either an experimentalist or a theorists. The
former primarily work on experiments, while the latter on theoretical modelling.
However, after the prominence of computers, a new category of researchers
called computational scientists have emerged. These researchers excel in
designing computers and writing large softwares. Another important point to
note is that computers are often used to simulate physical systems, e.g., Earth’s
atmosphere, stars, galaxies, large molecules, automobiles, etc. Thus, computers
perform virtual experiments. Scientists strive to make accurate models of
physical systems using the inputs from experiments and/or computer
simulations. Thus, computers provide an interesting and powerful window of
opportunity for understanding the world.
Often, experiments and computer simulations complement each other. For
example, hydrodynamic experiments can achieve very high Reynolds numbers,
but computer simulations can reach only moderate Reynolds numbers (105).
However, computer simulations can probe velocity field at any point of the flow,
which may not be possible in many experiments (e.g., in an opaque liquid). Also,
it is impossible to perform experiments on a star, but we can comfortably
simulate stars on a computer, at least, approximately.
This book is ideally suited for advanced undergraduate and early graduate
students. Part-I of the book includes discussions on Python language. In this
part, I also cover error analysis and basics of computer hardware, whose
knowledge is required for estimating memory and time complexity of a
computational problem. Part-II of the book covers introduction to computational
methods—numerical interpolation; integration; differentiation; solvers of
ordinary and partial differential-equations; Fourier transforms; linear algebra;
Monte Carlo methods; etc. I have attempted to present these topics coherently by
highlighting connections among them. For example, the formulas of numerical
integration are derived using Lagrange interpolation.
I hope you will enjoy learning these tools.
COMPUTER HARDWARE
FOR AN EFFICIENT use of a car, it is best to know some of its details: its
milage, power of the engine, nature of the brakes, etc. Similarly, an optimal use
of a computer requires knowledge about its memory capacity and power of the
processors. In this chapter, we provide a basic overview of a computer and its
components.
von Neumann Architecture
Let us get a deeper perspectives on the processor, memory, and hard disk.
Processor: The processor, also called central processing unit (CPU), is the most
complex and critical component of a computer. This unit can perform billions of
arithmetic and logical operations per second. For example, the processor adds
two numbers A and B. An important thing to note is that the numbers A, B, and
A+B are stored in a small memory, called registers, of the CPU.
Now we provide a quick overview of the capabilities of one of the best
processors of today. Rome processor (EPY 7002) contains 64 cores residing in
16 blocks of 4 processors each (see Figure 2). The cores of the processor
communicate with each other via the memory block in the middle. Note that
each core has its own L1 and L2 caches, but 4 cores of a block share 16 MB of
L3 cache. Cache, being closer to the core, is faster than RAM. The cores
communicate with each other, as well as to the RAM and PCI devices, via buses.
The clock speed of the processor is 2.5 GHz, which can boosted up to 3.4
GHz. A Rome processor can perform 16 floating-point operations per clock
cycle. Hence, the peak performance of each core can be estimated to be 16x2.24
≈ 35 Giga floating-point operations/second (FLOPS in short). Consequently, a
Rome processor can perform maximum of 35 x 64 cores ≈ 2.24 TeraFLOPS or
TFLOPS. Note however that this is the peak performance, which is not achieved
in typical programs due to various constraints. Such information is useful for
estimating the time for a computing job.
Intel too has fast processors, which are not covered here. Apple’s M1 chip
has 8 compute cores, 8 GPU (graphical processing unit) cores, and 8 neural
engine cores.
Figure 2: Inside Rome 7742 processor, black bidirectional arrows are the buses
that transmit data both ways.
Memory: The data and programs reside in computer’s memory (the green strip
inside the motherboard of Figure 1), also called random access memory (RAM).
The CPU reads the program and data from RAM and write the results back on it.
Note that RAM is active only when the computer is powered on, hence it is a
temporary memory. We need to write the data to the hard disk for permanent
storage.
A laptop or desktop has RAM in the range of 4 Gigabytes to 64 Gigabytes.
Note that 1 byte = 8 bits, and
1 Kilobyte = 1 KB = 210 ≈ 103
1 Megabyte = 1 MB = 220 ≈ 106
1 Gigabyte = 1 GB = 230 ≈ 109
1 Terabyte = 1 TB = 240 ≈ 1012
1 Petabyte = 1 PB = 250 ≈ 1015
1 Exabyte = 1 EB = 260 ≈ 1018
The clock speed of RAM ranges from 200 MHz to 400 MHz, which is slower
than processor’s clock speed. The fastest RAM available at present, DDR4
(double data rate 4), transfers data at the rate of 12.8 to 25.6 Gigabits/second,
which is quite slow compared to CPU’s data processing capability. Following
strategies are adopted to offset this deficiency of RAM:
1. The motherboard has multiple channels or roads for data travel between the
CPU and the RAM.
2. The CPU has its own memory called cache. The data which is needed
immediately is kept in the cache for a faster access.
Hard disk (HD) and Solid-state disk (SSD): HD and SSD are permanent
storage of a computer. Programs and data reside here safely after the computer is
powered off. When a computer is powered on, the required programs and data
are transferred from the HD to the RAM; this process is called boot up. Hence,
the CPU, RAM, and hard disk continuously interact with each other.
A hard disk is an electro-magnetic device in which magnetic heads read data
from the spinning magnetic disks. In these devices, the data transfers rate to
RAM is 100-200 Megabytes (MB) per second. Due to the moving parts, HDs are
prone to failure, specially in laptops during their movements. In the market, we
can buy HDs with capacities ranging from 1 TB to 20 TB.
On the other hand, a SSD is purely an electronic device with no spinning
parts. Hence, SSDs are safer than hard disks, but they cost more. The data
transfer rate in SSD is around 500 MB per second. The capacity of SSD ranges
from 128 GB to 1 TB.
A keyboard, a trackpad, a mouse, and a camera transmit inputs to the CPU via
bluetooth or Universal Serial Bus (USB) or USB-C ports. The CPU processes
these inputs and sends outputs to an external monitor, a TV, a projector, or a
printer. The data is exchanged among the input/output devices via ports,
bluetooth, or wifi (see Figure 3).
Computers come in different avatars, but their basic design remains the
same. Desktops, which are typically more powerful than laptops, sit on desks.
Workstations or compute servers have stronger CPUs and larger memory, hence
they are more powerful than desktops. Supercomputers are built using many
servers. We will provide brief description supercomputers in Section
Supercomputers & Computation Complexity.
Mobiles and tablets too are computers. They too have processors and
memory, and they perform similar operations as a desktop/laptop. However,
these mobile devices are weaker than laptops and consume much less power.
The aforementioned hardware units by themselves cannot perform any task.
A complex program called Operating System (OS) gives life to these systems.
The OS, applications (such as Microsoft Word), and user programs are called
software, and they will be briefly described in Section Computer Software.
Figure 3: (a) Laptop; (b,c) Ports of a laptop. Adopted from a figure of
wikipedia.org
********************
Conceptual Questions
1. List the following for your laptop/desktop and your mobile phone: RAM
size, CPU clock speed, Hard disk, and/or SSD capacity.
2. It is best to see the parts of an opened-up desktop. However, do not open
your laptop because it is tricky.
3. Read more about the processors.
SUPERCOMPUTERS & COMPUTATION
COMPLEXITY
1. 158,976 nodes each with 48-core A64FX processor (2 GHz clock speed).
Total number of cores: 7,630,848; Power: 29.899 kilowatts
2. Total memory: 4,866,048 GB
3. Peak speed: 442,010 Tera floating-point operations per second (TFLOPS)
4. Interconnect: Tofu interconnect D
We remark that supercomputers employ high-end processors, e.g., Rome
processor, discussed in Section Computer Hardware. Graphical processing units
(GPUs) too are being used heavily in supercomputers. Each GPU contains
thousands of processors, and it can perform huge number of floating-point
operations. GPUs are heavily used in machine learning. Nvidia’s top-end GPU
A100 has 6912 compute cores, and its peak double-precision performance is 7.8
TFLOPS.
Example 1: We need to multiply two arrays A and B of sizes 104x104 and store
the result in array C. For this problem we need 3 arrays of 108 elements each.
Storage of 3x108 real numbers requires 8x3x108 = 24x108 bytes of storage,
which is 0.24 GB. For 105x105 arrays, the corresponding requirement is 24 GB.
The simplest algorithm for multiplication of two NxN arrays requires
approximately N3 multiplications and additions. Therefore, for N = 104, we need
1012 floating-point multiplications and additions. We estimate the peak
performance of a typical laptop with a 4-core CPU to be 50 GFLOPS. Hence, in
the best case scenario, the 2x1012 floating-point operations would require
2x1012/(50x109) ≈ 40 seconds. Here, the prefactor 2 is for the addition and
multiplication.
The retrieval and storage the array elements from/to memory require
additional time. In addition, a laptop/desktop also performs other operations such
as system management, internet browsing, email checking, etc. The processor
works on these tasks in a round-robin and time-sharing manner. Consequently,
we expect that multiplication program to take much larger than 40 seconds.
However, we do not expect the run to go much beyond several (say 10) minutes.
For N = 105, the time complexity will be 1000 x 40 seconds ≈ 666 minutes ≈
11 hours. Hence, the space and time requirements for N = 105 are respectively 24
GB and 11 hours that go beyond the capabilities of a typical laptop.
Example 2: For weather prediction, a computer solves the equations for the flow
velocity, temperature, humidity, etc. For the same, Earth’s surface is divided into
a mesh, as shown in Figure 5. High-resolution simulations employ grid
resolution of 3 km x 3 km that leads to 12000x12000 horizontal grid points.
Suppose, we take 1000 points along the vertical direction, then the total number
of grid points for the simulation is 144x109. At each grid point, we store the
three components of the velocity field, pressure, temperature, humidity, and C02
concentration. Hence, to store these seven variables at each grid point, we need
8x7x144x109 = 8.064 TB of memory, which is way beyond the capacity of a
laptop/desktop. Clearly, we need a supercomputer for weather prediction. The
estimation of time requirement for a weather code is quite complex, and it is
beyond the scope of this book.
Figure 5: For weather simulation, a sample grid on the surface of the Earth.
Courtesy: Wikipedia
With this, we close this section.
********************
Conceptual Questions
1. A processor has 20 cores that operate at clock speed of 3 GHz. Each of its
cores can perform 20 floating-point operations per clock cycle. Estimate the
peak FLOPS of the processor.
2. Visit the website top500.org and study the top 10 supercomputers of the
world. Compute the maximum FLOP rating of their processor, and then
compute the peak performances of the supercomputers.
3. Estimate the memory requirements for storing the following arrays:
a. Three-dimensional integer array of size 1000x1000x1000.
b. Three-dimensional float array of size 1000x1000x1000.
c. 108 spins that can take values up or down.
4. We want to search for a word in text of 300 words. How many comparisons
are required in the worst-case scenario?
5. Estimate the number of comparisons required to search for a word in a
dictionary with N words.
6. Consider a matrix multiplication operation A = BxC, where each of them
are NxN matrices. If you were to perform the above multiplication on a
server with 4 TB RAM and 4 Rome processors, estimate the largest
possible N for this server. How long will it take to perform this operation?
COMPUTER SOFTWARE
1. Memory management
2. Process management
3. Management of input/output devices (keyboard, display, printer, mouse,
etc.)
4. Computer security
5. Management of application softwares (to be described below)
6. Interactions with users via input/output devices
7. Compilation and execution of user programs
The leading OS of today’s computers are Unix and Windows. Linux and MacOS
(the OS of Apple Computersis) are another variants of Unix. Unix itself consists
of many programs, which are categorised into two classes: Unix Kernel and Unix
Shell. See Figure 6 for an illustration. Note that OS of mobile devices—iOS,
Android, and Windows—have limited capabilities.
Figure 6: A schematic diagram of various components of Unix OS.
Application Softwares
1. Get numbers A and B from the memory and put them into the CPU
registers.
2. Add the numbers and put result A+B into another register.
3. Transfer the result from the register to the memory.
In [1]: x=3
In [2]: x
Out[2]: 3
In [3]: y=9
In [4]: print(x+y)
12
In the above, the statements after In [1], In [2], In [3], and In [4] are typed by the
user, while Out [2] and the number 12 after In [4] are the response of the
interpreter. Note that the interpreter replies to the user instantly, unlike compliers
who respond to the user after executing the complete code.
In the next section we will provide an overview of Python programming
language.
********************
Conceptual Questions
The other differences between Python 2 and Python 3 are quite technical to be
discussed here. In this book, we follow Python 3.
(base) ~/python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more
information.
>>> 2+3/4
2.75
>>>
In this book, we recommend Ipython interactive shell with pylab option, which
imports Numpy and Matplotlib.pyplot modules. Ipython does not consume as
much RAM as GUI packages, e.g., Spyder. For invoking ipython, we type the
following at the terminal prompt:
(base) ~/ipython --pylab
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.8.0 -- An enhanced Interactive Python. Type '?' for help.
Using matplotlib backend: MacOSX
In [1]: 2+3/4
Out[1]: 2.75
1. Numpy: Numpy is a short form for Numerical Python. This module contains
mathematical functions, such as sin, cos, log, sqrt, etc. Also, Numpy
contains optimized functions for array operations.
2. math: This module contains various mathematical functions. Many
mathematical functions, e.g., trigonometric, logarithm, exist in both Math
and Numpy, but some exist in only one of them. For example, the function
factorial exists in Math module, but not in Numpy.
3. Matplotlib: This Python module helps create beautiful plots.
4. Scipy: This module contains advanced scientific functions for integration
and differentiation, interpolators, differential equation solvers, linear
algebra operations, special functions, etc.
5. Pandas: This module is useful for data analysis and plotting.
6. Turtle: Using turtle module, we can create geometrical figures.
7. Sympy: This module is used for symbolic processing.
In this book we will deal with Numpy, Math, Matplotlib, and Scipy modules
extensively. To use these libraries, we need to import them. An illustration of
import operation is given below. Here, math module is imported as ma.
In [7]: ma.factorial(5)
Out[7]: 120
Other documents randomly have
different content
abused and insulted by them, because you do not meet their demands. In
fact it has become a nuisance of the worst magnitude.”
The increase has been the greatest in the highest crimes. Thus
we find assaults to kill were 25 in 1848, and 39, 59, 61 and 75 in
1852, or three-fold. Manslaughter, in 1848, was 3, and then 4,
16, 11 in 1852, almost four-fold. Murder in 1848 was 9, and 9,
15, 21 and 56 in 1852, or more than six-fold.
How much more hopeful such simple preventive measures are, than
those which (though equally well meant) come later, and are at best but
remedial in their character.
The first was committed in broad day, in one of the most frequented
parts of the city, upon a man in his own store, and was attended with
circumstances of ferocity rarely equalled. The perpetrator of the deed has
not been discovered.
Missouri Penitentiary.—
On the 20th of December there were 232 convicts in custody, of whom
146 were from the county of St. Louis. Of the countries of their nativity,
Ireland furnishes the largest number, and Germany the next largest. Of
the States of the Union, Pennsylvania furnishes the largest number. We
are happy to learn that the physician is a decided advocate of convict-
separation.
IT IS SAID,
( A N D W E P R E S U M E O N G O O D A U T H O R I T Y, )
4. —That, the Emperor of France has decided, that out of ten millions
of francs appropriated to the improvement of the lodging-houses
of the laboring classes, three millions shall be put at the disposal of
the Minister of the Interior to procure plans!
5. —That, the inmates of the Cincinnati House of Refuge are 235, and
that the number of juvenile culprits at large is fearfully increasing.
9. —That, the Illinois Asylum for the Blind has in it 25 pupils. The
whole number of the blind in the State is estimated at only 60. A
building is nearly ready for their accommodation.
10. —That, the Illinois State Lunatic Asylum admitted during the year
138 patients, of whom 38 were restored to sanity, 50 were
discharged, and 82 remain under treatment.
12. —That, the number of idiots in the State of New York is not less
than 2,800, of whom one-fourth are under 14 years of age. There
are 42 pupils in the State institution for idiots, 30 of whom are
supported by the State. The trustees recommend the purchase of a
building having accommodations for 100 pupils, of whom 64,
(eight from each judicial district,) it is proposed to support at the
expense of the State; and the remaining 36, by friends. The
estimated cost of a suitable building is $20,000; and the annual
appropriation necessary to maintain the establishment will be
$10,000.
16. —That, a new edifice for the New York Deaf and Dumb Institution
is to be built, the present location having been rendered ineligible
for such a purpose, by the opening of new thoroughfares. The site
selected is in the vicinity of Fort Washington, near the line of the
Hudson River Rail-road, and the cost of the site and building is
estimated at $120,000.
17. —That, on the 1st day of January the population of the New York
City Almshouse was 5557; out-of-door paupers, 1332; total, 6909—
sufficient to stock a large village.
19. —That, instruction on the Phonetic plan has been given with
much success in several of the penal institutions abroad, among
which are the Preston House of Correction and the Glasgow
Bridewell.
20. —That, not a single case has yet been known of a convict’s losing
his reason as a necessary and natural consequence of being
separated from other convicts.
ACKNOWLEDGMENTS.
We have to express our thanks to various friends for their thoughtful
kindness in forwarding us copies of reports, and among them are the
following:
Annual reports of the Officers of the New Jersey State Lunatic Asylum
for 1852.
Report of the Pennsylvania Hospital for the Insane for the year 1852.
Tenth Annual Report of the State Lunatic Asylum of the State of New
York, 1852.
Annual Report of the Managers of the Boston Asylum and Farm School
for 1852.
Eight Report of the Baltimore Manual Labor School for Indigent Boys
for 1852.
The Rt. Rev. Alonzo Potter, Frederick A. Packard, Esq., and Stephen
Colwell, Esq., have consented to act as the Committee, to examine and
adjudge as to the merits of the Essays offered in competition.
Competitors for the above named premiums, will please address their
manuscripts to “John Biddle, No. 6 South Fifth Street, Philadelphia;” and
send therewith, their names and places of residence, under sealed
envelopes.
The author is not, however, inclined to rest at this, but carries the war
into the enemies’ camp. The chapter entitled Medical Practice, in a
Congregate Prison, is calculated to attract attention, from the positions
laid down in it, and their startling illustrations, deduced from the well
known case of Abner Rogers. It is not the time or the place for us to enter
on this warmly controverted subject, and we have noticed the work only
on account of its bearing on the subject of insanity, and as forming a part
of its literature.—Am. Journal of Insanity, published by the Superintendent of
the New York Lunatic Asylum, July, 1850.
☞ A few copies of this pamphlet are still on hand, and may be had on
application to the publishers, corner of Fifth and Minor streets, or to any
member of the Acting Committee.
OFFICERS FOR 1852-3.
President—James J. Barclay.
Treasurer—Edward Yarnall.
Counsellors.
Job R. Tyson, Garrick Mallery.
Acting Committee.
Warden—John S. Halloway.
Clerk—William Marriott.
Teacher—George Neff.
Secretary.—E. A. Penniman,
Superintendent.—Anthony Freed.
Deputy Superintendents.—William B. Perkins, John Mirkil.
Clerk.—Wm. J. Crans.
Matron.—E. McDaniel.
Physician.—Dr. J. C. Wall.
Assistant Keepers—
Return to top.
Transcribers’ Notes.
Change table
Page# original changed to
ii expresse expressed
58 there their
70 substracted subtracted
74 attractions; attractions;”
76 mismangement mismanagement
76 impunity. impunity.”
82 viz viz.
84 seasonable reasonable
89 homocidal homicidal
95 considered. considered.”
95 years! years!”
96 VIII VIII.
97 Unforfortunately Unfortunately
105 viz viz.
106 That —That
107 That —That
iv Matron Matron.
iv Wickersham Wickersham,
*** END OF THE PROJECT GUTENBERG EBOOK THE PENNSYLVANIA
JOURNAL OF PRISON DISCIPLINE AND PHILANTHROPY (VOL. VIII,
NO. II, APRIL 1853) ***
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