|
|
|
|
|
|
|
(text box continued from previous page) |
|
|
|
|
|
|
|
|
programmer in history, and the modern Ada programming language is named in her honor. |
|
|
|
| |
|
|
|
|
When Babbage designed his Analytical Engine, Ada foresaw that it could go beyond arithmetic computations and become a general manipulator of symbols, and that it would thus have far-reaching capabilities. She even suggested that such a device could eventually be programmed with rules of harmony and composition so that it could produce scientific music. In effect, Ada foresaw the field of artificial intelligence more than 150 years ago. |
|
|
|
| |
|
|
|
|
In 1842, Babbage gave a series of lectures in Turin, Italy, on his Analytical Engine. One of the attendees was Luigi Menabrea, who was so impressed that he wrote an account of Babbage's lectures. At age 27, Ada decided to translate the account into English with the intent of adding a few of her own notes about the machine. In the end, her notes were twice as long as the original material, and the document, The Sketch of the Analytical Engine, became the definitive work on the subject. |
|
|
|
| |
|
|
|
|
It is obvious from Ada's letters that her notes were entirely her own and that Babbage was sometimes making unsolicited editorial changes. At one point, Ada wrote to him, |
|
|
|
|  |
|
 |
|
|
I am much annoyed at your having altered my Note. You know I am always willing to make any required alterations myself, but that I cannot endure another person to meddle with my sentences. |
|
|
|
| |
|
|
|
|
Ada gained the title Countess of Lovelace when she married Lord William Lovelace. The couple had three children, whose upbringing was left to Ada's mother, while Ada pursued her work in mathematics. Her husband was supportive of her work, but for a woman of that day, such behavior was considered almost as scandalous as some of her father's exploits. |
|
|
|
| |
|
|
|
|
Ada Lovelace died of cancer in 1852, just one year before a working Difference Engine was built in Sweden from one of Babbage's designs. Like her father, Ada lived only to age 36, and even though they led very different lives, she had undoubtedly admired him and taken inspiration from his unconventional, rebellious nature. In the end, Ada asked to be buried beside him at the family's estate. |
|
|
|
|
|
|
|
|
|
// This function computes the day number within a year, given
// the date. It accounts correctly for leap years. The
// calculation is based on the fact that months average 30 days
// in length. Thus, (month - 1) * 30 is roughly the number of
// days in the year at the start of any month. A correction
// factor is used to account for cases where the average is
// incorrect and for leap years. The day of the month is then
// added to get the specific day number
|
|
|
|
|
|