(eBook PDF) Starting Out with Java: From Control Structures through Data Structures 3rd Edition instant download
(eBook PDF) Starting Out with Java: From Control Structures through Data Structures 3rd Edition instant download
https://ebookluna.com/product/ebook-pdf-starting-out-with-java-
from-control-structures-through-data-structures-3rd-edition/
(eBook PDF) Starting Out with Java: From Control Structures through Data
Structures 4th Edition
https://ebookluna.com/product/ebook-pdf-starting-out-with-java-from-
control-structures-through-data-structures-4th-edition/
(eBook PDF) Starting Out with Java: From Control Structures through
Objects, 7th Edition
https://ebookluna.com/product/ebook-pdf-starting-out-with-java-from-
control-structures-through-objects-7th-edition/
(eBook PDF) Starting Out with C++: From Control Structures through Objects
8th Edition
https://ebookluna.com/product/ebook-pdf-starting-out-with-c-from-control-
structures-through-objects-8th-edition/
(eBook PDF) Starting Out with C++: From Control Structures through Objects,
Brief Version 8th Edition
https://ebookluna.com/product/ebook-pdf-starting-out-with-c-from-control-
structures-through-objects-brief-version-8th-edition/
(eBook PDF) Starting Out with C++ from Control Structures to Objects 9th
Edition
https://ebookluna.com/product/ebook-pdf-starting-out-with-c-from-control-
structures-to-objects-9th-edition/
(eBook PDF) Data Structures and Abstractions with Java 4th Edition
https://ebookluna.com/product/ebook-pdf-data-structures-and-abstractions-
with-java-4th-edition/
Data Structures and Abstractions with Java 5th Edition (eBook PDF)
https://ebookluna.com/product/data-structures-and-abstractions-with-
java-5th-edition-ebook-pdf/
(eBook PDF) Data Structures and Abstractions with Java 4th Global Edition
https://ebookluna.com/product/ebook-pdf-data-structures-and-abstractions-
with-java-4th-global-edition/
(eBook PDF) Starting Out with Java: Early Objects 5th Edition
https://ebookluna.com/product/ebook-pdf-starting-out-with-java-early-
objects-5th-edition/
Contents vii
Index 1501
Contents xxi
Companion Website:
Chapter 23 Databases
Appendix A Working with Records and Random Access Files
Appendix B The ASCII/Unicode Characters
Appendix C Operator Precedence and Associativity
Appendix D Java Key Words
Appendix E Installing the JDK and JDK Documentation
Appendix F Using the javadoc Utility
Appendix G More about the Math Class
Appendix H Packages
Appendix I More about JOptionPane Dialog Boxes
Appendix J Answers to Checkpoints
Appendix K Answers to Odd-Numbered Review Questions
Appendix L Getting Started with Alice
Appendix M Configuring JavaDB
Case Study 1 Calculating Sales Commission
Case Study 2 The Amortization Class
Case Study 3 The PinTester Class
Case Study 4 Parallel Arrays
Case Study 5 The FeetInches Class
Case Study 6 The SerialNumber Class
Case Study 7 A Simple Text Editor Application
Another Random Scribd Document
with Unrelated Content
place full of beans, he stopped there, saying that it was better to be
caught than to trample on the beans, and better to be slain than to
speak; and so he was murdered by those who were pursuing him.
And in this way, also, most of his companions were slain; being in
number about forty; but that a very few did escape, among whom
were Archippus, of Tarentum, and Lysis, whom I have mentioned
before.
But Dicæarchus relates that Pythagoras died afterwards, having
escaped as far as the temple of the Muses, at Metapontum, and that
he died there of starvation, having abstained from food for forty
days. And Heraclides says, in his abridgment of the life of Satyrus,
that after he had buried Pherecydes in Delos, he returned to Italy,
and finding there a superb banquet prepared at the house of Milo, of
Crotona, he left Crotona, and went to Metapontum, and there put an
end to his life by starvation, not wishing to live any longer. But
Hermippus says, that when there was war between the people of
Agrigentum and the Syracusans, Pythagoras went out with his usual
companions, and took the part of the Agrigentines; and as they were
put to flight, he ran all round a field of beans, instead of crossing it,
and so was slain by the Syracusans; and that the rest, being about
five-and-thirty in number, were burnt at Tarentum, when they were
trying to excite a sedition in the state against the principal
magistrates.
Hermippus also relates another story about Pythagoras. For he
says that when he was in Italy, he made a subterraneous apartment,
and charged his mother to write an account of everything that took
place, marking the time of each on a tablet, and then to send them
down to him, until he came up again; and that his mother did so;
and that Pythagoras came up again after a certain time, lean, and
reduced to a skeleton; and that he came into the public assembly,
and said that he had arrived from the shades below, and then he
recited to them all that had happened during his absence. And they,
being charmed by what he told them, wept and lamented, and
believed that Pythagoras was a divine being; so that they even
entrusted their wives to him, as likely to learn some good from him;
and that they too were called Pythagoreans. And this is the story of
Hermippus.
XXII. And Pythagoras had a wife, whose name was Theano; the
daughter of Brontinus, of Crotona. But some say that she was the
wife of Brontinus, and only a pupil of Pythagoras. And he had a
daughter named Damo, as Lysis mentions in his letter to Hipparchus;
where he speaks thus of Pythagoras: “And many say that you
philosophize in public, as Pythagoras also used to do; who, when he
had entrusted his Commentaries to Damo, his daughter, charged her
to divulge them to no person out of the house. And she, though she
might have sold his discourses for much money, would not abandon
them, for she thought poverty and obedience to her father’s
injunctions more valuable than gold; and that too, though she was a
woman.”
He had also a son, named Telauges, who was the successor of his
father in his school, and who, according to some authors, was the
teacher of Empedocles. At least Hippobotus relates that Empedocles
said:—
PYTHAGORAS TO ANAXIMENES.
LIFE OF EMPEDOCLES.
I. Empedocles, as Hippobotus relates, was the son of Meton, the
son of Empedocles, and a citizen of Agrigentum. And Timæus, in the
fifteenth book of his Histories, gives the same account, adding that
Empedocles, the grandfather of the poet, was also a most eminent
man. And Hermippus tells the same story as Timæus; and in the
same spirit Heraclides, in his treatise on Diseases, relates that he
was of an illustrious family, since his father bred a fine stud of
horses. Erastothenes, in his List of the Conquerors at the Olympic
Games, says, that the father of Meton gained the victory in the
seventy-first olympiad, quoting Aristotle as his authority for the
assertion.
But Apollodorus, the grammarian, in his Chronicles, says that he
was the son of Meton; and Glaucus says that he came to Thurii
when the city was only just completed. And then proceeding a little
further, he adds:—
But certainly the person who got the victory with a single horse in
the seventy-first olympiad was a namesake of this man, and that it is
which deceived Apollodorus as to the age of this philosopher.
But Satyrus, in his Lives, asserts, that Empedocles was the son of
Exænetus, and that he also left a son who was named Exænetus.
And that in the same Olympiad, he himself gained the victory with
the single horse; and his son, in wrestling, or, as Heraclides says in
his Abridgment, in running. But I have found in the Commentaries of
Phavorinus, that Empedocles sacrificed, and gave as a feast to the
spectators of the games, an ox made of honey and flour, and that he
had a brother named Callicratidas.
But Telauges, the son of Pythagoras, in his letters to Philolaus,
says that Empedocles was the son of Archinomus; and that he was a
citizen of Agrigentum, he himself asserts at the beginning of his
Purifications.
But some say that when the philosopher says this, he is referring to
Parmenides.
Neanthes relates, that till the time of Philolaus and Empedocles,
the Pythagoreans used to admit all persons indiscriminately into
their school; but when Empedocles made their doctrines public by
means of his poems, then they made a law to admit no Epic poet.
And they say that the same thing happened to Plato; for that he too
was excluded from the school. But who was the teacher of the
Pythagorean school that Empedocles was a pupil of, they do not say;
for, as for the letter of Telauges, in which he is stated to have been a
pupil of Hippasus and Brontinus, that is not worthy of belief. But
Theophrastus says that he was an imitator and a rival of
Parmenides, in his poems, for that he too had delivered his opinions
on natural philosophy in epic verse.
Hermippus, however, says that he was an imitator, not of
Parmenides, but of Xenophanes with whom he lived; and that he
imitated his epic style, and that it was at a later period that he fell in
with the Pythagoreans. But Alcidamas, in his Natural Philosophy,
says, that Zeno and Empedocles were pupils of Parmenides, about
the same time; and that they subsequently seceded from him; and
that Zeno adopted a philosophical system peculiar to himself; but
that Empedocles became a pupil of Anaxagoras and Pythagoras, and
that he imitated the pompous demeanour, and way of life, and
gestures of the one, and the system of Natural Philosophy of the
other.
III. And Aristotle, in his Sophist, says that Empedocles was the
first person who invented rhetoric, and Zeno the first person who
invented dialectics. And in his book on Poetry, he says, that
Empedocles was a man of Homeric genius, and endowed with great
power of language, and a great master of metaphor, and a man who
employed all the successful artifices of poetry, and also that when he
had written several poems, and among them one on the passage of
the Hellespont, by Xerxes, and also the proœmium of a hymn to
Apollo, his daughter subsequently burnt them, or, as Hieronymus
says, his sister, burning the proœmium unintentionally, but the
Persian poem on purpose, because it was incomplete. And speaking
generally, he says that he wrote tragedies and political treatises.
But Heraclides, the son of Sarapion, says that the tragedies were
the work of some other Empedocles; and Hieronymus says that he
had met with forty-three. Neanthes, too, affirms that when he was a
young man, he wrote tragedies, and that he himself had
subsequently met with them; and Satyrus, in his Lives, states that
he was a physician, and also a most excellent orator. And
accordingly, that Gorgias, of Leontini, was his pupil, a man of the
greatest eminence as a rhetorician, and one who left behind him a
treatise containing a complete system of the art; and who, as we are
told by Apollodorus, in his Chronicles, lived to the age of a hundred
and nine years.
IV. Satyrus tells us that he used to say that he had been present
when Empedocles was practising magic; and that he professes this
science, and many others too in his poems when he says:—
And all the drugs which can relieve disease,
Or soften the approach of age, shall be
Revealed to your inquiries; I do know them,
And I to you alone will them disclose.
You shall restrain the fierce unbridled winds,
Which, rushing o’er the earth, bow down the corn,
And crush the farmer’s hopes. And when you will,
You shall recall them back to sweep the land:
Then you shall learn to dry the rainy clouds,
And bid warm summer cheer the heart of men.
Again, at your behest, the drought shall yield
To wholesome show’rs: when you give the word
Hell shall restore its dead.
V. And Timæus, in his eighteenth book, says, that this man was
held in great esteem on many accounts; for that once, when the
etesian gales were blowing violently, so as to injure the crops, he
ordered some asses to be flayed, and some bladders to be made of
their hides, and these he placed on the hills and high places to catch
the wind. And so, when the wind ceased, he was called wind-
forbidder (κωλυσανέμας). And Heraclides, in his treatise on Diseases,
says that he dictated to Pausanias the statement which he made
about the dead woman. Now Pausanias, as both Aristippus and
Satyrus agree, was much attached to him; and he dedicated to him
the works which he wrote on Natural Philosophy, in the following
terms:—
VII. And he says that Agrigentum was a very large city, since it
had eight hundred thousand inhabitants; on which account
Empedocles, seeing the people immersed in luxury, said, “The men
of Agrigentum devote themselves wholly to luxury as if they were to
die to-morrow, but they furnish their houses as if they were to live
for ever.”
VIII. It is said that Cleomenes, the rhapsodist, sung this very
poem, called the Purifications, at Olympia; at least this is the
account given by Phavorinus, in his Commentaries.
IX. And Aristotle says, that he was a most liberal man, and far
removed from anything like a domineering spirit; since he constantly
refused the sovereign power when it was offered to him, as Xanthus
assures us in his account of him, showing plainly that he preferred a
simple style of living. And Timæus tells the same story, giving at the
same time the reason why he was so very popular. For he says that
when on one occasion, he was invited to a banquet by one of the
magistrates, the wine was carried about, but the supper was not
served up. And as every one else kept silence, he, disapproving of
what he saw, bade the servants bring in the supper; but the person
who had invited him said that he was waiting for the secretary of the
council. And when he came he was appointed master of the feast, at
the instigation of the giver of it, and then he gave a plain intimation
of his tyrannical inclinations, for he ordered all the guests to drink,
and those who did not drink were to have the wine poured over their
heads. Empedocles said nothing at the moment, but the next day he
summoned them before the court, and procured the execution of
both the entertainer and the master of the feast.
And this was the beginning of his political career. And at another
time, when Acron, the physician, asked of the council a place where
he might erect a monument to his father, on account of his
eminence as a physician, Empedocles came forward and opposed
any such grant, adducing many arguments on the ground of
equality, and also putting the following question:—“And what elegy
shall we inscribe upon it? Shall we say:—
Hail to ye,
I, an immortal God, no longer mortal,
Now live among you:
And so on.
But when he went to the olympic games he was considered a
worthy object of general attention; so that there was no mention
made of any one else in comparison of Empedocles.
X. Afterwards, indeed, when Agrigentum was settled, the
descendants of his enemies opposed his return; on which account he
retired to Peloponnesus, where he died. And Timon has not let even
Empedocles escape, but satirises him in this style, saying:—
And then Empedocles, the honeyed speaker
Of soft forensic speeches; he did take
As many offices as he was able,
Creating magistrates who wanted helpers.
And another:—
Meaning by Jove fire, by Juno the earth, by Pluto the air, and by
Nestis water. And these things, says he, never cease alternating with
one another; inasmuch as this arrangement is perpetual.
Accordingly, he says subsequently:—
And he asserts that the sun is a vast assemblage of fire, and that it
is larger than the moon. And the moon is disk-shaped; and that the
heaven itself is like crystal; and that the soul inhabits every kind of
form of animals and plants. Accordingly, he thus expresses himself.
LIFE OF EPICHARMUS.
I. Epicharmus was a native of Cos, the son of Helothales; he also
was a pupil of Pythagoras. When he was three months old he was
brought to Megara, in Sicily, and from thence he came to Syracuse,
as he himself tells us in his writings. And on his statue there is the
following inscription.
LIFE OF ARCHYTAS.
I. Archytas was a native of Tarentum, and the son of Mnesagoras;
or, as Aristoxenus relates, of Histiæus.
II. He also was a Pythagorean; and he it was who saved Plato’s
life by means of a letter, when he was in danger of being put to
death by Dionysius.
III. He was a man held in very general esteem on account of his
universal virtue; and he was seven times appointed general of his
countrymen, when no one else had ever held the office for more
than one year, as the law forbade it to be held for a longer period.
IV. Plato wrote his letters to him; as he had begun the
correspondence by writing himself to Plato, which he did in the
following manner:—
“I am very glad that you have recovered from your delicate state
of health; for you yourself have sent me word of your recovery, and
Lamiscus gives the same account. I have been much occupied with
some commentaries, and have been among the Lucanians, and have
met with the descendants of Ocellus. I have now in my possession,
and I send to you the treatises on Law, and Kingly Power, and Piety,
and the Creation of the Universe. As for the rest, I have not been
able to find them, but whenever I do find any, I will send them to
you.”
Thus wrote Archytas. And Plato sent him an answer in the
following terms:—
LIFE OF ALCMÆON.
I. Alcmæon was a citizen of Crotona; he also was a pupil of
Pythagoras. And the chief part of his writings are on medical
subjects; but he also at times discusses points of natural philosophy,
and asserts that the greater part of human affairs have two sides.
He appears to have been the first person who wrote a treatise on
Natural Philosophy, as Phavorinus affirms, in his Universal History;
and he used to argue that the moon had the same nature for ever
which she had at that moment.
II. He was the son of Pirithus, as he himself states at the
beginning of his treatise, where he says, “Alcmæon, of Crotona, the
son of Pirithus, says this to Brontinus, and Leon, and Bathyllus.
About things invisible, and things mortal, the Gods alone have a
certain knowledge; but men may form conjectures.…” And so on.
He used also to say that the soul was immortal, and that it was in
a state of perpetual motion in the same way as the sun.
LIFE OF HIPPASUS.
I. Hippasus was a citizen of Metapontum, and a pupil of
Pythagoras.
II. He used to say that the time of the changes of the world was
definite, and that the universe also was finite, and in a state of
perpetual motion.
III. Demetrius, in his treatise on People of the same Name, says
that he left no writings behind him.
IV. There were two people of the name of Hippasus; this man, and
another who wrote an account of the Constitution of the
Lacedæmonians, in five books. And he was himself a
Lacedæmonian.
LIFE OF PHILOLAUS.
I. Philolaus was a native of Crotona, and a pupil of Pythagoras, it
was from him that Plato wrote to Dion to take care and purchase the
books of Pythagoras.
II. And he died under suspicion of having designed to seize on the
tyranny; and we have written an epigram on him:—
III. His theory was, that everything was produced by harmony and
necessity. And he was the first person who affirmed that the earth
moved in a circle; though some attribute the assertion of this
principle to Icetas of Syracuse.
IV. He wrote one book, which Hermippus reports, on the authority
of some unknown writer, that Plato the philosopher purchased when
he was in Sicily (having come thither to the court of Dionysius), of
the relations of Philolaus, for forty Alexandrian minæ of silver; and
that from this book he copied his Timæus. But others say that Plato
received it as a present, after having obtained his liberty for a young
man, one of the disciples of Philolaus, who had been arrested by
Dionysius. Demetrius, in his treatise on people of the same name,
says that he was the first of the Pythagoreans who wrote a treatise
on Natural Philosophy; and it begins thus:—
“But nature in the world has been composed of bodies infinite and
finite, and so is the whole world and all that is in it.”
LIFE OF EUDOXUS.
I. Eudoxus was the son of Æschines, and a native of Cnidus. He
was an astronomer, a geometrician, a physician, and a lawgiver. In
geometry he was a pupil of Archytas, and in medicine of Philistion,
the Sicilian, as Callimachus relates in his Tablets; and Sotion, in his
Successions, asserts that he was likewise a pupil of Plato; for that,
when he was twenty-three years of age, and in very narrow
circumstances, he came to Athens with Theomedon the physician,
by whom he was chiefly supported, being attracted by the reputation
of the Socratic school. Some say that his attachment to Theomedon
was cemented by nearer ties. And when he had arrived at Piræus,
he went up to the city every day, and when he had heard the
Sophists lecture he returned. And having spent two months there,
he returned home again; and being again aided by the contributions
of his friends, he set sail for Egypt, with Chrysippus the physician,
bearing letters of introduction from Agesilaus to Nectanabis, and
that he recommended him to the priests.
II. And having remained there a year and four months, he shaved
his eyebrows after the manner of the Egyptian priests, and
composed, as it is said, the treatise called the Octaeteris. From
thence he went to Cyzicus, and to the Propontis, in both of which
places he lived as a Sophist; he also went to the court of Mausolus.
And then, in this manner, he returned again to Athens, having a
great many disciples with him, for the sake, as some say, of
annoying Plato, because he had originally discarded him from his
school. Some say, that when Plato gave an entertainment on one
occasion, Eudoxus, as the guests were very numerous, introduced
the fashion of sitting in a semicircle.
Nicomachus, the son of Aristotle, affirms that he used to say, that
pleasure was the good.
III. He was received in his own country with great honours, as the
decree that was passed respecting him shows. He was also
accounted very illustrious among the Greeks, having given laws to
his own fellow citizens, as Hermippus tells us in the fourth book of
his account of the Seven Wise Men; and having also written treatises
on Astronomy and Geometry, and several other considerable works.
He had three daughters, Actis, Philtis, and Delphis. And
Eratosthenes asserts, in his books addressed to Baton, that he also
composed dialogues entitled Dialogues of Dogs; others say that
these were written by some Egyptians, in their own language, and
that Eudoxus translated them, and published them in Greece. One of
his pupils was Chrysippus, of Cnidos, son of Erineus, who learnt of
him all that he knew about the Gods, and the world, and the
heavenly bodies; and who learnt medicine from Philistion the
Sicilian. He also left some very admirable Reminiscences.
IV. He had a son of the name of Aristagoras, who was the teacher
of Chrysippus, the son of Aëthlius; he was the author of a work on
Remedies for the Eyes, as speculations on natural philosophy had
come very much under his notice.
V. There were three people of the name of Eudoxus. The first, this
man of whom we are speaking; the second, a Rhodian, who wrote
histories; the third, a Siciliot, a son of Agathocles, a comic poet, who
gained three victories at the Dionysia in the city, and five at the
Lenæa,[119] as Apollodorus tells us in his Chronicles. We also find
another, who was a physician of Cnidos, who is mentioned by this
Eudoxus, in his Circuit of the World, where he says that he used to
warn people to keep constantly exercising their limbs in every kind
of exercise, and their senses too.
VI. The same author says, that the Cnidean Eudoxus flourished
about the hundred and third olympiad; and that he was the inventor
of the theory of crooked lines. And he died in his fifty-third year. But
when he was in Egypt with Conuphis, of Heliopolis, Apis licked his
garment; and so the priests said that he would be short-lived, but
very illustrious, as it is reported by Phavorinus in his Commentaries.
And we have written an epigram on him, that runs thus:—
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.
ebookluna.com