Math Adventures with Python An Illustrated Guide to Exploring Math with Code 1st Edition Peter Farrell pdf download
Math Adventures with Python An Illustrated Guide to Exploring Math with Code 1st Edition Peter Farrell pdf download
https://ebookname.com/product/math-adventures-with-python-an-
illustrated-guide-to-exploring-math-with-code-1st-edition-peter-
farrell/
https://ebookname.com/product/math-starters-5-to-10-minute-
activities-aligned-with-the-common-core-math-standards-
grades-6-12-2nd-edition-judith-a-muschla/
https://ebookname.com/product/programming-and-mathematical-
thinking-a-gentle-introduction-to-discrete-math-featuring-
python-1st-edition-allan-m-stavely/
https://ebookname.com/product/the-math-coach-field-guide-1st-
edition-marilyn-burns/
https://ebookname.com/product/functions-and-applications-11-1st-
edition-chris-kirkpatrick/
Solid State Physics From the Material Properties of
Solids to Nanotechnologies Essentials of Physics Series
David Schmool (Author)
https://ebookname.com/product/solid-state-physics-from-the-
material-properties-of-solids-to-nanotechnologies-essentials-of-
physics-series-david-schmool-author/
https://ebookname.com/product/re-treating-religion-
deconstructing-christianity-with-jean-luc-nancy-1st-edition-
nancy/
https://ebookname.com/product/cell-penetrating-peptides-
processes-and-applications-1st-edition-ulo-langel/
https://ebookname.com/product/strange-curves-counting-rabbits-
other-mathematical-explorations-keith-ball/
https://ebookname.com/product/global-politics-9th-edition-james-
ray/
Unfolded Proteins 1st Edition George D. Rose (Eds.)
https://ebookname.com/product/unfolded-proteins-1st-edition-
george-d-rose-eds/
Playlists
History
Topics
MATH ADVENTURES WITH PYTHON
AN ILLUSTRATED GUIDE TO EXPLORING MATH WITH CODE
Tutorials
BY PETER FARRELL
Offers & Deals
Highlights
Settings
Support
SignSan
Out Francisco
Playlists
MATH ADVENTURES WITH PYTHON. Copyright © 2019 by Peter Farrell.
History
All rights reserved. No part of this work may be reproduced or transmitted in any form
or by any means, electronic or mechanical, including photocopying, recording, or by
Topics
any information storage or retrieval system, without the prior written permission of the
copyright owner and the publisher.
Tutorials
ISBN10: 1593278675
Offers & Deals
ISBN13: 9781593278670
Highlights
www.nostarch.com
No Starch Press and the No Starch Press logo are registered trademarks of No Starch
Press, Inc. Other product and company names mentioned herein may be the
trademarks of their respective owners. Rather than use a trademark symbol with every
occurrence of a trademarked name, we are using the names only in an editorial fashion
and to the benefit of the trademark owner, with no intention of infringement of the
trademark.
The information in this book is distributed on an “As Is” basis, without warranty. While
every precaution has been taken in the preparation of this work, neither the authors nor
No Starch Press, Inc. shall have any liability to any person or entity with respect to any
loss or damage caused or alleged to be caused directly or indirectly by the information
contained in it.
History INTRODUCTION
Topics
Tutorials
Highlights
Settings
Which approach shown in Figure 1 would you prefer? On the left, you see an example of
a traditional approach to teaching math, involving definitions, propositions, and proofs.
Support
This method requires a lot of reading and odd symbols. You’d never guess this had
anything to do with geometric figures. In fact, this text explains how to find the
Sign Out
centroid, or the center, of a triangle. But traditional approaches like this don’t tell us
why we should be interested in finding the center of a triangle in the first place.
Next to this text, you see a picture of a dynamic sketch with a hundred or so rotating
triangles. It’s a challenging programming project, and if you want it to rotate the right
way (and look cool), you have to find the centroid of the triangle. In many situations,
making cool graphics is nearly impossible without knowing the math behind geometry,
for example. As you’ll see in this book, knowing a little of the math behind triangles,
like the centroid, will make it easy to create our artworks. A student who knows math
and can create cool designs is more likely to delve into a little geometry and put up with
a few square roots or a trig function or two. A student who doesn’t see any outcome,
and is only doing homework from a textbook, probably doesn’t have much motivation
to learn geometry.
People learn best by doing. This hasn’t been a daily practice in schools, though, which
tend to favor passive learning. “Doing” in English and history classes might mean
students write papers or give presentations, and science students perform experiments,
but what do math students do? It used to be that all you could actively “do” in math
class was solve equations, factor polynomials, and graph functions. But now that
computers can do most of those calculations for us, these practices are no longer
sufficient.
Simply learning how to automate solving, factoring, and graphing is not the final goal.
Once a student has learned to automate a process, they can go further and deeper into a
topic than was ever possible before.
Figure 2 shows a typical math problem you’d find in a textbook, asking students to
define a function, “f(x),” and evaluate it for a ton of values.
Figure 2: A traditional approach to teaching functions
This same format goes on for 18 more questions! This kind of exercise is a trivial
problem for a programming language like Python. We could simply define the function
)and
f(x then plug in the values by iterating over a list, like this:
import math
def f(x):
return math.sqrt(x + 3) x + 1
The last line just makes the output pretty while rounding all the solutions to three
decimal places, as shown here:
f(0.000) = 2.732
f(1.000) = 2.000
f(1.414) = 1.687
f(0.414) = 2.434
In programming languages like Python, JavaScript, Java, and so on, functions are a
vitally important tool for transforming numbers and other objects—even other
functions! Using Python, you can give a descriptive name to a function, so it’s easier to
understand what’s going on. For example, you can name a function that calculates the
area of a rectangle by calling it calculateArea(), like this:
def calculateArea(width,height):
A math textbook published in the 21st century, decades after Benoit Mandelbrot first
generated his famous fractal on a computer when working for IBM, shows a picture of
the Mandelbrot set and gushes over the discovery. The textbook describes the
Mandelbrot set, which is shown in Figure 3, as “a fascinating mathematical object
derived from the complex numbers. Its beautiful boundary illustrates chaotic behavior.”
The textbook then takes the reader through a painstaking “exploration” to show how to
transform a point in the complex plane. But the student is only shown how to do this on
a calculator, which means only two points can be transformed (iterated seven times) in
a reasonable amount of time. Two points.
In this book, you’ll learn how to do this in Python, and you’ll make the program
transform hundreds of thousands of points automatically and even create the
Mandelbrot set you see above!
You’ll do this using Python and Processing in order to supercharge what you can do in
math class. This book is not about skipping the math; it’s about using the newest,
coolest tools out there to get creative and learn real computer skills while discovering
the connections between math, art, science, and technology. Processing will provide the
graphics, shapes, motion, and colors, while Python does the calculating and follows
your instructions behind the scenes.
For each of the projects in this book, you’ll build the code up from scratch, starting
from a blank file, and checking your progress at every step. Through making mistakes
and debugging your own programs, you’ll get a much deeper understanding of what
each block of code does.
Teachers can use the projects in this book to challenge their students or to make math
more approachable and relevant. What better way to teach matrices than to save a
bunch of points to a matrix and use them to draw a 3D figure? When you know Python,
you can do this and much more.
Chapter 1: Drawing Polygons with Turtles teaches basic programming concepts like
Chapter 3: Guessing and Checking with Conditionals applies your growing Python
game.
Chapter 4: Transforming and Storing Numbers with Algebra ramps up from solving
Chapter 5: Transforming Shapes with Geometry shows you how to create shapes and
then multiply, rotate, and spread them all over the screen.
Chapter 6: Creating Oscillations with Trigonometry goes beyond right triangles and
Chapter 7: Complex Numbers teaches you how to use complex numbers to move points
Chapter 8: Using Matrices for Computer Graphics and Systems of Equations takes
you into the third dimension, where you’ll translate and rotate 3D shapes and solve huge
Chapter 9: Building Objects with Classes covers how to create one object, or as many as
your computer can handle, with roaming sheep and delicious grass locked in a battle for
survival.
Chapter 10: Creating Fractals Using Recursion shows how recursion can be used as a
whole new way to measure distances and create wildly unexpected designs.
Chapter 11: Cellular Automata teaches you how to generate and program cellular
Chapter 12: Solving Problems Using Genetic Algorithms shows you how to harness
the theory of natural selection to solve problems we couldn’t solve in a million years
otherwise!
You can choose the version for your operating system. The site detected that I was using
Windows. Click the file when the download is complete, as shown in Figure 5.
Follow the directions, and always choose the default options. It might take a few
minutes to install. After that, search your system for “IDLE.” That’s the Python IDE, or
integrated development environment, which is what you’ll need to write Python code.
Why “IDLE”? The Python programming language was named after the Monty Python
comedy troupe, and one of the members is Eric Idle.
STARTING IDLE
Find IDLE on your system and open it.
Figure 6: Opening IDLE on Windows
A screen called a “shell” will appear. You can use this for the interactive coding
environment, but you’ll want to save your code. Click File▸New File or press ALTN,
and a file will appear (see Figure 7).
Figure 7: Python’s interactive shell (left) and a new module (file) window, ready
for code!
This is where you’ll write your Python code. We will also use Processing, so let’s go over
how to download and install Processing next.
INSTALLING PROCESSING
There’s a lot you can do with Python, and we’ll use IDLE a lot. But when we want to do
some heavyduty graphics, we’re going to use Processing. Processing is a professional
level graphics library used by coders and artists to make dynamic, interactive artwork
and graphics.
Figure 9: Where to find other Processing modes, like the Python mode we’ll be
using
Download the installer for your operating system by clicking it and following the
instructions. Doubleclick the icon to start Processing. This defaults to Java mode. Click
Java to open the dropdown menu, as shown in Figure 9, and then click Add Mode.
Select Python Mode▸Install. It should take a minute or two, but after this you’ll be
able to code in Python with Processing.
Now that you’ve set up Python and Processing, you’re ready to start exploring math!
aylists
story PART I
HITCHIN’ UP YOUR PYTHON WAGON
opics
utorials
ghlights
ettings
Support
Sign Out
Playlists
1
History
Topics
DRAWING POLYGONS WITH THE TURTLE MODULE
Centuries ago a Westerner heard a Hindu say the Earth rested on the back of a turtle.
Tutorials
When asked what the turtle was standing on, the Hindu explained, “It’s turtles all the
way
Offers down.”
& Deals
Highlights
Settings
Support
Sign Out
Before you can start using math to build all the cool things you see in this book, you’ll
need to learn how to give instructions to your computer using a programming language
called Python. In this chapter you’ll get familiar with some basic programming concepts
like loops, variables, and functions by using Python’s builtin turtle tool to draw
different shapes. As you’ll see, the turtle module is a fun way to learn about Python’s
basic features and get a taste of what you’ll be able to create with programming.
A function is a set of reusable code for performing a specific action in a program. There
are many builtin functions you can use in Python, but you can also write your own
functions (you’ll learn how to write your own functions later in this chapter).
A module in Python is a file that contains predefined functions and statements that you
can use in another program. For example, the turtle module contains a lot of useful
code that was automatically downloaded when you installed Python.
Although functions can be imported from a module in many ways, we’ll use a simple
one here. In the myturtle.py file you just created, enter the following at the top:
The fromcommand indicates that we’re importing something from outside our file. We
then give the name of the module we want to import from, which is turtlein this case.
We use the importkeyword to get the useful code we want from the turtle module. We
use the asterisk (*) here as a wildcard command that means “import everything from
that module.” Make sure to put a space between importand the asterisk.
Save the file and make sure it’s in the Python folder; otherwise, the program will throw
an error.
WARNING
Do not save the file as turtle.py. This filename already exists and will cause a conflict
with the import from the turtle module! Anything else will work: myturtle.py,
turtle2.py, mondayturtle.py, and so on.
forward(100)
Here, we use the forward()function with the number 100 inside parentheses to indicate
how many steps the turtle should move. In this case, 100 is the argument we pass to
the forward()function. All functions take one or more arguments. Feel free to pass other
numbers to this function. When you press F5 to run the program, a new window should
open with an arrow in the center, as shown in Figure 11.
As you can see, the turtle started in the middle of the screen and walked forward 100
steps (it’s actually 100 pixels). Notice that the default shape is an arrow, not a turtle,
and the default direction the arrow is facing is to the right. To change the arrow into a
turtle, update your code so that it looks like this:
myturtle.py
from turtle import *
forward(100)
shape('turtle')
As you can probably tell, shape()is another function defined in the turtle module. It lets
you change the shape of the default arrow into other shapes, like a circle, a square, or
an arrow. Here, the shape()function takes the string value 'turtle'as its argument, not a
number. (You’ll learn more about strings and different data types in the next chapter.)
Save and run the myturtle.py file again. You should see something like Figure 12.
CHANGING DIRECTIONS
The turtle can go only in the direction it’s facing. To change the turtle’s direction, you
must first make the turtle turn a specified number of degrees using the right()or left()
function and then go forward. Update your myturtle.py program by adding the last two
lines of code shown next:
myturtle.py
from turtle import *
forward(100)
shape('turtle')
right(45)
forward(150)
Here, we’ll use the right()function (or rt()for short) to make the turtle turn right 45
degrees before moving forward by 150 steps. When you run this code, the output should
look like Figure 13.
As you can see, the turtle started in the middle of the screen, went forward 100 steps,
turned right 45 degrees, and then went forward another 150 steps. Notice that Python
runs each line of code in order, from top to bottom.
Return to the myturtle.py program. Your first challenge is to modify the code
in the program using only the forwardand rightfunctions so that the turtle
draws a square.
for_loop.py
for i in range(2):
print('hello')
Here, the range()function creates i, or an iterator, for each for loop. The iterator is a
value that increases each time it’s used. The number 2 in parentheses is the argument
we pass to the function to control its behavior. This is similar to the way we passed
different values to the forward()and right()functions in previous sections.
In this case, range(2)creates a sequence of two numbers, 0 and 1. For each of these two
numbers, the forcommand performs the action specified after the colon, which is to
print the word hello.
Be sure to indent all the lines of the code you want to repeat by pressing TAB (one tab is
four spaces). Indentation tells Python which lines are inside the loop so forknows
exactly what code to repeat. And don’t forget the colon at the end; it tells the computer
what’s coming up after it is in the loop. When you run the program, you should see the
following printed in the shell:
hello
hello
As you can see, the program prints hellotwice because range(2)creates a sequence
containing two numbers, 0 and 1. This means that the forcommand loops over the two
items in the sequence, printing “hello” each time. Let’s update the number in the
parentheses, like this:
for_loop.py
for i in range(10):
print('hello')
When you run this program, you should get helloten times, like this:
hello
hello
hello
hello
hello
hello
hello
hello
hello
hello
Let’s try another example since you’ll be writing a lot of forloops in this book:
for_loop.py
for i in range(10):
print(i)
0
1
2
3
4
5
6
7
8
9
In the future you’ll have to remember that istarts at 0 and ends before the last number
in a loop using range, but for now, if you want something repeated four times, you can
use this:
for i in range(4):
It’s as simple as that! Let’s see how we can put this to use.
Let’s use a forloop to avoid repeating the same code. Here’s the myturtle.py program,
which uses a forloop instead of repeating the forward()and right()functions four times:
myturtle.py
from turtle import *
shape('turtle')
for i in range(4):
forward(100)
right(90)
Note that shape('turtle')should come right after you import the turtle module and
before you start drawing. The two lines of code inside this forloop tell the turtle to go
forward 100 steps and then turn 90 degrees to the right. (You might have to face the
same way as the turtle to know which way “right” is!) Because a square has four sides,
we use range(4)to repeat these two lines of code four times. Run the program, and you
should see something like Figure 14.
You should see that the turtle moves forward and turns to the right a total of four times,
finally returning to its original position. You successfully drew a square using a forloop!
To define a function you start by giving it a name. This name can be anything you want,
as long as it’s not already a Python keyword, like list, range, and so on. When you’re
naming functions, it’s better to be descriptive so you can remember what they’re for
when you use them again. Let’s call our function square()because we’ll be using it to
make a square:
myturtle.py
def square():
for i in range(4):
forward(100)
right(90)
The defcommand tells Python we’re defining a function, and the word we list afterward
will become the function name; here, it’s square(). Don’t forget the parentheses after
squ ! They’re
are a sign in Python that you’re dealing with a function. Later we’ll put
values inside them, but even without any values inside, the parentheses need to be
included to let Python know you are defining a function. Also, don’t forget the colon at
the end of the function definition. Note that we indent all the code inside the function
to let Python know which code goes inside it.
If you run this program now, nothing will happen. You’ve defined a function, but you
didn’t tell the program to run it yet. To do this, you need to call the function at the end
of the myturtle.py file after the function definition. Enter the code shown in Listing 11.
myturtle.py
from turtle import *
shape('turtle')
def square():
for i in range(4):
forward(100)
right(90)
square()
You can also use this function in a loop to build something more complicated. For
example, to draw a square, turn right a little, make another square, turn right a little,
and repeat those steps multiple times, putting the function inside a loop makes sense.
The next exercise shows an interestinglooking shape that’s made of squares! It might
take your turtle a while to create this shape, so you can speed it up by adding the speed()
function to myturtle.py after shape('turtle'). Using speed(0)makes the turtle move the
fastest, whereas speed(1)is the slowest. Try different speeds, like speed(5)and speed(10), if
you want.
Write and run a function that draws 60 squares, turning right 5 degrees after
each square. Use a loop! Your result should end up looking like this:
In math class, variables are single letters, but in programming you can give a variable
Random documents with unrelated
content Scribd suggests to you:
"Murderer!" he exclaimed, "my brother's blood calls aloud for
vengeance. May Providence make me its instrument!"
Dominique replied not. Under the same conditions as before, the two
young men took their stations. But the chances were not equal.
Dominique retained all his coolness; his opponent's whole frame
quivered with passionate emotion. This time, neither was in haste to
fire. Advancing slowly, their eyes fixed on each other, they reached
at the same moment the limits of their walk. Then their pistols were
gradually raised, and, as if by word of command, simultaneously
discharged. This time both balls took effect. The one that struck
Dominique went through his arm, without breaking the bone, and
lodged in his back, inflicting a severe but not a dangerous wound.
But Martial Noell was shot through the head.
The news of this bloody business soon got wind, and the very same
day it was the talk of all Toulouse. Martial Noell had died upon the
spot; his brother expired within forty-eight hours. The seconds got
out of the way, till they should see how the thing was likely to go.
Dominique's wound prevented his following their example, if he were
so disposed; and when it no longer impeded his movements, he was
already in the hands of justice. Frantic with grief on learning the fate
of his beloved sons, Anthony Noell hurried to Toulouse, and
vigorously pushed a prosecution. He hoped for a very severe
sentence, and was bitterly disappointed when Dominique escaped, in
consideration of his wounds and of his having been the insulted
party, with the lenient doom of five years' imprisonment.
THE HORSE-RIDERS.
Months passed away, and spring returned. On a bright morning of
May—in parched Provence the pleasantest season of the year—a
motley cavalcade approached Marseilles by the Nice road. It
consisted of two large waggons, a score of horses, and about the
same number of men and women. The horses were chiefly white,
cream-coloured, or piebald, and some of them bore saddles of
peculiar make and fantastical colours, velvet-covered and decorated
with gilding. One was caparisoned with a tiger-skin, and from his
headstall floated streamers of divers-coloured horsehair. The women
wore riding-habits, some of gaudy tints, bodices of purple or crimson
velvet, with long flaunting robes of green or blue. They were
sunburned, boldfaced damsels, with marked features and of
dissipated aspect, and they sat firmly on their saddles, jesting as
they rode along. Their male companions were of corresponding
appearance; lithe vigorous fellows, from fifteen to forty, attired in
various hussar and jockey costumes, with beards and mustaches
fantastically trimmed, limbs well developed, and long curling hair.
Various nations went to the composition of the band. French,
Germans, Italians, and Gipsies made up the equestrian troop of Luigi
Bartolo, which, after passing the winter in southern Italy, had
wandered north on the approach of spring, and now was on its way
to give a series of representations at Marseilles.
A little behind his comrades, upon a fine gray horse, rode a young
Florentine named Vicenzo, the most skilful rider of the troop.
Although but five-and-twenty years old, he had gone through many
vicissitudes and occupations. Of respectable family, he had studied
at Pisa, had been expelled for misconduct, had then enlisted in an
Austrian regiment, whence his friends had procured his discharge,
but only to cast him off for his dissolute habits. Alternately a
professional gambler, a stage player, and a smuggler on the Italian
frontier, he had now followed, for upwards of a year, the vagabond
life of a horse-rider. Of handsome person and much natural
intelligence, he covered his profligacy and taste for low associations
with a certain varnish of good breeding. This had procured him in
the troop the nickname of the Marchese, and had made him a great
favourite with the female portion of the strollers, amongst whom
more than one fierce quarrel had arisen for the good graces of the
fascinating Vicenzo.
The Florentine was accompanied by a stranger, who had fallen in
with the troop at Nice, and had won their hearts by his liberality. He
had given them a magnificent supper at their albergo, had made
them presents of wine and trinkets—all apparently out of pure
generosity and love of their society. He it was who had chiefly
determined them to visit Marseilles, instead of proceeding north, as
they had originally intended, by Avignon to Lyons. He marched with
the troop, on horseback, wrapped in a long loose coat, and with a
broad hat slouched over his brow, and bestowed his companionship
chiefly on Vicenzo, to whom he appeared to have taken a great
affection. The strollers thought him a strange eccentric fellow, half
cracked, to say the least; but they cared little whether he were sane
or mad, so long as his society proved profitable, his purse well filled,
and ever in his hand.
The wanderers were within three miles of Marseilles when they
came to one of the bastides, or country-houses, so thickly scattered
around that city. It was of unusual elegance, almost concealed
amongst a thick plantation of trees, and having a terrace, in the
Italian style, overlooking the road. Upon this terrace, in the cool
shade of an arbour, two ladies were seated, enjoying the sweet
breath of the lovely spring morning. Books and embroidery were on
a table before them, which they left on the appearance of the horse-
riders, and, leaning upon the stone parapet, looked down on the
unusual spectacle. The elder of the two had nothing remarkable,
except the gaudy ribbons that contrasted with her antiquated
physiognomy. The younger, in full flush of youth, and seen amongst
the bright blossoms of the plants that grew in pots upon the
parapet, might have passed for the goddess of spring in her most
sportive mood. Her hair hung in rich clusters over her alabaster
neck; her blue eyes danced in humid lustre; her coral lips, a little
parted, disclosed a range of sparkling pearls. The sole fault to be
found with her beauty was its character, which was sensual rather
than intellectual. One beheld the beautiful and frivolous child of clay,
but the ray of the spirit that elevates and purifies was wanting. It
was the beauty of a Bacchante rather than of a Vestal—Aurora
disporting herself on the flower banks, and awaiting, in frolic mood,
the advent of Cupid.
The motley cavalcade moved on, the men assuming their smartish
seat in the saddle as they passed under the inspection of the bella
biondina. When Vicenzo approached the park wall, his companion
leaned towards him and spoke something in his ear. At the same
moment, as if stung by a gadfly, the spirited gray upon which the
Florentine was mounted, sprang with all four feet from the ground,
and commenced a series of leaps and curvets that would have
unseated a less expert rider. They only served to display to the
greatest advantage Vicenzo's excellent horsemanship and slender
graceful figure. Disdaining the gaudy equipments of his comrades,
the young man was tastefully attired in a dark closely-fitting jacket.
Hessian boots and pantaloons exhibited the Antinöus-like
proportions of his comely limbs. He rode like a centaur, he and his
steed seemingly forming but one body. As he reached, gracefully
caracoling, the terrace on whose summit the ladies were stationed,
he looked up with a winning smile, and removing his cap, bowed to
his horse's mane. The old lady bridled and smiled; the young one
blushed as the Florentine's ardent gaze met hers, and in her
confusion she let fall a branch of roses she held in her hand. With
magical suddenness Vicenzo's fiery horse stood still, as if carved of
marble. With one bound the rider was on foot, and had snatched up
the flowers; then placing a hand upon the shoulder of his steed, who
at once started in a canter, he lightly, and without apparent effort,
vaulted into the saddle. With another bow and smile he rode off with
his companion.
"'Twas well done, Vicenzo," said the latter.
"What an elegant cavalier!" exclaimed Florinda Noell pensively,
following with her eyes the accomplished equestrian.
"And so distinguished in his appearance!" chimed in her silly aunt.
"And how he looked up at us! One might fancy him a nobleman in
disguise, bent on adventures, or seeking intelligence of a lost lady-
love."
Florinda smiled, but the stale platitude, borrowed from the absurd
romances that crammed Madame Verlé's brain, abode in her
memory. Whilst the handsome horse-rider remained in sight, she
continued upon the parapet and gazed after him. On his part,
Vicenzo several times looked back, and more than once he pressed
to his lips the fragrant flowers of which accident had made him the
possessor.
A small theatre, which happened then to be unoccupied, was hired
by the equestrians for their performances, the announcement of
which was soon placarded from one end to the other of Marseilles.
At the first representation, Florinda and her aunt were amongst the
audience. They had no one to cheek their inclinations, for Mr Noell,
after passing many months with his daughter without molestation
from Dominique, who had disappeared from Montauban the day
after their meeting in the churchyard, had forgotten his
apprehensions, and had departed on his annual tour of professional
duty. At the circus, the honours of the night were for Vicenzo. His
graceful figure, handsome face, skilful performance, and
distinguished air, were the theme of universal admiration. Florinda
could not detach her gaze from him as he flew round the circle,
standing with easy negligence upon his horse's back; and she could
scarcely restrain a cry of horror and alarm at the boldness of some
of his feats. Vicenzo had early detected her presence in the theatre;
and the expression of his eyes, when he passed before her box,
made her conscious that he had done so.
Several days elapsed, during which Florinda and her aunt had more
than once again visited the theatre. Vicenzo had become a subject
of constant conversation between the superannuated coquette and
her niece, the old lady indulging the most extravagant conjectures as
to who he could be, for she had made up her mind he was now in
an assumed character. Florinda spoke of him less, but thought of
him more. Nor were her visits to the theatre her only opportunities
of seeing him. Vicenzo, soon after his arrival at Marseilles, had
excited his comrades' wonder and envy by appearing in the elegant
costume of a private gentleman, and by taking frequent rides out of
the town, at first accompanied by Fontaine, the stranger before
mentioned, but afterwards more frequently alone. These rides were
taken early in the morning, or by moonlight, on evenings when there
was no performance. The horse-riders laughed at the airs the
Marchese gave himself, attributed his extravagance to the generosity
of Fontaine, and twitted him with some secret intrigue, which he,
however, did not admit, and they took little pains to penetrate. Had
they followed his horse's hoof-track, they would have found that it
led, sometimes by one road, sometimes by another, to the bastide of
Anthony Noell the magistrate. And after a few days they would have
seen Vicenzo, his bridle over his arm, conversing earnestly, at a
small postern-gate of the garden, with the charming biondina,
whose bright countenance had greeted, like a good augury, their
first approach to Marseilles.
At last a night came when this stolen conversation lasted longer than
usual. Vicenzo was pressing, Florinda irresolute. Fontaine had
accompanied his friend, and held his horse in an adjacent lane,
whilst the lovers (for such they now were to be considered)
sauntered in a shrubbery walk within the park.
"But why this secrecy?" said the young girl, leaning tenderly upon
the arm of the handsome stroller. "Why not at once inform your
friends you accede to their wishes, in renouncing your present
derogatory pursuit? Why not present yourself to my father under
your real name and title? He loves his daughter too tenderly to
refuse his consent to a union on which her happiness depends."
"Dearest Florinda!" replied Vicenzo, "how could my ardent love abide
the delays this course would entail? How can you so cruelly urge me
thus to postpone my happiness? See you not how many obstacles to
our union the step you advise would raise up? Your father, unwilling
to part with his only daughter, (and such a daughter!) would
assuredly object to our immediate marriage—would make your
youth, my roving disposition, fifty other circumstances, pretexts for
putting it off. And did we succeed in overruling these, there still
would be a thousand tedious formalities to encounter,
correspondence between your father and my family, who are proud
as Lucifer of their ancient name and title, and would be wearisomely
punctilious. By my plan, we would avoid all long-winded
negotiations. Before daylight we are across the frontier; and before
that excellent Madame Verlé has adjusted her smart cap, and
buttered her first roll, my adored Florinda is Marchioness of
Monteleane. A letter to papa explains all; then away to Florence, and
in a month back to Marseilles, where you shall duly present me to
my respected father-in-law, and I, as in humility bound, will drop
upon my knees and crave pardon for running off with his treasure.
Papa gives his benediction, and curtain drops, leaving all parties
happy."
How often, with the feeble and irresolute, does a sorry jest pass for
a good argument! As Vicenzo rattled on, his victim looked up in his
face, and smiled at his soft and insidious words. Fascinated by
silvery tones and gaudy scales, the woman, as of old, gave ear to
the serpent.
"'Tis done," said the stroller, with a heartless smile, as he rode off
with Fontaine, half an hour later—"done. A post-chaise at midnight.
She brings her jewels—all the fortune she will ever bring me, I
suppose. No chance of drawing anything from the old gentleman?"
"Not much," replied Fontaine drily.
"Well, I must have another thousand from you, besides expenses.
And little enough too. Fifty yellow-boys for abandoning my place in
the troop. I was never in better cue for the ring. They are going to
Paris, and I should have joined Franconi."
"Oh!" said Fontaine, with a slight sneer, "a man of your abilities will
never lack employment. But we have no time to lose, if you are to
be back at midnight."
The two men spurred their horses, and galloped back to Marseilles.
A few minutes before twelve o'clock, a light posting-carriage was
drawn up, by the road-side, about a hundred yards beyond Anthony
Noell's garden. Vicenzo tapped thrice with his knuckles at the
postern door, which opened gently, and a trembling female form
emerged from the gloom of the shrubbery into the broad moonlight
without. Through the veil covering her head and face, a tear might
be seen glistening upon her cheek. She faltered, hesitated; her good
genius whispered her to pause. But an evil spirit was at hand, luring
her to destruction. Taking in one hand a casket, the real object of his
base desires, and with the other arm encircling her waist, the
seducer, murmuring soft flatteries in her ear, hurried Florinda down
the slope leading to the road. Confused and fascinated, the poor
weak girl had no power to resist. She reached the carriage, cast one
look back at her father's house, whose white walls shone amidst the
dark masses of foliage; the Florentine lifted her in, spoke a word to
the postilion, and the vehicle dashed away in the direction of the
Italian frontier.
So long as the carriage was in sight, Fontaine, who had
accompanied Vicenzo, sat motionless upon his saddle, watching its
career as it sped, like a large black insect, along the moonlit road.
Then, when distance hid it from his view, he turned his horse's head
and rode rapidly into Marseilles.
Meanwhile the Swiss Pension was not without solid advantages, and
might justly lay claim to some regard, if not as a school for learning,
at least as a moral school; its inmates for the most part spoke truth,
respected property, eschewed mischief, were neither puppies, nor
bullies, nor talebearers. There were, of course, exceptions to all this,
but then they were exceptions; nor was the number at any time
sufficient to invalidate the general rule, or to corrupt the better
principle. Perhaps a ten hours' daily attendance in class, coarse
spare diet, hardy and somewhat severe training, may be considered
by the reader as offering some explanation of our general propriety
of behaviour. It may be so; but we are by no means willing to admit,
that the really high moral tone of the school depended either upon
gymnastic exercises or short commons, nor yet arose from the want
of facilities for getting into scrapes, for here, as elsewhere, where
there is the will, there is ever a way. We believe it to have originated
from another source—in a word, from the encouragement held out
to the study of natural history, and the eagerness with which that
study was taken up and pursued by the school in consequence.
Though Pestalozzi might not succeed in making his disciples
scholars, he certainly succeeded in making many among them
naturalists; and of the two—let us ask it without offence—whether is
he the happier lad (to say nothing of the future man) who can
fabricate faultless pentameters and immaculate iambics to order; or
he who, already absorbed in scanning the wonders of creation,
seeks with unflagging diligence and zeal to know more and more of
the visible works of the great Poet of Nature? "Sæpius sane ad
laudem atque virtutem naturam sine doctrinâ, quam sine naturâ
valuisse doctrinam;" which words being Cicero's, deny them, sir, if
you please.
The Pension, during the period of our sojourn at Yverdun, contained
about a hundred and eighty élèves, natives of every European and
of some Oriental states, whose primitive mode of distribution into
classes, according to age and acquirements, during school hours,
was completely changed in playtime, when the boys, finding it easier
to speak their own tongue than to acquire a new one, divided
themselves into separate groups according to their respective
nations. The English would occasionally admit a German or a
Prussian to their coterie; but that was a favour seldom conferred
upon any other foreigner: for the Spaniards, who were certainly the
least well-conducted of the whole community, did not deserve it:
among them were to be found the litigious, the mischief-makers, the
quarrellers, and—for, as has been hinted, we were not all honest—
the exceptional thieves. The Italians we could never make out, nor
they us: we had no sympathy with Pole or Greek; the Swiss we
positively did not like, and the French just as positively did not like
us; so how could it be otherwise? The ushers, for the most part
trained up in the school, were an obliging set of men, with little
refinement, less pretension, and wholly without learning. A distich
from Crabbe describes them perfectly—
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com