Python Programming and Numerical Methods: A Guide for Engineers and Scientist 1st Edition Qingkai Kong - Download the ebook now and read anytime, anywhere
Python Programming and Numerical Methods: A Guide for Engineers and Scientist 1st Edition Qingkai Kong - Download the ebook now and read anytime, anywhere
com
https://textbookfull.com/product/python-programming-and-
numerical-methods-a-guide-for-engineers-and-scientist-1st-
edition-qingkai-kong/
OR CLICK HERE
DOWLOAD EBOOK
https://textbookfull.com/product/numerical-methods-for-engineers-and-
scientists-using-matlab-second-edition-esfandiari/
textbookfull.com
https://textbookfull.com/product/numerical-methods-for-
engineers-8ed-2021-8th-edition-chapra-s/
textbookfull.com
https://textbookfull.com/product/numerical-methods-for-engineers-and-
scientists-using-matlab-ramin-s-esfandiari/
textbookfull.com
Applied Numerical Methods with MATLAB for Engineers and
Scientists Fourth Edition Steven C. Chapra Dr.
https://textbookfull.com/product/applied-numerical-methods-with-
matlab-for-engineers-and-scientists-fourth-edition-steven-c-chapra-dr/
textbookfull.com
https://textbookfull.com/product/numerical-methods-in-physics-with-
python-1st-edition-alex-gezerlis/
textbookfull.com
https://textbookfull.com/product/numerical-methods-in-engineering-
with-python-1st-edition-kiusalaas-jaan/
textbookfull.com
https://textbookfull.com/product/beginning-julia-programming-for-
engineers-and-scientists-1st-edition-sandeep-nagar/
textbookfull.com
Python Programming and
Numerical Methods
A Guide for Engineers and Scientists
Qingkai Kong
Timmy Siauw
Alexandre M. Bayen
Python Programming and
Numerical Methods
A Guide for Engineers and Scientists
Academic Press is an imprint of Elsevier
125 London Wall, London EC2Y 5AS, United Kingdom
525 B Street, Suite 1650, San Diego, CA 92101, United States
50 Hampshire Street, 5th Floor, Cambridge, MA 02139, United States
The Boulevard, Langford Lane, Kidlington, Oxford OX5 1GB, United Kingdom
Copyright © 2021 Elsevier Inc. All rights reserved.
ISBN: 978-0-12-819549-9
List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
List of Figures
Fig. 1.1 The Miniconda download page; choose the installer based on your operating system. 4
Fig. 1.2 Screen shot of running the installer in a terminal. 5
Fig. 1.3 The default installation location of your file system. 5
Fig. 1.4 Quick way to check if Miniconda was installed successfully and the programs are run properly. 6
Fig. 1.5 Installation process for the packages that will be used in the rest of the book. 6
Fig. 1.6 Run “Hello World” in IPython shell by typing the command. “print” is a function that is
discussed later in the book that will print out anything within the parentheses. 7
Fig. 1.7 Example of a Python script file example using Visual Studio Code. Type in the commands you
want to execute and save the file with a proper name. 8
Fig. 1.8 To run the Python script from command line, type “python hello_world.py”. This line tells
Python to execute the commands that saved in this file. 8
Fig. 1.9 To launch a Jupyter notebook server, type jupyter notebook in the command line, which
will open a browser page as shown here. Click the “New” button on the top right and choose
“Python3”. This will create a Python notebook from which to run Python code. 9
Fig. 1.10 To run the Hello World example within Jupyter notebook, type the command in the code cell
(the grey boxes) and press Shift + Enter to execute it. 10
Fig. 1.11 An example demonstrating the interactive search for functions within IPython by typing TAB
after the dot. The grey box shown all available functions. 12
Fig. 1.12 The help document of pip after executing pip help. 16
Fig. 1.13 Using pip list to show all the packages installed on your machine. 17
Fig. 1.14 Using pip show to get detailed information about a installed package. 17
Fig. 1.15 The Jupyter notebook dashboard after launching the server. Red arrows (light grey arrows in
print version) are pointing to you the most common features in the dashboard. 19
Fig. 1.16 A quick view of a notebook. The Header of the notebook shows the name of the notebook. The
menu has various drop-down lists that let you access to all the functionalities of the notebook.
The tool bar provides you some shortcuts for the commonly used functionalities. 20
Fig. 1.17 Truth tables for the logical and/or. 22
Fig. 1.18 Truth tables for the logical XOR. 25
Fig. 2.1 String index for the example of "Hello World". 31
Fig. 2.2 Example of list index. 36
Fig. 5.1 Interrupt the kernel by pressing the little square. 99
Fig. 6.1 Recursion tree for factorial(3). 107
Fig. 6.2 Recursion tree for factorial(5). 108
Fig. 6.3 Illustration of the Tower of Hanoi: In eight steps, all disks are transported from pole 1 to pole 3,
one at a time, by moving only the disk at the top of the current stack, and placing only smaller
disks on top of larger disks. 111
Fig. 6.4 Breakdown of one iteration of the recursive solution of the Tower of Hanoi problem. 111
Fig. 6.5 Pascal’s triangle. 118
Fig. 8.1 Illustration of running time for complexity log(n), n, and n2 . 138
xv
xvi List of Figures
PURPOSE
Because programming has become an essential component of engineering, science, medicine, media,
business, finance, and many other fields, it is important for scientists and engineers to have a basic
foundation in computer programming to be competitive. This book introduces programming to students
from a wide range of backgrounds and gives them programming and mathematical tools that will be
useful throughout their careers.
For the most part, this book follows the standard material taught at the University of California,
Berkeley, in the class E7: Introduction to computer programming for scientists and engineers. This
class is taken by most science and engineering freshmen in the College of Engineering, and by un-
dergraduate students from other disciplines, including physics, biology, Earth, and cognitive sciences.
The course was originally taught in Matlab, but with the recent trend of the data science movement at
Berkeley, the Division of Data Sciences agreed on and supported the transform of this course into a
Python-oriented course to prepare students from different fields for further data science courses. The
course has two fundamental goals:
• Teach Python programming to science and engineering students who do not have prior exposure to
programming.
• Introduce a variety of numerical analysis tools that are useful for solving science and engineering
problems.
These two goals are reflected in the two parts of this book:
This book is written based on the book An Introduction to MATLAB® Programming and Numerical
Methods for Engineers by Timmy Siauw and Alexandre Bayen. The current book was first written in
Jupyter Notebook for interactive purposes, and then converted to LaTeX. Most of the codes showing
in this book are from the Jupyter Notebook code cells, which can be run directly in the notebook cell.
All the Jupyter Notebook codes can be found at pythonnumericalmethods.berkeley.edu.
Because this book covers such a wide range of topics, no topic is covered in great depth. Each
chapter has been designed to be covered in at most two lecture hours, even though there are entire
semester courses dedicated to these same chapters. Rather than an in-depth treatment, this book is
intended to give students a wide breadth of programming knowledge and mathematical vocabulary on
which they can expand.
We believe that just like learning a new foreign language, learning to program can be fun and
illuminating. We hope that as you journey through this book, you will agree.
xix
xx Preface
PREREQUISITES
This book is designed to introduce programming and numerical methods to students who have abso-
lutely no prior experience with computer programming. We hope this underlying concept is reflected
in the pace, tone, and content of the text. For the purpose of programming, we assume the reader has
the following prerequisite knowledge:
• Understanding of the computer monitor and keyboard/mouse input devices
• Understanding of the folder structure used to store files in most operating systems
For the mathematical portions of the text, we assume the reader has the following prerequisite
knowledge:
• High school level algebra and trigonometry
• Introductory, college-level calculus
That’s it! Anything in the text that assumes more than this level of knowledge is our mistake, and
we apologize in advance for any confusion of instances where concepts are unclear.
ORGANIZATION
Part 1 teaches the fundamental concepts of programming. Chapter 1 introduces the reader to Python
and Jupyter Notebook. Chapters 2 through 7 teach the fundamentals of programming. Proficiency in
the material from these chapters should provide enough background to enable you to program almost
anything you imagine. Chapter 8 provides the theory that characterizes computer programs based on
how fast they run, and Chapter 9 gives insights into how computers represent numbers and their effect
on arithmetic. Chapter 10 provides useful tips on good programming practices to limit mistakes from
popping up in computer code, and tells the user how to find them when they do. Chapter 11 explains
how to store data over the long term and how to make results from Python useful outside of Python
(i.e., for other programs). Chapter 12 introduces Python’s graphical features that allow you to produce
plots and charts, which is a really useful feature for engineers and scientists to visualize results. Fi-
nally, Chapter 13 introduces basics about the parallel programming in Python to take advantage of the
multicore design of today’s computers.
Part 2 gives an overview of a variety of numerical methods that are useful for engineers. Chapter 14
gives a crash course in linear algebra. Although theoretical in nature, linear algebra is the single most
critical concept for understanding many advanced engineering topics. Chapter 15 discusses eigenval-
ues and eigenvectors, which are important tools in engineering and science, and the ways we can utilize
them. Chapter 16 is about regression, a mathematical term that is simply a method of fitting theoretical
models to observed data. Chapter 17 is about inferring the value of a function between data points, a
framework known as “interpolation.” Chapter 18 introduces the idea of approximating functions with
polynomials, which can be useful for simplifying complicated functions. Chapter 19 teaches two algo-
rithms for finding roots of functions, that is, finding an x such that f (x) = 0, where f is a function.
Chapters 20 and 21 cover methods of approximating the derivative and integral of a function, respec-
tively. Chapters 22 and Chapter 23 introduce a mathematical model type called “ordinary differential
equations.” These two chapters focus on different problems, i.e., initial value problems and bound-
How to Read This Book? xxi
ary value problems, and present several methods for finding their solutions. Chapter 24 introduces the
concepts of “discrete Fourier transform” and “fast Fourier transform” and their use in digital signal
processing.
track and from being inundated by extraneous information. You may discover solutions that differ from
the text’s solutions but solve the problem just the same or even better! We encourage you to find these
alternative methods, and use your own judgment to given the tools we have provided herein to decide
which way is better.
We hope you enjoy the book!
WHY PYTHON?
Python is a high-level and general-purpose computer language that lends itself to many applications.
As it is beginner friendly, we hope that you will find it easy to learn and that it is fun to play with it.
The language itself is very flexible, which means that there are no hard rules on how to build features,
and you will find that there are several ways to solve the same problem. Perhaps its great strength is
that it has a great user community that supports it, with lots of packages to essentially plug in and go
with very little efforts. With the ongoing popular trend, Python suits the goals of data science today.
Python is free (open source), and most of the packages are also free for use. The idea of an open source
programming language makes a huge difference in the learning curve. Not only you can use these
packages for free, but also you can learn many advanced skills from the source code of these packages
developed by other users. We hope you can enjoy your learning of Python presented here and use it in
your work and life.
The first version of this book was written at a time when the standard generalist language taught in
engineering (and beyond) at UC Berkeley was Matlab. Its genesis goes back to the mid-2000s, which
precede the current era of data science, machine learning, in which Python emerged as a commonly
used language across the engineering profession. The first version was thus written as part of the E7
class at UC Berkeley, which introduces many students to programming and numerical analysis. It
would never have been written without the help of colleagues, teams of Graduate Student Instructors
(GSI), graders, and administrative staff members who helped us through the challenging process of
teaching E7 to several hundreds of students each semester at UC Berkeley. Furthermore, the first edi-
tion of this book would never have reached completion without the help of the students who had the
patience to read the book and give us their feedback. In the process of teaching E7 numerous times,
we have interacted with thousands of students, dozens of GSIs and graders, and a dozen colleagues
and administrators, and we apologize to those we will inevitably forget given the number of people
involved. We are extremely grateful for guidance from our colleagues Professors Panos Papadopou-
los, Roberto Horowitz, Michael Frenklach, Andy Packard, Tad Patzek, Jamie Rector, Raja Sengupta,
Mike Cassidy, and Samer Madanat. We owe thanks particularly to Professors Roberto Horowitz, Andy
Packard, Sanjay Govindjee, and Tad Patzek for sharing the material they used for the class, which
contributed to the material in this book. We also thank Professors Rob Harley and Sanjay Govindjee
for using a draft of this book during the semesters they taught E7 and giving us feedback that helped
improve the manuscript. The smooth running of the semester course gave the authors the time and
energy to produce this book. Managing the course was greatly facilitated by numerous administrative
staff members who bore much of the logistic load. We are particularly grateful to Joan Chamberlain,
Shelley Okimoto, Jenna Tower, and Donna Craig. Civil and Environmental Engineering Vice Chair
Bill Nazaroff deserves particular recognition for assigning the second author to teach the class in 2011.
Without this assignment the two authors of this book would not have had an opportunity to work to-
gether and write this book. E7 is notoriously the hardest class to teach at UC Berkeley in the College
of Engineering. However, it continued to run smoothly over the many semesters we learned to teach
this class, mainly due to the help of the talented GSIs we had the pleasure of working with. During the
years the coauthors taught the class, a series of legendary head GSIs have contributed to shaping the
class and making it a meaningful experience for students. In particular, Scott Payne, James Lew, Claire
Saint-Pierre, Kristen Parish, Brian McDonald, and Travis Walter have in their respective roles led a
team of dedicated GSI to exceed expectations. The GSI and grader team during the Spring of 2011
greatly influenced the material of this book. For their contribution during that critical semester, we
thank Jon Beard, Leah Anderson, Marc Lipoff, Sebastien Blandin, Sam Chiu, Rob Hansen, Jiangchuan
Huang, Brad Adams, Ryan Swick, Pranthik Samal, Matthieu Lewandowski, and Romain Bourcier. We
are also grateful to Claire Johnson and Katherine Mellis for finding errors in the text and helping us
incorporate edits into the manuscript. We are indebted to the E7 students for their patience with us
and their thorough reading of the material. Having seen thousands of them through the years, we are
sorry to only be able to mention a few for their extraordinary feedback and performance: Gursham-
njot Singh, Sabrina Nicolle Atienza, Yi Lu, Nicole Schauser, Harrison Lee, Don Mai, Robin Parrish,
xxiii
xxiv Acknowledgements
and Mara Minner. In 2018, as the UC Berkeley campus was already deeply engaged in the transition
leading to the birth of the Division of Computing, Data Science, and Society, numerous conversations
started on the need for UC Berkeley students to learn Python, which in the mean time had become
a commodity of choice for employment in most tech companies. Thus, this book started with the in-
tention of preparing engineering and science students with basic data science tools. The UC Berkeley
Division of Computing, Data Science, and Society played an active role in creating this book for a lower
division course to prepare students for further study. We thank Cathryn Carson and David Culler for
their support in writing this book and for the discussions on how to make it better. Their help happened
in parallel to the herculean efforts they led to build the Division of Computing, Data Science, and So-
ciety. It is one of the many expressions of their scientific generosity and dedication to building a rich
and innovative data science environment at UC Berkeley. Finally, we also appreciate the care and help
from Eric Van Dusen and Keeley Takimoto. About two thirds of the book are adapted from the original
Matlab version – An Introduction to MATLAB® Programming and Numerical Methods for Engineers
by the two last authors. We thank Jennifer Grannen, Brian Mickel, Nick Bourlier, and Austin Chang
for their help to convert some of the Matlab code to Python. We are (again!) grateful to Claire Johnson
for her help with the second version of the book, and to Jennifer Taggart for finding errors in the text
and helping us incorporate edits into the manuscript. We also thank the Berkeley Seismsology Lab for
the support of writing this book and the Python training over the years.
Qingkai Kong
Timmy Siauw
Alexandre M. Bayen
June 2020
CHAPTER
PYTHON BASICS
1
CONTENTS
1.1 Getting Started With Python ......................................................................................... 3
1.1.1 Setting Up Your Working Environment ............................................................. 3
1.1.2 Three Ways to Run Python Code .................................................................... 7
1.2 Python as a Calculator ............................................................................................... 9
1.3 Managing Packages .................................................................................................. 15
1.3.1 Managing Packages Using Package Managers .................................................... 15
Install a Package ............................................................................................. 15
Upgrade a Package.......................................................................................... 16
Uninstall a Package.......................................................................................... 16
Other Useful Commands ................................................................................... 16
1.3.2 Install Packages From Source ....................................................................... 18
1.4 Introduction to Jupyter Notebook ................................................................................... 18
1.4.1 Starting the Jupyter Notebook....................................................................... 18
1.4.2 Within the Notebook .................................................................................. 19
1.4.3 How Do I Close a Notebook?......................................................................... 20
1.4.4 Shutting Down the Jupyter Notebook Server ...................................................... 20
1.5 Logical Expressions and Operators ................................................................................ 20
1.6 Summary and Problems .............................................................................................. 23
1.6.1 Summary ............................................................................................... 23
1.6.2 Problems ............................................................................................... 23
1 https://www.anaconda.com/download/.
2 https://conda.io/miniconda.html.
FIGURE 1.1
The Miniconda download page; choose the installer based on your operating system.
In this example, we will use Mac OS X to show you how to install Miniconda (the process of which
is very similar to installing on Linux). For Windows users, please skip the rest of this section and read
Appendix A on the installation instructions. The main differences between Anaconda and Miniconda
are as follows:
• Anaconda is a complete distribution framework that includes the Python interpreter, package man-
ager, and the commonly used packages in scientific computing.
• Miniconda is a “light” version of Anaconda that does not include the commonly used packages.
You need to install all the different packages yourself, but it does include the Python interpreter and
package manager.
The option we’ve chosen here is Miniconda, and we will install only those packages that we will
need. The Miniconda install process is described below:
Step 1. Download the Miniconda installer from the website.3 The download page is shown in
Fig. 1.1. Here you can choose a different installer based on your OS. In this example, we choose Mac
OS X and Python 3.7.
Step 2. Open a terminal (on a Mac, you can search for “terminal” in Spotlight search). Run the
installer from the terminal using the commands showing in Fig. 1.2. After you run the installer, follow
the guide to finish the installation.
Note that although you can change the installation location by giving it an alternative location on
your machine, the default is your home directory (Fig. 1.3).
After installation, you can check the installed packages by typing the commands shown in Fig. 1.4.
3 https://conda.io/miniconda.html.
1.1 GETTING STARTED WITH PYTHON 5
FIGURE 1.2
Screen shot of running the installer in a terminal.
FIGURE 1.3
The default installation location of your file system.
6 CHAPTER 1 PYTHON BASICS
FIGURE 1.4
Quick way to check if Miniconda was installed successfully and the programs are run properly.
FIGURE 1.5
Installation process for the packages that will be used in the rest of the book.
1.1 GETTING STARTED WITH PYTHON 7
Step 3. As shown in Fig. 1.5, install the basic packages used in this book: ipython, numpy, scipy,
pandas, matplotlib, and jupyter notebook. In a later section, we will talk about the management of
the packages using pip and conda.
FIGURE 1.6
Run “Hello World” in IPython shell by typing the command. “print” is a function that is discussed later in the book
that will print out anything within the parentheses.
8 CHAPTER 1 PYTHON BASICS
FIGURE 1.7
Example of a Python script file example using Visual Studio Code. Type in the commands you want to execute and
save the file with a proper name.
FIGURE 1.8
To run the Python script from command line, type “python hello_world.py”. This line tells Python to execute the
commands that saved in this file.
Visual Studio Code4 ) to type the commands you wish to execute in a file called hello_world.py, as
shown in Fig. 1.7, which is then run from terminal (see Fig. 1.8).
4 https://code.visualstudio.com.
1.2 PYTHON AS A CALCULATOR 9
FIGURE 1.9
To launch a Jupyter notebook server, type jupyter notebook in the command line, which will open a browser
page as shown here. Click the “New” button on the top right and choose “Python3”. This will create a Python
notebook from which to run Python code.
Using Jupyter Notebook. The third way to run Python is through Jupyter Notebook, which is a very
powerful browser-based Python environment. We will discuss this in details later in this chapter. The
example presented here is to demonstrate how quickly we can run the code using Jupyter notebook.
If you type jupyter notebook in the terminal, a local web page will pop up; use the upper right button
to create a new Python3 notebook, as shown in Fig. 1.9.
Running code in Jupyter notebook is easy. Type your code in the cell and press Shift + Enter
to run the cell; the results will be shown below the code (Fig. 1.10).
Language: English
as related in contemporaneous
Volume L, 1764–1800
In a brief summary are noted the leading events in Filipinas from 1764 to
1800. Manila is restored to the Spanish authorities by the English on March
31, 1764; a few months before, Archbishop Rojo had died, in captivity. The
brief term of the temporary governor, Torre, contains little that is
noteworthy, outside of a controversy between the civil government and the
religious orders, occasioned by the imprudent utterances of a Jesuit
preacher. In July, 1765, arrives the new governor, José Raón, in whose term
occurs the expulsion of the Jesuits from the islands, a matter treated more
fully in a later document; he also publishes a revision of the laws compiled
earlier by Arandia. The city of Manila first coins small copper money about
this time. The old controversy regarding episcopal visitation of the regular
curas is revived (1767) by Archbishop Santa Justa y Rufina, and it is
complicated by Raón’s attempt to enforce the royal rights of patronage;
bitter controversies arise, and are carried to the Madrid court.
After the capture of Manila by the English, the Moros had renewed their
piracies, and ravaged the entire archipelago, year after year—even
entrenching themselves and opening a slave market on Mindoró Island.
Later, an expedition is sent to drive them out of this stronghold, which is
successful. In 1770, the patriot Anda returns to Filipinas as its governor; he
brings suit against Raón and other officials for misconduct in office, which
is proved against them; but they and their friends rouse bitter opposition
against him, and hinder his labors for the country. Incited by reports of
another English invasion, he strengthens the fortifications of Manila Bay.
His appointment was unwelcome to the friars, and he makes official
remonstrance against the abuses prevalent among them, and calls for
corrections of these. Attempting to enforce the royal rights of patronage, all
the orders save the Dominicans refuse to obey; but later royal orders (1776)
make provision for more gradual secularization of the curacies in Filipinas,
and somewhat modify the enforcement of the episcopal visitation—to
secure which Santa Justa had convened a provincial council at Manila in
1771, which was afterward disapproved by the king. Difficulties arise with
the Moros of Joló through the imprudence of an envoy sent thither by Anda,
and through the military establishment made by the English on an islet near
Joló. The Moros seize this fort by treachery (1775) and kill most of the
Englishmen in it; this success emboldens the Moros to ravage the Spanish
islands again. In the following year the king sends 50,000 pesos to Filipinas
for building light vessels to follow up those pirates. The weight of Anda’s
official responsibility, and the constant attacks of his enemies, cause his
death, October 30, 1776. He is succeeded by Basco y Vargas, an energetic,
able, and conscientious officer. The auditors conspire against him, but he
arrests them and ships them to Spain; he then devotes himself to the welfare
of the country and the development of its resources. He makes all possible
efforts to promote agriculture, industries, and commerce; founds the
celebrated “Economic Society;” improves the schools, punishes
highwaymen, reorganizes the army, and repairs the forts; visits the
provinces in person, and informs himself of their condition; places the
public revenues on a sound basis; and checks the Moro piracies for a time.
Nevertheless, he is disliked and opposed by some of the citizens, and
resigns his post as governor (1787); his temporary successor is Pedro
Sarrio, who finds it necessary to allow the regular curas to resume their
parish charges.
Further light on the condition of the islands after the English invasion is
furnished by a notable memorial to the Spanish government, written by the
patriot Anda (April 12, 1768). Far the greater part of this is devoted to the
abuses resulting from the arrogance and lawlessness of the friars, with
Anda’s recommendations for measures to counteract those abuses; and to
his text we add the helpful annotations made thereon by Dr. Pardo de
Tavera. The inadequate and defective education furnished by the Manila
universities leads Anda to recommend that they be abolished, and replaced
by a secular foundation. He complains of the tyranny exerted by the
regulars over the secular clergy and over the Indians, their refusal to
acknowledge the episcopal authority, their defiance of the secular
government, their greed for gain (extorting all they can get from the
Indians, although they receive large stipends and contributions from the
government, and acquiring large estates, besides engaging in a lucrative
trade), their persecutions of any Spaniards who attempt to visit or trade in
the Indian villages, their protection of the infidel Chinese, their persistent
neglect to teach the Spanish language to the Indians and their holding the
latter in ignorance in order to retain their domination over them. The
regulars also neglect their spiritual work, do nothing to check the vagrant
life of many Indians, tyrannize over the alcaldes, and incite the Indians to
hate the Spaniards. Anda urges that they be compelled to submit to
episcopal visitation, to give up trade, to cease from meddling with all affairs
of secular government, and to teach the Spanish language to the natives;
and, if they prove contumacious, that they be expelled from the islands. At
the end of the memorial, Anda touches on some other abuses which need
correction: the choice of friars as bishops, the mismanagement of the royal
storehouses, the undue expense of the Acapulco galleon, the failure to tax
the production of gold, and the neglect to subdue the inland tribes of Luzón.
He advocates the operation of the Philippine mines, revision of the
commercial regulations, recoinage of money, reorganization of the colonial
government, and more care in selecting the governors of the islands, with
the grant to them of more power to correct abuses.
One of the most important events in the history of Filipinas was the
expulsion of the Jesuit order therefrom in 1768, an account of which is here
presented, prefaced by a brief statement of the expulsion of that order from
Spain and its domains, and the causes of that measure; it proves to be the
final stroke in the long conflict between the Spanish crown and the popes of
Rome over the prerogatives of authority claimed by the former in
ecclesiastical matters. The Jesuits had always upheld the principle of
authority, as exercised by the Holy See, and were therefore opposed to the
claims of the Spanish monarchs; moreover, the ideas of freedom brought
from France in that period were already fermenting in Spain, and had great
influence in the minds of Carlos III and his ministers; and they saw that the
expulsion of the Jesuits from the Spanish dominions would remove the
chief obstacles to their designs for governmental reforms and independence
of papal interference. In Filipinas this expulsion does not proceed as desired
by the Spanish court, with secrecy and promptness; the venal governor
(Raón) warns the Jesuits of their fate, enabling them to make all
preparations for their departure. Legal proceedings are therefore brought
against Raón and his associates in their residencias, but some of them die
before the suits are ended; and Anda, who instituted these by royal order, is
nevertheless impeded in every way, and afterward sentenced to heavy fines,
through the machinations of his enemies. A decree by the archbishop
(November 1, 1769) censures the officious proceeding of an auditor, who
seized and prohibited certain books hostile to the Jesuits.
The Editors
April, 1907.
DOCUMENT OF 1764–1800
Events in Filipinas, 1764–1800. Compiled from Montero y Vidal.
Source: Compiled from Montero y Vidal’s Historia de Filipinas, ii, pp. 66–70, 115–140,
229–382.
On July 6, 1765, the new proprietary governor, José Raon, a military officer of high
rank, relieved Torre; he appears to have been able but unscrupulous.5 He is most
conspicuous for his revision of the “Ordinances of good government” drawn up by
Arandía (see post, pp. 191–264), the revision being dated February 26, 1768; and for
the expulsion of the Jesuits from the islands (1768), in pursuance of the orders
received from Madrid dated March 1, 1767—which matter is related in detail in the
last document of this volume. In 1769 he also decreed the expulsion of the Chinese
from Filipinas, although this was not fully enforced. Early in October, 1766, the
French astronomer Le Gentil, whose Voyage (Paris, 1781) is a valuable contribution
at once to science and to the history of Filipinas at that time, arrived at Manila,
commissioned by the French government to make observations on the approaching
transit of Venus. “On account of the scarcity of copper money in Manila, the senior
regidor of the municipal council, Domingo Gómez de la Sierra, in 17666 requested
authorization to make the said coins, with the name of barrillas, because their shape
was that of a parallelogram. The government complied with this request, ordaining
that only [the amount of] 5,000 pesos should be coined, to be used only in Tondo and
Cavite. From that time, the Indians gave the name barrilla to copper coins.” “The
municipal council again asked for authority to make the barrillas, for use in various
provinces; and by royal decree of December 19, 1769, order was given to send from
Mexico 6,000 pesos in cuartillos (that is, fourths of silver reals)—with the provision
that the coin [previously] made should be gathered in, and that what should be
necessary should be made with the royal arms, within the limits allowed to San
Domingo, as appears in ley 8, tit. xxiv, [book iv,] of the Recopilación de Indias.” In
1766 there were two very fierce eruptions of the volcano Mayón, in Albay, occurring
on July 20 and October 23; in the second, vast quantities of water were ejected,
forming rivers and torrents, which destroyed some villages and many lives, and
ruined many homes and farms.7
On July 22, 1767, the new archbishop, Basilio Sancho de Santa Justa y Rufina,8 took
possession of the see of Manila, and immediately undertook to subject the regular
curas to his diocesan visitation, thus reviving the Camacho controversy of 1697–
1700 (see VOL. XLII, pp. 25–116) with the religious orders; but Santa Justa had the
support of the civil authority, which had orders to enforce the royal rights of
patronage. “The governor of the islands, on his side, communicated to the
provincials of the religious orders rigorous commands that they must submit to the
royal rights of patronage: that within a short time-limit they should present their lists
of three names each [sus ternas] for appointments to all the curacies; and that in
future they might not remove any religious from his post without informing the
viceregal patron of the causes, whether public or private, for such action.” The
Dominican province, in a provincial council of August 5, 1767, yielded to the
archbishop’s claims, and during the following year he visited all the parishes
administered by them; but some individuals refused to obey the council. The other
orders obstinately resisted the episcopal visitation, declaring that they would
abandon their curacies if it were enforced. Thereupon, the archbishop appointed
secular priests to the vacant curacies, including those of the Parián, Binondo, and
Bataan, which were in charge of the Dominicans.9 As the number of Spanish priests
was so small, the archbishop made up the deficiency by ordaining natives from the
seminaries; but this measure caused great resentment among the regulars and their
supporters, and Santa Justa himself was disappointed in its effects, as the native
clergy were generally so unfit for the office of priest in both education and morals.10
Complaints to the king were made by both the religious orders and the archbishop,
filled with mutual accusations and recriminations; and Raon withdrew his support
from the latter, ceasing to press the claims of the royal patronage—influenced
thereto, according to Montero y Vidal, by the intrigues of the Jesuits, who were
enemies to Santa Justa. The support given by the Dominicans to the Jesuits in the
Puch affair was censured by the Dominican general (Fray Tomás de Bojadors), who
punished the Philippine provincial, Fray Joaquín del Rosario, and two of his brethren
by depriving them of office and recalling them to Madrid. They availed themselves
of various technicalities to delay their return for a long time; but finally two of them
were sent from Manila late in December, 1778. Fray Joaquín del Rosario (his
companion having died on the voyage) was captured by the English, but afterward
regained his liberty and proceeded to Madrid, where the dispute was finally settled in
an amicable manner.
After the capture of Manila by the English, the Moros renewed their piratical
incursions, the Spanish authorities being so burdened with the insurrections of the
natives and the Chinese, the lack of revenues, and the general disturbance of the
colony’s affairs, that they could do nothing to curb the insolence of the Moros. Those
cruel pirates therefore ravaged the entire archipelago, even capturing fishing-boats in
Manila Bay; and everywhere the coast villages were destroyed or depopulated, and
the native population kept in continual terror of this inhuman foe. Bishop Ezpeleta,
while temporary governor, had disbanded the little fleet at Iligan commanded by the
Jesuits Ducós, which had been some check on the enemy, but Governor Rojo
reëstablished the Pintados fleet, with headquarters at Cebú; nevertheless, this could
do little to restrain them. There was a general attack by the Joloans and
Mindanaos,11 well aided by the Tirones and Malanaos; and so insolent did they
become that they captured two richly-laden champans on the Mariveles coast, and
entrenched themselves at Mamburao, on Mindoro Island, and sold their Filipino
captives to the Macasar traders who resorted thither. A small squadron was collected
at Cavite, which conveyed over 1,200 men to attack this Moro fort;12 after several
days of skirmishing, the enemy fled, and the Spaniards seized their stronghold,
finding therein sufficient rice and other property to more than pay the expenses of
the expedition. Another Moro band, however, made amends for this loss by gaining
possession of the fort at Cateel, with all its contents; but on going to besiege that at
Tandag they were repulsed and defeated, leaving behind all their arms and supplies.
Plan of the city of Manila and its environs and suburbs on the other side of the river, by the pilot
Francisco Xavier Estorgo y Gallegos, 1770
[From original MS. map (in colors) in Archivo general de Indias, Sevilla]
In 1767 Anda went to Madrid, where he was praised and richly rewarded for his
brave conduct during the English invasion; and the king made him a member of the
Council of Castilla. Later, the post of governor of Filipinas was offered to him; he
several times refused the honor, but finally yielded to the urgent request of the
government, and in July, 1770 made his entry into Manila, where he was received
with unbounded enthusiasm. His instructions made it necessary for him to institute
legal proceedings against his predecessor Raon, who was accused of having warned
the Jesuits of their intended expulsion, and of having secreted important official
documents. Raon was held a prisoner in his house, but died before the suit could be
tried in court. In this suit were also included two auditors and the royal fiscal, and
they and their friends attacked Anda bitterly, causing him numberless vexations in
his efforts to fix on them the responsibility for misconduct in the affair of the Jesuit
expulsion. It was reported in Spain that the English intended to make another attack
on Manila; Anda therefore repaired the walls of the city13 and constructed ships, and
within eight months had built and equipped twelve armed vessels of various sizes,
besides several smaller craft. Notwithstanding this enterprise, the public revenues
were greatly increased during the first year,14 and thus Anda was able to send several
expeditions against the Moro pirates. An earthquake15 occurred on the night of
February 1, which fortunately did no great damage.
“The religious corporations, notwithstanding the support which they generally lent to
Anda during the war with the English, regarded with displeasure his appointment as
governor of Filipinas. That strict magistrate, obeying the dictates of his conscience
(which some persons attribute, but without sufficient grounds, to feelings of personal
revenge), had addressed to the king on April 12, 1768, an exposition which treated of
‘the disorders which exist in Filipinas, and which ought to be corrected.’ In this
document he points out most serious abuses among the friars; in the university,
which was in their charge; among the Jesuits; among the Chinese, protected by the
friars, who preferred them before the Spaniards, driving away and expelling the
latter from their villages; and he censures certain frauds and practices in the public
administration in specified branches of the civil service. The seventy with which
Anda laid bare those abuses drew upon him the hatred of the friars.16 In this
document he demanded a remedy for the disorders which he denounced, pointing out
the method by which this might be effected, and declared that ‘for the radical
correction of these evils it is indispensable to draw up and introduce here a form of
procedure which is clear, and capable of securing the just system which corresponds
thereto, conferring upon the governor all the powers necessary for carrying it into
execution, by those measures which prudence and the actual condition of affairs
shall dictate to him.’ He added: ‘The choice of a zealous governor will materially
contribute to laying the foundations of that great work; but it is necessary to reward
him and give him authority, so that he can work to advantage, and without the
hindrances which have often, by means of secret communications, cunning and
disloyal maneuvers, and other malicious proceedings, frustrated the best and most
carefully formed plans.’ This exposition17 by Anda was certainly taken into account,
for in the ‘royal private instructions’ which were given to him when he was
appointed governor of Filipinas we see that he was ordered to put an end to specified
abuses and disorders, the king using the same terms which Anda had employed in
describing those evils.”
“The archbishop Santa Justa, a man of unparalleled firmness and energetic character,
from the first moment assailed the new governor of Filipinas on the question of the
diocesan visitation, to which the friars continued their opposition, and demanded his
support in order to make it effectual. Anda, who regarded obedience to the laws as a
rule of conduct, and who brought orders from the court to subject the regulars to the
royal patronage, addressed an explicit communication to the superiors of all the
religious institutes, requiring their obedience to the mandate of the sovereign, and
assigning a definite term, which could not be prolonged, for the presentation of their
lists of appointees, in order that the curacies might be filled in this manner. All the
orders of regulars openly refused to yield obedience of this sort, excepting the
Dominicans—who, more circumspect, and endeavoring to avoid the dangers which
they foresaw in resistance, agreed to submit to this command—although many of the
parish priests of the order soon were disobedient to this decision of their superiors.”
The archbishop convened a provincial council at Manila, which held six sessions
during the period May 19–November 24, 1771; various matters of ecclesiastical
administration came before it, the chief of which was the diocesan visit. In the fifth
session, the subjection of the parish priests to the diocesan visitation and the royal
patronage was ordained; and at the final one it was ordered that the decrees of the
council should immediately be promulgated, declaring that those of the council of
Mexico (which Urban VIII had ordered to be observed in Filipinas) were not now
binding. In the first session the bishop of Nueva Cáceres, Fray Antonio de Luna (a
Franciscan), became involved in disputes over the appointment of secretaries, and
was expelled from the assembly; he then retired to his diocese, and during the entire
period of the council opposed its proceedings, with protests, legal formalities, and
official edicts. Bishop Ezpeleta of Cebú died soon after the opening of the council,
and the government of that diocese devolved upon Luna, but, it seems, not its
representation in the council. A secretary of that body, Father Joaquín Traggia, was
sent to Madrid as its agent and bearer of its despatches; but the king refused to
accept his credentials, and ordered him to go to his convent at Zaragoza, forbidding
him to return to Filipinas. (Toward the end of this council, the archbishop, in concert
with his suffragans, drew up a tariff for the parochial fees to be collected by the
curas.) The religious orders finally secured, through influence at the court, the
revocation of the order given to Anda in regard to the regular curas, which had
resulted in many of them being removed from the Indian villages and replaced by
native priests; but no change was made in regard to the diocesan visitation. The
bishop of Nueva Segovia, Fray Miguel Garcia,18 claimed this right, and convened a
diocesan council in 1773; the only result was, to arouse a hot controversy between
Garcia and the Dominicans, to which order he belonged. That order also had a
dispute with the archbishop over his attempt to visit the beaterio of Santa Catalina;
but in 1779 the king decided that this institution should continue to enjoy its
exemption from visitation.
“By royal decree of November 9, 1774, it was ordered that the curacies held by the
regulars should be secularized as fast as they became vacant. Anda suspended the
execution of this command, and wrote to the court, specifying the evils which would
ensue from the secularization of the curacies which the archbishop desired; and in
consequence of this and of the urgent appeals of the Franciscans, Augustinians, and
Recollects, the king ordered by a decree of December 11, 1776, that what had been
decided on this point in the decree of November 9, 1774, should not be put into
execution, and that affairs should be restored to their former status and condition,
and their curacies to the religious; that the regulations for his royal patronage and the
ecclesiastical visitation should be observed, but that the latter might be made by the
bishops in person, or by religious of the same order as those who should serve in the
curacies, and without collecting visitation fees. The king also directed in the said
decree that efforts should be made, by all possible means and methods, to form a
large body of competent clerics, in order that, conformably to the royal decree of
June 23, 1757, these might be installed in the vacant curacies, thus gradually
establishing the secularization that had been decreed.”
Anda took what precautions were available to restrain the Moro pirates, but great
difficulties arose in his way. Ali-Mudin, whom the English had restored to his sway
in Joló, and his son Israel (in whose favor the father had abdicated) were friendly to
the Spaniards, with many of their dattos; but another faction, led by Zalicaya, the
commander of the Joloan armadas, favored the English, who had established
themselves (1762) on the islet of Balambangan19 in the Joló archipelago, which they
had induced Bantilan to grant them; and the English were accused of endeavoring to
incite the Joloans against the Spaniards by intrigue and bribery. Anda decided to
send an expedition to make protest to the English against their occupation of this
island, as being part of the Spanish territory, and entrusted this mission to an Italian
officer named Giovanni Cencelly, who was then in command of one of the infantry
regiments stationed at Manila; the latter sailed from Zamboanga December 30, 1773,
bearing careful instructions as to his mode of procedure, and to avoid any hostilities
with the English and maintain friendship with the Joloans. But Cencelly seems to
have been quite destitute of tact or judgment, and even of loyalty to his governor; for
he disobeyed his instructions, angered the Joloans,20 who could hardly be restrained
by Ali-Mudin from massacring the Spaniards, and at the end of three weeks was
obliged to return to Zamboanga. He was on bad terms with the commandant there
(Raimundo Español), and refused to render him any account of his proceedings at
Joló; and he even tried to stir up a sedition among the Spanish troops against
Español. The English gladly availed themselves of this unfortunate affair to
strengthen their own position in Joló, stirring up the islanders against Spain and
erecting new forts. Later, however, the English at Balambangan showed so much
harshness and contempt for the Moro dattos (even putting one in the pillory) that the
latter plotted to surprise and kill the intruders; and on March 5, 1775, this was
accomplished, the English being all slain except the commandant and five others,
who managed to escape to their ship in the harbor. The fort was seized by the Moros,
who thus acquired great quantities of military supplies, arms, money, and food, with
several vessels.21 Among this spoil were forty-five cannons and $24,000 in silver.
Elated by this success, Tenteng, the chief mover of the enterprise, tried to secure
Zamboanga by similar means; but the new commandant there, Juan Bayot, was on
his guard, and the Moros were baffled. Tenteng then went to Cebú, where he
committed horrible ravages; and other raids of this sort were committed, the
Spaniards being unable to check them for a long time. A letter written to the king by
Anda in 1773 had asked for money to construct light armed vessels, and a royal
order of January 27, 1776, commanded that 50,000 pesos be sent to Filipinas for this
purpose. This money was employed by Anda’s temporary successor, Pedro Sarrio, in
the construction of a squadron of vintas, “vessels which, on account of their
swiftness and exceedingly light draft, were more suitable for the pursuit of the
pirates than the very heavy galleys; they were, besides, to carry pilots of the royal
fleet to reconnoiter the coasts, draw plans of the ports, indicate the shoals and reefs,
take soundings in the sea, etc.”
Notwithstanding the great services which Anda had rendered to his king and country,
his enemies succeeded in procuring from the Spanish government the revocation of
the sentences which had been pronounced in the suits brought by Anda (at the
instance of that very government, and as its representative) against Raon and other
corrupt officials; and Anda was condemned (by decrees in 1775–76) to pay the costs
in these suits, and the further sums of four thousand pesos to the heirs of Raon and
two thousand to the former fiscal, Juan Antonio Cosío. These unexpected and heavy
blows, added to the strain of his official responsibilities and the annoyances caused
by the attacks of his personal enemies, broke down Anda’s health; and he died at the
hospital of San Felipe, Cavite, on October 30, 1776, at the, age of sixty-six years.22
Sultan Israel of Joló was poisoned by the followers of his cousin Ali-Mudin, son of
Bantilan, who therefore assumed the government (early in 1778); immediately the
Moros renewed their raids on the Spanish provinces nearest them, and the
expeditions sent against them by Sarrio could do little to punish them.
In July, 1778, the new proprietary governor arrived at Manila; this was José de
Basco y Vargas, an officer in the Spanish royal navy. The officials of the Audiencia
forthwith sent a remonstrance to the court, against their being subordinated to a man
whose rank “gave him only the right to be addressed as ‘you’ while each one of the
magistrates [of the Audiencia] enjoyed the title of ‘Lordship,’ ” and they asked for
the revocation of Basco’s appointment: but of course this was refused, and they were
rebuked for their officiousness. As a result, the auditors opposed all that Basco
attempted, and even conspired to seize his person and put Sarrio in his place. That
officer, however, refused to join them, and informed the governor of the scheme; in
consequence, Basco arrested the recalcitrant auditors and other persons connected
with their plans (including Cencelly), and sent them all to Spain.23 Now free from
hindrances, he devoted himself to the administration of the government, the welfare
of the country, and the development of its resources.
“In a document entitled ‘A general economic plan,’ he extolled the advantages which
are inherent in the promotion and development of agriculture, commerce, and
industries. He offered therein to bestow rewards and distinctions on the persons who
should excel in agriculture, in making plantations of cotton, of mulberry trees, and of
the choicer spices, as cloves, cinnamon, pepper, and nutmeg; to those who should
establish manufactures of silk, porcelain, and fabrics of hemp, flax,24 and cotton like
those that were received from the Coromandel Coast, Malabar, and China; to those
who would undertake to work the mines of gold, iron, copper, and tin; to those who
should make discoveries useful to the State; and to those who should excel in
sciences, the liberal arts, and mechanics. He also circulated instructions in regard to
the method of cultivating and preparing for use cotton, silk, sugar, etc. He also, in
Camarines, compelled the planting of more than four millions of mulberry trees,
which for several years yielded an excellent product; but these important plantations
were abandoned after his term of office [expired].25 He improved the schools, and
aided the diffusion of knowledge by promoting the knowledge of the Castilian
language. In order to repress the boldness of the murderous highwaymen who
infested the roads in the provinces nearest to Manila, he appointed judges with
power of condemnation [jueces de acordada26]; these, accompanied by a counsellor
and an executioner, by summary process tried the malefactors whom they arrested in
their respective districts, and applied the penalty—a measure so efficacious that in a
short time there was complete security everywhere. The Audiencia appealed against
this measure, and the king issued a decree notifying the governor to abstain from
meddling in the jurisdiction of that court. In acknowledging the receipt of this
sovereign command, Basco remarked that ‘unfortunately it had arrived too late.’ As
war had been again declared between España and Inglaterra, Basco caused the
fortifications of Manila and Cavite, and the forts in the provinces, to be repaired,
changing a great part of the artillery therein for new pieces. He also reorganized the
army. In 1778 the order for the expulsion of the Chinese was revoked, and a
considerable number of them returned to Manila.
“Filipinas had been, until the arrival of the illustrious Basco y Vargas in the country,
a heavy burden on the capital, since every year the situado was sent in cash from
México to meet the obligations of the islands. In order to free España from this sort
of load, and to raise the country from its depressed condition, he conceived the vast
project of stimulating the cultivation of tobacco, by establishing a government
monopoly of it.28 He communicated his plan to the Spanish government; and by a
royal order of February 9, 1780, the monopoly of tobacco, similar to that which was
in force in the other dominions of the nation, was decreed. He immediately published
two proclamations, on December 13 and 25 respectively, in 1781, prohibiting the
sale, traffic, and manufacture of tobacco; and on February 16, 1782, he issued
(signed and sealed by himself), ‘Instructions which are given to all the commanders
or heads of the patrols, the provincial administrators, the market inspectors, and
other persons who are under obligation to prevent loss to the revenue from tobacco.’
These were directed to the prevention of smuggling, showing the way in which
investigations should be conducted—including the houses of parish priests, the
convents, colleges, and beaterios, the quarters of the soldiers, etc. He created a board
of direction for this revenue, a general office of administration or agency, and
subordinate offices to this in the provinces. Basco’s idea was strongly opposed by
various interests; but the governor’s energy was able to conquer this unjust
opposition, and the monopoly was organized on March 1, 1782; it constituted the
basis of the prosperity of the exchequer in that country, and its most important source
of revenue.
“The zealous governor visited the provinces in person, in order to inform himself of
their needs and to remedy these, compelling their governors and other functionaries
to fulfil their trusts as they should. He also organized various military expeditions to
occupy the Igorrot country.”
From the first, Basco did what he could to restrain the incursions of the Moro
pirates; but he had many difficulties to encounter. He repaired the forts in Mindanao
and the Visayan Islands; he built small vessels, and stationed them in Cebú, Iloilo,
Zamboanga, and Calamianes, from which points they could more promptly set out to
punish the Moros; and he sent an expedition to Mamburao, in Mindoro, which drove
out the pirates who, as we have already seen, had established themselves there.
These raids being thus checked for the time, trade began to improve; “and from
Sámar alone, whose traffic with Manila had been paralyzed for more than ten years,
forty-three caracoas went to the capital in 1779.” The sultan of Joló humbly asked
Basco for peace, and returned to the Spaniards a small vessel captured near Antique
by one of his dattos, “an unusual proceeding among the pirates.” The natives of
Bulacan voluntarily offered (December, 1781) to pay for the cost of two vessels to
sail against the pirates, and imposed on themselves for this purpose a tax of one-half
a real a year on each tribute; this proving insufficient, they increased it, in the
summer of 1784, with a ganta of unhulled rice per tribute. This example was
immediately followed by the natives of Pampanga. In 1782, the Visayas were
invaded by a Mindanao host; but on several occasions the Spaniards succeeded in
defeating the pirates and sinking many of their boats. Basco conquered the Batanes
Islands, north of Luzon,29 and this enterprise for a time diverted his military forces
from the Moros, who consequently increased their depredations on the Visayan
natives and carried away many captives from Calamianes, Panay, and Negros.
By royal orders of July 17 and 26, 1784, the post of quartermaster-general of the
islands was created, in accordance with a request by Basco; and that of deputy-
intendant of the exchequer was united with it, independent of the superior
government of the islands. It was placed in charge of one of the auditors, Ciriaco
González Carvajal, also at Basco’s recommendation; and from this time the royal
officials were styled “ministers of the royal exchequer.” Carvajal aided Basco greatly
in establishing the monopoly of tobacco, and it was he who drew up the instructions
to officials on this subject. In 1785, a dispute arose between them over the
establishment of the tobacco monopoly in Camarines and Albay, each regarding this
undertaking as the prerogative of his own office. Carvajal proposed that provincial
intendancies should be created in Ilocos, Camarines, Cebú, and Iloilo; this was done,
and approved by royal orders of November 24, 1786; but a year later the Spanish
government suppressed Carvajal’s office, and these provincial intendancies as well.
In 1785, there was a revolt of the heathen Indians in Ituy and Paniqui, headed by a
Calinga chief named Lagutao, who assembled over 1,200 men; but it was put down
by a force of 300 musketeers sent from Cagayán, and Lagutao was killed in battle. A
royal decree of February 25, 1785, ordered the immediate expulsion of all Chinese
from Manila,30 allowing the governor to fix a place outside the walls where a small
number of them might reside, under supervision; and another decree (April 1, 1785)
approved the foundation of a colony of 200 Chinese on Lake Candaba, in Pampanga.
At Carvajal’s instance, a monopoly was decreed (November 4, 1786) on gunpowder
in Filipinas. In the following year, instructions for the execution of this measure
were issued (December 11); and about the same time the monopoly of wines was
placed in control of the exchequer.
The constant opposition to Basco’s reforms and efforts which he encountered finally
wore out his patience, and he offered his resignation; at first it was not accepted, but
he insisted, and the king allowed him to hand over the government of the islands to
Pedro Sarrio. Basco embarked for Spain at the end of November, 1787, and for his
eminent services was promoted in the navy, ennobled, and made governor of
Cartagena. Montero y Vidal praises in high terms the character and achievements of
this distinguished governor, who had secured for Filipinas greater benefits than had
any other, establishing its revenues on a firm basis, introducing most important
reforms, and advancing its material and moral progress; but he was assailed by “the
envy, rivalry, spite, insane hatred, and lack of patriotism of the auditors, merchants,
and other classes, who were governed by base motives and despicable passions, or
by ignorance and covetousness.”
The natives in northern Ilocos were displeased at the monopolies31 on tobacco and
wines, and revolted; but the alcalde-mayor of the province went to meet them, with
Fray Agustín Pedro Blaquier,32 cura of Batao, and persuaded the insurgents to
disperse without bloodshed. Sarrio held the office of governor but six months. After
the death of Archbishop Santa Justa (December 15, 1787), he found it necessary to
allow the regular priests to resume the charge of the parishes, as is shown in the
following extract from his letter to the king, dated a week after that event, explaining
his reasons for this course: “First, because in temporal matters as well as in spiritual
is seen a manifest and notorious difference between the villages administered by the
regulars and those which are in charge of the seculars of Indian and mestizo
(Sangley and Chinese) birth; these are almost the only ones dedicated to the cure of
souls, for in all the islands hardly six curas can be named who are Spaniards or
Spanish mestizos. It can be said, in general, that the villages which are under the
direction of the regulars have adequate spiritual nourishment, which cannot be
asserted of those which are in charge of the Indians and mestizos. These, when they
receive the name of priest, are not thereby deprived of that innate negligence and
indolence with which nature has endowed all these islanders; and hence it results
that, given up to idleness, gambling, and other [like] pursuits, they abandon study,
and begin to lose whatever fitness [for the office] they may have possessed at the
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.
textbookfull.com