<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danilo Poccia on Medium]]></title>
        <description><![CDATA[Stories by Danilo Poccia on Medium]]></description>
        <link>https://medium.com/@danilop?source=rss-3fdee8fcc5ef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bMnW14oDKqOdbGkkEy4eag.jpeg</url>
            <title>Stories by Danilo Poccia on Medium</title>
            <link>https://medium.com/@danilop?source=rss-3fdee8fcc5ef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 10:21:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danilop/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Napier’s Bones and the Birth of Logarithms]]></title>
            <link>https://medium.com/chronicles-of-computation/napiers-bones-and-the-birth-of-logarithms-8cf60e63f885?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cf60e63f885</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Tue, 08 Aug 2023 17:25:45 GMT</pubDate>
            <atom:updated>2023-08-09T12:30:38.154Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>In the heart of the 16th century, a Scottish scholar named John Napier was about to make a discovery that would revolutionize the world of mathematics. Born in 1550 in Edinburgh, Scotland, Napier was a polymath who made significant contributions to the field of mathematics. He was a man of many talents, with interests ranging from agriculture to theology, but it was his work in mathematics that would leave a lasting legacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OiMbr1xSH_gLkTfC" /><figcaption>Photo by <a href="https://unsplash.com/@kate423?utm_source=medium&amp;utm_medium=referral">Kate Bielinski</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Napier’s most significant contribution to mathematics was his invention of logarithms, which he first published in 1614 under the title “Mirifici logarithmorum canonis descriptio”. The invention of logarithms was foreshadowed by the comparison of arithmetic and geometric sequences. Napier’s conception of a logarithm involved a clear apprehension of the nature and consequences of a certain functional relationship, at a time when the concept of a function was not yet fully developed.</p><p>Logarithms simplified complex calculations, making it easier to multiply, divide, and take roots of numbers, by transforming these operations into simpler ones — addition, subtraction, and multiplication, respectively.</p><p>Here’s how it works:</p><p>1. <strong>Multiplication</strong>: Logarithms convert multiplication into addition. If you have two numbers, say <em>a</em> and <em>b</em>, and you want to multiply them, you can instead add their logarithms. Mathematically, this is expressed as <em>log(a * b) = log(a) + log(b)</em>. So, if you know the logarithms of <em>a</em> and <em>b</em>, you can just add those logarithms to get the logarithm of the product <em>a * b</em>. Then, by looking up this value in a table of antilogarithms (or using an inverse logarithm function), you can find the product <em>a * b</em>.</p><p>2. <strong>Division</strong>: Similarly, logarithms convert division into subtraction. The formula is <em>log(a / b) = log(a) — log(b)</em>. So, to divide <em>a</em> by <em>b</em>, you subtract the logarithm of <em>b</em> from the logarithm of <em>a</em>, and then find the antilogarithm of the result.</p><p>3. <strong>Roots</strong>: Logarithms can also simplify the process of taking roots. The <em>n</em>th root of a number <em>a</em> can be found by dividing the logarithm of <em>a</em> by <em>n</em>, and then finding the antilogarithm of the result. This is because <em>log(a^(1/n)) = (1/n) * log(a)</em>.</p><p>In the era before calculators and computers, these properties of logarithms were a huge time-saver. Logarithm tables were widely used in many fields, including astronomy, engineering, and navigation, to simplify complex calculations. Logarithms reduced the time and effort required for these calculations, making them one of the most important advances in the practical application of mathematics.</p><p>Around the same time, Napier developed a manual calculating device known as “Napier’s bones”. These were not actual bones, but rather a set of rods inscribed with numbers that could be used to perform multiplication and division. Each rod is a strip, usually made of bone or ivory, with a series of squares with numbers inscribed on it.</p><p>Let’s take a closer look at how Napier’s bones work. Imagine a set of ten rods, each marked with a different digit from “0” to “9”. Each rod is divided into nine squares, and in each square, there are two numbers. The number on the bottom-right is the first digit of the multiplication of the number of the rod and the number of the square. The number on the top-left is the second digit of the same multiplication. For example, on the rod marked “2”, the fifth square (<em>2 * 5 = 10</em>) would have `0` in the right-bottom and `1` in the top-left.</p><p>The device simplifies multiplication by reducing it to a process of addition. Here’s how it works:</p><p>1. <strong>Set up</strong>: To multiply a number by another number, you first arrange the appropriate rods side by side. For example, to multiply 234 by 7, you would arrange the rods for 2, 3, and 4 next to each other.</p><p>2. <strong>Multiplication</strong>: Then, you look at the squares corresponding to the digit you’re multiplying by (in this case, 7). You add up the numbers in each diagonal to get the digits of the result.</p><p>Here’s a simple Python code that generates a representation of Napier’s bones:</p><pre># Function to generate Napier&#39;s bones<br>def generate_bones():<br>    bones = []<br>    for i in range(10):<br>        bone = []<br>        for j in range(1, 10):<br>            p = i*j<br>            bone.append((p // 10, p % 10))<br>        bones.append(bone)<br>    return bones<br><br># Generate and print Napier&#39;s bones<br>bones = generate_bones()<br><br>for i, bone in enumerate(bones):<br>    print(f&quot;{i}: {bone}&quot;)</pre><p>This code creates a list of <strong>bones</strong>, where each <strong>bone</strong> is shown horizontally as a list of tuples. Each tuple represents a square on the bone, with the first element being the top-left digit of the bone and the second element being the bottom-right digit.</p><p>Save the previous file as <strong>napiers_bones.py</strong> and run it using Python. Here’s the output:</p><pre>0: [(0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0)]<br>1: [(0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 8), (0, 9)]<br>2: [(0, 2), (0, 4), (0, 6), (0, 8), (1, 0), (1, 2), (1, 4), (1, 6), (1, 8)]<br>3: [(0, 3), (0, 6), (0, 9), (1, 2), (1, 5), (1, 8), (2, 1), (2, 4), (2, 7)]<br>4: [(0, 4), (0, 8), (1, 2), (1, 6), (2, 0), (2, 4), (2, 8), (3, 2), (3, 6)]<br>5: [(0, 5), (1, 0), (1, 5), (2, 0), (2, 5), (3, 0), (3, 5), (4, 0), (4, 5)]<br>6: [(0, 6), (1, 2), (1, 8), (2, 4), (3, 0), (3, 6), (4, 2), (4, 8), (5, 4)]<br>7: [(0, 7), (1, 4), (2, 1), (2, 8), (3, 5), (4, 2), (4, 9), (5, 6), (6, 3)]<br>8: [(0, 8), (1, 6), (2, 4), (3, 2), (4, 0), (4, 8), (5, 6), (6, 4), (7, 2)]<br>9: [(0, 9), (1, 8), (2, 7), (3, 6), (4, 5), (5, 4), (6, 3), (7, 2), (8, 1)]</pre><p>Let’s use Napier’s bones to multiply 234 by 7. Let’s take the bones for digits 2, 3, and 4:</p><pre>2: [(0, 2), (0, 4), (0, 6), (0, 8), (1, 0), (1, 2), (1, 4), (1, 6), (1, 8)]<br>3: [(0, 3), (0, 6), (0, 9), (1, 2), (1, 5), (1, 8), (2, 1), (2, 4), (2, 7)]<br>4: [(0, 4), (0, 8), (1, 2), (1, 6), (2, 0), (2, 4), (2, 8), (3, 2), (3, 6)]</pre><p>Because we are multipling by 7, we look at the seventh tuple for each bone:</p><pre>2: (1, 4)<br>3: (2, 1)<br>4: (2, 8)</pre><p>Now, we compute the result of the multiplication by adding the digits in the diagonals. The first and the last digits don’t have other numbers in a diagonal, so we take them as they are.</p><p>The last digit is <strong>8</strong>. The one before is 2 + 1 = <strong>3</strong>, preceded by 2 + 4 = <strong>6</strong> and, for the first digit, <strong>1</strong>:</p><p><em>234 * 7 = 1638</em></p><p>Now, try doing some calculations using Napier’s bones! If the sum of a diagonal column is greater or equal to 10, the first digit (always a “1”) should be carried over and added along with the numbers for the previous digit.</p><p>Napier’s bones were a significant step forward. They were a simple yet effective tool that made complex calculations more accessible. Napier’s work laid the groundwork for the slide rule, which would become a fundamental tool for engineers and scientists for centuries to come.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is yet to be published.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cf60e63f885" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/napiers-bones-and-the-birth-of-logarithms-8cf60e63f885">Napier’s Bones and the Birth of Logarithms</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Al-Battani: Astronomy and Trigonometry]]></title>
            <link>https://medium.com/chronicles-of-computation/al-battani-astronomy-and-trigonometry-85b3edc7c79?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/85b3edc7c79</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Mon, 31 Jul 2023 18:01:53 GMT</pubDate>
            <atom:updated>2023-08-08T17:26:13.685Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>Born in 858 CE in the region of modern-day Turkey, Al-Battani, also known as Albategnius, was a renowned Arab astronomer, astrologer, and mathematician. His life was marked by the pursuit of knowledge, a trait that was common in the Islamic Golden Age, a period characterized by significant advancements in science, technology, and culture.</p><p>Al-Battani’s most significant work, “Kitab az-Zij” (“Book of Astronomical Tables”), written around 900 CE, was a comprehensive treatise on astronomy and trigonometry. This book, which was based on Ptolemy’s “Almagest”, was not merely a translation but an original work that included a range of new observations, corrections, and innovations. It was one of the most influential books in astronomy and trigonometry during the Middle Ages, and it was widely used in both the Islamic world and Europe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-vqtQjoanA2JTsEe" /><figcaption>Photo by <a href="https://unsplash.com/@sarahleejs?utm_source=medium&amp;utm_medium=referral">Jongsun Lee</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>One of Al-Battani’s most notable contributions was his work on trigonometry. He was the first to replace the use of Greek chords with the sine, a fundamental concept in trigonometry. This change simplified calculations and laid the groundwork for further developments in trigonometry and astronomy.</p><p>In trigonometry, sine (often abbreviated as <em>sin</em>) and cosine (abbreviated as <em>cos</em>) are fundamental functions that relate the angles of a right triangle to the lengths of its sides. They are defined as follows:</p><p>1. <strong>Sine (<em>sin</em>)</strong>: In a right triangle, the sine of an angle is the length of the opposite side divided by the length of the hypotenuse. The hypotenuse is the longest side of the triangle, and it’s opposite the right angle. The opposite side is the side that is directly across from the angle in question.</p><p>2. <strong>Cosine (<em>cos</em>)</strong>: In a right triangle, the cosine of an angle is the length of the adjacent side divided by the length of the hypotenuse. The adjacent side is the side that is next to the angle in question and is not the hypotenuse.</p><p>These functions are fundamental in many areas of mathematics, physics, engineering, and many other fields. They are used to describe periodic phenomena like sound and light waves, to solve problems in geometry and calculus, and to analyze physical phenomena like pendulum motion.</p><p>In the context of a unit circle (a circle with a radius of 1), the sine and cosine of an angle can also be interpreted as the <em>y</em> and <em>x</em> coordinates, respectively, of a point on the circle corresponding to that angle. This interpretation is very useful in many applications, including computer graphics and signal processing.</p><p>Al-Battani also made significant improvements to the existing Arabic translations of Greek mathematical and astronomical works. His corrections and refinements of these translations helped to preserve and enhance the knowledge of the ancient Greeks, making it more accessible to scholars in the Islamic world and later in Europe.</p><p>In addition to his work on trigonometry, Al-Battani made numerous contributions to astronomy. He made accurate observations of the solar year, which he found to be 365 days, 5 hours, 46 minutes, and 24 seconds, an estimate very close to the modern value. He also accurately determined the Earth’s axial tilt and the precession of the equinoxes.</p><p>Al-Battani’s work had a profound impact on the scientific world. His book “Kitab az-Zij” was translated into Latin in the 12th century and was used as a standard astronomy textbook in European universities for several centuries. His work influenced many later scientists, including the famous astronomer Copernicus.</p><p>Now, let’s look at a Python code example that demonstrates the use of sine and cosine:</p><pre>import math<br><br># Define a list of angles in degrees<br>angles_degrees = list(range(0, 361, 15))<br><br># Initialize lists to store the sine and cosine values<br>sine_values = []<br>cosine_values = []<br><br># Loop over the angles<br>for angle in angles_degrees:<br>    # Convert the angle to radians<br>    angle_radians = math.radians(angle)<br>    <br>    # Calculate the sine and cosine of the angle<br>    sine_value = math.sin(angle_radians)<br>    cosine_value = math.cos(angle_radians)<br>    <br>    # Append values to their respective lists<br>    sine_values.append(sine_value)<br>    cosine_values.append(cosine_value)<br><br># Print the angles and their sine and cosine values<br>for angle, sine_value, cosine_value in zip(<br>    angles_degrees, sine_values, cosine_values):<br>    print(f&quot;The sine of {angle:&gt;3} degrees is {sine_value:5.2f}&quot;<br>          f&quot; and the cosine is {cosine_value:5.2f}&quot;)</pre><p>This code first creates a list of angles from 0 to 360 degrees in increments of 15 degrees. It then calculates the sine and cosine of each angle and stores these values in two separate lists. Finally, it prints out the angles and their corresponding sine and cosine values.</p><p>Save the previous file as <strong>trigonometry.py</strong> and run it using Python. The output is:</p><pre>The sine of   0 degrees is  0.00 and the cosine is  1.00<br>The sine of  15 degrees is  0.26 and the cosine is  0.97<br>The sine of  30 degrees is  0.50 and the cosine is  0.87<br>The sine of  45 degrees is  0.71 and the cosine is  0.71<br>The sine of  60 degrees is  0.87 and the cosine is  0.50<br>The sine of  75 degrees is  0.97 and the cosine is  0.26<br>The sine of  90 degrees is  1.00 and the cosine is  0.00<br>...<br>The sine of 330 degrees is -0.50 and the cosine is  0.87<br>The sine of 345 degrees is -0.26 and the cosine is  0.97<br>The sine of 360 degrees is -0.00 and the cosine is  1.00</pre><p>This simple example illustrates how sine and cosine complement each other, and more generally how to use trigonometry, a concept that was greatly advanced by Al-Battani’s work.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/napiers-bones-and-the-birth-of-logarithms-8cf60e63f885">Napier’s Bones and the Birth of Logarithms</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85b3edc7c79" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/al-battani-astronomy-and-trigonometry-85b3edc7c79">Al-Battani: Astronomy and Trigonometry</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Al-Khwarizmi: Algorithms and Algebra]]></title>
            <link>https://medium.com/chronicles-of-computation/al-khwarizmi-algorithms-and-algebra-3a937d72fa9c?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a937d72fa9c</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Sat, 29 Jul 2023 18:41:12 GMT</pubDate>
            <atom:updated>2023-07-31T18:02:17.080Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>In the heart of the Islamic Golden Age, a Persian scholar named Muhammad ibn Musa al-Khwarizmi (780–850 CE) was making strides in the mathematical world that would echo through the centuries. Born in the region of Khwarezm, now modern-day Uzbekistan, al-Khwarizmi was a scholar in the House of Wisdom in Baghdad, an intellectual hub that attracted the brightest minds of the era.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*skYe3yjpmxDvnEK2" /><figcaption>Photo by <a href="https://unsplash.com/@snowscat?utm_source=medium&amp;utm_medium=referral">Snowscat</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Al-Khwarizmi’s works cover many different fields and include:</p><p>1. <strong>The Compendious Book on Calculation by Completion and Balancing</strong>: This is the foundational text of algebra and introduced systematic, rigorous algebraic methods for solving linear and quadratic equations.</p><p>2. <strong>The Book of the Description of the Earth</strong>: This is a significant work in geography that presented the coordinates of hundreds of cities and landmarks, and also discussed the idea of the Earth’s circumference.</p><p>3. <strong>The Book on the Calculation with Hindu Numerals</strong>: This book was instrumental in spreading the Indian numeral system, which we now know as Arabic numerals, throughout the Middle East and Europe.</p><p>4. <strong>Astronomical tables of Sind and Hind</strong>: This is a work in astronomy that includes a set of astronomical tables based on Indian and Greek astronomical knowledge.</p><p>Al-Khwarizmi’s most significant contribution was his book on algebra, a groundbreaking piece of literature that introduced the fundamental algebraic methods and techniques for solving equations. This book is considered the foundation of Algebra, a term derived from the Arabic word “al-jabr” in the title of his book, meaning “completion”.</p><p>In his book, al-Khwarizmi explained how to solve linear and quadratic equations, a concept that was revolutionary at the time. He introduced the method of “completion”, which involved moving a subtracted number to the other side of an equation, and “balancing”, which involved reducing equal amounts from both sides of an equation. These methods are still the basis of algebra today.</p><p>Al-Khwarizmi’s work was not limited to algebra. He made significant contributions to other fields such as astronomy and geography. His work on the calculation of the Islamic calendar, the determination of the direction of Mecca (Qibla), and the creation of one of the earliest world maps are testaments to his diverse intellectual prowess.</p><p>An interesting anecdote about al-Khwarizmi is that his name gave rise to the term “algorithm”. The Latin translation of his name, “Algoritmi”, was used in the olden days to refer to the decimal number system, and over time, it evolved into the modern term “algorithm”, reflecting the process of problem-solving that al-Khwarizmi’s work embodied.</p><p>Here’s a Python function that uses Al-Khwarizmi’s methods to solve a quadratic equation (<em>x</em>² + 6<em>x</em> + 9 = 0) by completing the square. The solution to this equation is (<em>x</em> = -3). This code extends the example to include generic solutions and modern concepts such as imaginary numbers:</p><pre>import math<br><br># Coefficients of the quadratic equation<br># a*x^2 + b*x + c = 0<br>a = 1<br>b = 6<br>c = 9<br><br># Calculate the discriminant<br>D = b**2 - 4*a*c<br><br># Check if the discriminant is positive, negative or zero<br>if D &gt; 0:<br>    # Two distinct real roots exist<br>    x1 = (-b + math.sqrt(D)) / (2*a)<br>    x2 = (-b - math.sqrt(D)) / (2*a)<br>    print(f&quot;The solutions are {x1} and {x2}&quot;)<br>elif D == 0:<br>    # Two equal real roots exist<br>    x = -b / (2*a)<br>    print(f&quot;The solution is {x}&quot;)<br>else:<br>    # Complex roots exist<br>    real_part = -b / (2*a)<br>    imaginary_part = math.sqrt(-D) / (2*a)<br>    print(f&quot;The solutions are {real_part} + {imaginary_part}i&quot;<br>          f&quot;and {real_part} - {imaginary_part}i&quot;)</pre><p>This Python code uses the quadratic formula, which is a direct application of Al-Khwarizmi’s method of completing the square. The discriminant <strong>D</strong> is calculated first. If <strong>D</strong> is positive, the equation has two distinct real roots. If <strong>D</strong> is zero, the equation has two equal real roots. If <strong>D</strong> is negative, the equation has complex roots. The roots are then calculated and printed accordingly.</p><p>Save the previous file as <strong>quadratic_equation.py</strong> and run it using Python. As expected, this code will output:</p><pre>The solution is -3.0</pre><p>Try changing the <strong>a</strong>, <strong>b</strong>, and <strong>c</strong> coefficients to solve different quadratic equations and see when the solution is real or complex.</p><p>Al-Khwarizmi’s work laid the groundwork for much of modern mathematics. His methods of problem-solving and his approach to mathematical equations shaped the field of algebra and made it a crucial part of mathematics. His influence extends beyond the realm of academia, with his methods being used in various fields such as engineering, physics, computer science, and more. Let’s not forget that we due him at least two words: algorithm and algebra.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/al-battani-astronomy-and-trigonometry-85b3edc7c79">Al-Battani: Astronomy and Trigonometry</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a937d72fa9c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/al-khwarizmi-algorithms-and-algebra-3a937d72fa9c">Al-Khwarizmi: Algorithms and Algebra</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Power of Zero]]></title>
            <link>https://medium.com/chronicles-of-computation/the-power-of-zero-eb97b5d075f5?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb97b5d075f5</guid>
            <category><![CDATA[history]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Fri, 14 Jul 2023 17:03:18 GMT</pubDate>
            <atom:updated>2023-07-29T18:41:33.227Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>In the heart of India, during the 7th century, a man named Brahmagupta was about to change mathematics. Born in 598 CE in Bhinmal, a city in the state of Rajasthan, India, Brahmagupta was an astronomer and mathematician. He was one of the leading lights of the astronomical school in Ujjain, which was the main centre of mathematical research in India at the time.</p><p>Brahmagupta’s most significant contribution to mathematics is the introduction of the concept of zero. Before Brahmagupta, mathematical operations were cumbersome, as the concept of “nothing” was not recognized in the mathematical realm. Brahmagupta changed this by introducing zero and the rules for arithmetic operations involving zero.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KBgXY4EB9JXHFPgm" /><figcaption>Photo by <a href="https://unsplash.com/@martinjernberg?utm_source=medium&amp;utm_medium=referral">Martin Jernberg</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In his seminal work, “Brahmasphutasiddhanta” (the “Correctly Established Doctrine of Brahma”), Brahmagupta proposed rules for arithmetic involving zero and negative numbers. His rules laid the foundation for elementary arithmetic as we know it today. For instance, he stated that the sum of zero and a negative number is a negative number, a rule that is universally accepted in modern mathematics.</p><blockquote>These rules, while relatively simple to us now, were groundbreaking for their time and laid the foundation for modern arithmetic.</blockquote><p>Here’s a summary of these rules:</p><h4><strong>Addition and Subtraction</strong></h4><p><em>1. The sum of two positive numbers is positive, and the sum of two negative numbers is negative.</em></p><p><em>2. The sum of a positive number and a negative number is their difference. If they are equal, the sum is zero.</em></p><p><em>3. The sum of a negative number and zero is negative, while the sum of a positive number and zero is positive. The sum of two zeros is zero.</em></p><p><em>4. Subtracting zero from a negative number results in a negative number, and subtracting zero from a positive number results in a positive number. Subtracting zero from zero results in zero.</em></p><p><em>5. When a positive number is to be subtracted from a negative number, or a negative number from a positive number, it is to be added instead.</em></p><h4><strong>Multiplication</strong></h4><p><em>6. The product of a negative number and a positive number is negative, while the product of two negative numbers or two positive numbers is positive.</em></p><p><em>7. The product of zero and a negative number, zero and a positive number, or two zeros is zero.</em></p><h4><strong>Division</strong></h4><p><em>8. A positive number divided by a positive number or a negative number divided by a negative number is positive.</em></p><p><em>9. Zero divided by zero is zero. Note that this is a contentious point in mathematics. In modern mathematics, division by zero is undefined.</em></p><p><em>10. A positive number divided by a negative number or a negative number divided by a positive number is negative.</em></p><p><em>11. A negative or a positive number divided by zero has zero as its divisor. Similarly, zero divided by a negative or a positive number has that negative or positive number as its divisor. With this quite generic sentence, Brahmagupta didn’t commit on what happens when dividing a non-zero number by zero.</em></p><h4><strong>Square and Square Root</strong></h4><p><em>12. The square of a negative number or a positive number is positive, while the square of zero is zero.</em></p><p>Brahmagupta’s work was not limited to the theoretical. He was deeply involved in the practical application of his mathematical principles. He used his mathematical findings to make significant contributions to astronomy. His accurate calculations and predictions were used for practical purposes such as calendar regulation and astrological computations.</p><p>Despite his significant contributions, Brahmagupta’s life was not without controversy. His insistence on the mathematical potential of zero and negative numbers was met with resistance from some of his contemporaries. However, his work stood the test of time, and today he is recognized as a pioneer in the field of mathematics.</p><p>Let’s illustrate Brahmagupta’s concept of zero with a simple Python code example. We’ll perform some basic arithmetic operations involving zero, following the rules proposed by Brahmagupta:</p><pre># Brahmagupta&#39;s rules for arithmetic operations<br><br># Define a list of numbers<br>numbers = [-1, 0, 1]<br><br># Print the header<br>print(f&quot;{&#39;x&#39;:&gt;2} {&#39;y&#39;:&gt;2} {&#39;x+y&#39;:&gt;4} {&#39;x-y&#39;:&gt;4} {&#39;x*y&#39;:&gt;4}&quot;<br>      f&quot;{&#39;x/y&#39;:&gt;6} {&#39;x^2&#39;:&gt;4} {&#39;sqrt(x)&#39;:&gt;6}&quot;)<br><br># Loop through each pair of numbers<br>for x in numbers:<br>    for y in numbers:<br>        # Calculate the sum<br>        sum_xy = x + y<br><br>        # Calculate the difference<br>        diff_xy = x - y<br><br>        # Calculate the product<br>        prod_xy = x * y<br><br>        # Calculate the quotient if y is not zero<br>        quot_xy = x / y if y != 0 else &#39;Undef&#39;<br><br>        # Calculate the square<br>        square_x = x**2<br><br>        # Calculate the square root if x is not negative<br>        sqrt_x = x**0.5 if x &gt;= 0 else &#39;Undef&#39;<br><br>        # Print the results<br>        print(f&quot;{x:&gt;2} {y:&gt;2} {sum_xy:&gt;4} {diff_xy:&gt;4} {prod_xy:&gt;4}&quot;<br>              f&quot;{quot_xy:&gt;6} {square_x:&gt;4} {sqrt_x:&gt;6}&quot;)</pre><p>Save the previous file as <strong>brahmagupta_rules.py</strong> and run it using Python. This code will output:</p><pre> x  y  x+y  x-y  x*y   x/y  x^2 sqrt(x)<br>-1 -1   -2    0    1   1.0    1  Undef<br>-1  0   -1   -1    0 Undef    1  Undef<br>-1  1    0   -2   -1  -1.0    1  Undef<br> 0 -1   -1    1    0  -0.0    0    0.0<br> 0  0    0    0    0 Undef    0    0.0<br> 0  1    1   -1    0   0.0    0    0.0<br> 1 -1    0    2   -1  -1.0    1    1.0<br> 1  0    1    1    0 Undef    1    1.0<br> 1  1    2    0    1   1.0    1    1.0</pre><p>This table demonstrates Brahmagupta’s rules for arithmetic operations with a couple of “fixes” to follow modern mathematics. For example, the sum of a positive and a negative number is their difference, and the product of a negative and a positive number is negative. Division by zero is undefined, and the square root of a negative number is also undefined. Imaginary and complex numbers will take care of that later.</p><p>Brahmagupta’s introduction of zero and his rules for arithmetic involving zero were a significant milestone in the history of mathematics. They paved the way for more complex mathematical concepts and operations, and they remain fundamental to the mathematics we use today. As we continue our journey through the history of software engineering, we’ll see how these foundational concepts have influenced the development of modern computing.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/al-khwarizmi-algorithms-and-algebra-3a937d72fa9c">Al-Khwarizmi: Algorithms and Algebra</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb97b5d075f5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/the-power-of-zero-eb97b5d075f5">The Power of Zero</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computing Pi in the Fifth Century]]></title>
            <link>https://medium.com/chronicles-of-computation/zu-chongzhi-precision-in-pi-1450cb7dc51d?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/1450cb7dc51d</guid>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[history]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Wed, 28 Jun 2023 17:18:56 GMT</pubDate>
            <atom:updated>2023-07-14T21:52:44.086Z</atom:updated>
            <content:encoded><![CDATA[<h3>Computing Pi in The Fifth Century</h3><h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>The name Zu Chongzhi stands out in the fifth century as a beacon of innovation and precision. Born in Jiankang, present-day Nanjing, Zu was a polymath who made significant contributions to the fields of astronomy, mathematics, politics, and literature during the Liu Song and Southern Qi dynasties. His family had a rich history of involvement in astronomical research, and from a young age, Zu was exposed to the wonders of the cosmos and the beauty of numbers.</p><p>Zu’s most notable achievement was his precise calculation of the mathematical constant <strong>pi</strong> (π). He calculated π to be between 3.1415926 and 3.1415927, a feat of accuracy that would remain unsurpassed for over 800 years. To achieve this, he used a method of approximating a circle with a 24,576-sided polygon, a process that required meticulous calculations and a deep understanding of geometry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*geqiP5wb6D7Qxp0a" /><figcaption>Photo by <a href="https://unsplash.com/@azybeatlemania?utm_source=medium&amp;utm_medium=referral">Jason An</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Zu’s work was not limited to theoretical mathematics. He also made significant contributions to practical engineering. For example, he was responsible for erecting water-powered trip hammer mills, a feat that was inspected and admired by Emperor Wu of Southern Qi. Zu’s innovative spirit also led him to invent the Chinese paddle boats, which revolutionized transportation during the Southern Qi Dynasty.</p><blockquote>Zu’s mathematical prowess extended to the realm of astronomy. He distinguished between the sidereal year and the tropical year, calculated the number of overlaps between the sun and the moon, and accurately predicted eclipses. His work in astronomy was so advanced that it left scholars of the Sung dynasty and Indo influence astronomers of the Tang dynasty in awe.</blockquote><p>Let’s take a closer look at one of Zu’s most notable achievements: his calculation of π. His method of approximating π was based on the concept of inscribed and circumscribed polygons. He would increase the number of sides of the polygon, and as the number of sides increased, the polygon would more closely resemble a circle. The perimeter of the polygon would then provide an increasingly accurate approximation of the circumference of the circle, and hence π.</p><p>Let’s implement this concept in Python. We’ll start with a polygon with 2 sides (a line), and double the number of sides at each step. We’ll calculate the perimeter of the polygon inscribed in a circle with radius 1 (for simplicity), using the formula for the length of a side of the polygon:</p><blockquote>side length = 2 sin(180° / number of sides)</blockquote><p>Here’s the Python code:</p><pre>import math<br><br># Calculate the approximation of Pi<br>def approx_pi(n_sides):<br>    side_length = 2 * math.sin(math.radians(180/n_sides))<br>    return n_sides * side_length / 2<br><br># Start with 2 sides and double the number of sides at each step<br>n_sides = [2**i for i in range(1, 16)]<br><br># Calculate the approximation of Pi for each number of sides<br>approximations = [approx_pi(n) for n in n_sides]<br><br># Print the results<br>for n, approx in zip(n_sides, approximations):<br>    print(f&quot;{n} sides: Pi approximated to {approx}&quot;)</pre><p>Save the previous file as <strong>zu_chongzhi_pi.py</strong> and run it using Python. When we run this code, we get the following output:</p><pre>2 sides: Pi approximated to 2.0<br>4 sides: Pi approximated to 2.82842712474619<br>8 sides: Pi approximated to 3.0614674589207183<br>16 sides: Pi approximated to 3.121445152258052<br>32 sides: Pi approximated to 3.1365484905459393<br>64 sides: Pi approximated to 3.140331156954753<br>128 sides: Pi approximated to 3.141277250932773<br>256 sides: Pi approximated to 3.141513801144301<br>512 sides: Pi approximated to 3.1415729403670913<br>1024 sides: Pi approximated to 3.1415877252771596<br>2048 sides: Pi approximated to 3.1415914215111997<br>4096 sides: Pi approximated to 3.1415923455701176<br>8192 sides: Pi approximated to 3.1415925765848725<br>16384 sides: Pi approximated to 3.1415926343385627<br>32768 sides: Pi approximated to 3.1415926487769856</pre><p>As you can see, as the number of sides increases, the approximation of π becomes more accurate, approaching what we now know is the true value of π:</p><blockquote>3.141592653589793238…</blockquote><p>This demonstrates the power of Zu Chongzhi’s method and gives us a glimpse into the mathematical genius of this ancient scholar.</p><p>Zu’s contributions to the field of software engineering are significant. His precise calculations, innovative methods, and practical applications of mathematical principles laid the groundwork for many modern computational techniques.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/the-power-of-zero-eb97b5d075f5">The Power of Zero</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1450cb7dc51d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/zu-chongzhi-precision-in-pi-1450cb7dc51d">Computing Pi in the Fifth Century</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Roman Counting Boards]]></title>
            <link>https://medium.com/chronicles-of-computation/roman-counting-boards-e2ddb15c7d2f?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2ddb15c7d2f</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Mon, 26 Jun 2023 17:25:50 GMT</pubDate>
            <atom:updated>2023-06-28T17:19:43.385Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>As we continue our journey through the annals of computational history, we find ourselves in the bustling markets and grand forums of ancient Rome, where counting boards, the precursors to the modern abacus, were in widespread use. These devices, simple yet ingenious, were the workhorses of Roman arithmetic, facilitating trade, taxation, and engineering projects in one of history’s greatest empires.</p><p>The counting board, or “calculi” as it was known in Latin, was a flat surface, often a table or a portable board, marked with lines that represented numerical values. The Romans used pebbles, or “calculi”, which is the origin of the word “calculate” in English, to represent numbers on the board. By moving these pebbles across the lines, the Romans could perform arithmetic operations, including addition, subtraction, multiplication, and division.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LcH0z729k3wZSChG" /><figcaption>Photo by <a href="https://unsplash.com/@massimovirgilio?utm_source=medium&amp;utm_medium=referral">Massimo Virgilio</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The counting board was a vital tool for Roman merchants, who used it to calculate prices, profits, and taxes. It was also used by Roman engineers to plan and execute their ambitious construction projects, from aqueducts and roads to grand temples and amphitheaters.</p><blockquote>The design of the Roman counting board was a reflection of the Roman numeral system, which was base 10 but also used base 5 for certain calculations. This dual-base system was unique to the Romans and shows their practical and pragmatic approach to problem-solving.</blockquote><p>A Roman counting board, was a tool used for performing arithmetic calculations. It consisted of a board with lines drawn on it, and calculations were performed by placing counters on these lines. Each line represented a different order of magnitude (units, tens, hundreds, etc.), and the position of a counter on a line indicated its value.</p><p>In this Python simulation, we’ll represent a Roman counting board as a list of integers. Each index in the list will represent a line on the counting board (0 for units, 1 for tens, 2 for hundreds, etc.), and the value at each index will represent the number of counters on that line.</p><p>Here’s a simple function that adds two numbers using a simulated Roman counting board:</p><pre>def roman_counting_board_add(a, b):<br>    # Convert the numbers to lists of digits<br>    a_digits = [int(digit) for digit in str(a)]<br>    a_digits.reverse()<br>    b_digits = [int(digit) for digit in str(b)]<br>    b_digits.reverse()<br><br>    # Make sure both lists have the same length<br>    # by padding with zeros<br>    while len(a_digits) &lt; len(b_digits):<br>        a_digits.append(0)<br>    while len(b_digits) &lt; len(a_digits):<br>        b_digits.append(0)<br><br>    print(f&quot;a = {a_digits} (in reverse order)&quot;)<br>    print(f&quot;b = {b_digits} (in reverse order)&quot;)<br><br>    # Add the numbers digit by digit,<br>    # simulating the operation of a Roman counting board<br>    result = []<br>    carry = 0<br>    for i, (a_digit, b_digit) in enumerate(zip(a_digits,<br>                                               b_digits)):<br>        total = a_digit + b_digit + carry<br>        result_digit = total % 10<br>        carry = total // 10<br>        result.append(result_digit)<br><br>        # Print the state of the counting board<br>        print(f&quot;After adding digit {i+1}:&quot;)<br>        print(f&quot;Counters on board: {result} &quot;<br>              &quot;(in reverse order)&quot;)<br>        print(f&quot;Carry: {carry}&quot;)<br>        print()<br><br>    # If there&#39;s a carry left over after the last digit,<br>    # add it to the result<br>    if carry &gt; 0:<br>        result.append(carry)<br><br>    # Convert the result back to a number<br>    result.reverse()<br>    result_number = int(&#39;&#39;.join(str(digit)<br>                                for digit in result))<br><br>    return result_number<br><br># Example usage:<br>a = 123<br>b = 496<br>print(f&quot;Add {a} and {b} using &quot;<br>      &quot;a simulated Roman counting board...&quot;)<br>sum = roman_counting_board_add(a, b)<br>print(f&quot;The sum of {a} and {b} is {sum}&quot;)</pre><p>In this code, we first convert the numbers to be added into lists of digits. We then add the numbers digit by digit, simulating the operation of a Roman counting board. If the total for a digit is 10 or more, we carry the “tens” part to the next digit. Finally, we convert the result back into a number.</p><p>We’ve added a few print statements inside the loop that adds the digits. After each digit is added, the function prints the current state of the counting board (the result list) and the carry. This gives a step-by-step view of the calculation as it progresses.</p><p>Save the previous file as <strong>counting_boards.py</strong> and run it using Python. Here’s the output:</p><pre>Add 123 and 496 using a simulated Roman counting board...<br>a = [3, 2, 1] (in reverse order)<br>b = [6, 9, 4] (in reverse order)<br>After adding digit 1:<br>Counters on board: [9] (in reverse order)<br>Carry: 0<br><br>After adding digit 2:<br>Counters on board: [9, 1] (in reverse order)<br>Carry: 1<br><br>After adding digit 3:<br>Counters on board: [9, 1, 6] (in reverse order)<br>Carry: 0<br><br>The sum of 123 and 496 is 619</pre><p>This is a simplified simulation and doesn’t represent the full functionality of a Roman counting board, but it gives a basic idea of how such a tool could be used for arithmetic calculations.</p><p>The counting board, with its straightforward design and practical application, was an essential tool for the Romans. It was used in various aspects of Roman life, from commerce and taxation to engineering and construction. The counting board’s design, based on the Roman numeral system, allowed for easy and efficient calculations. The way we approach problem-solving in software engineering today is similar: breaking down complex problems into simpler, manageable tasks.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/zu-chongzhi-precision-in-pi-1450cb7dc51d">Zu Chongzhi: Precision in Pi</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2ddb15c7d2f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/roman-counting-boards-e2ddb15c7d2f">Roman Counting Boards</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating the Stars]]></title>
            <link>https://medium.com/chronicles-of-computation/navigating-the-stars-76a85ca1951e?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/76a85ca1951e</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[history]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Fri, 23 Jun 2023 17:16:44 GMT</pubDate>
            <atom:updated>2023-06-26T17:26:27.150Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>As we continue to go through the history of computation, we find ourselves under the starlit skies of ancient Greece where the astrolabe, an intricate device used for observing the heavens, was born. The astrolabe was a marvel of ancient engineering that allowed its users to solve complex problems related to time and the position of celestial bodies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0NghLmws0GGKtXdX" /><figcaption>Photo by <a href="https://unsplash.com/@jplenio?utm_source=medium&amp;utm_medium=referral">Johannes Plenio</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The astrolabe was primarily invented by the ancient Greeks around 225 BCE, with Apollonius of Perga often credited for its creation, based on the theories and findings of Hipparchus. The device was a complex assembly of discs and pointers, capable of modeling the motion of the Sun, Moon, and stars. By aligning the device with a celestial body and reading the scales, users could determine the time of day or night, the time of sunrise and sunset, the length of the day, and the location of celestial objects in the sky.</p><blockquote>The astrolabe was not just a tool for astronomers and navigators; it was also a symbol of the profound connection between the ancient Greeks and the cosmos. The Greeks believed that the universe was a harmonious and ordered system, and the astrolabe, with its intricate design and precise measurements, was a reflection of this cosmic order.</blockquote><p>The astrolabe’s influence was not confined to Greece. During the Islamic Golden Age, the device was refined and widely used in navigation, astronomy, and even astrology. Islamic scholars made significant contributions to the development of the astrolabe, adding new features and scales, and creating a variety of types and designs. The astrolabe became an essential tool for Islamic astronomers, who used it to determine the times for prayer and the direction of Mecca.</p><p>Let’s create a simple example that demonstrates the concept of measuring the altitude of a celestial body, which is one of the functions of an astrolabe.</p><p>In this example, we’ll calculate the altitude of the sun at noon on the summer solstice, given the latitude of the observer. This is a simplified model, but it gives a basic idea of how an astrolabe can be used to measure celestial altitudes.</p><p>Here’s the Python code:</p><pre>import math<br><br>TILT_OF_THE_EARTH_AXIS = 23.44 # Degrees<br><br>NEW_YORK_CITY_LATITUDE = 40.71 # Degrees<br><br>def get_sun_altitude(latitude):<br>    # Convert latitude from degrees to radians<br>    latitude_rad = math.radians(latitude)<br><br>    # Calculate the sun&#39;s declination<br>    # at the summer solstice<br>    declination = math.radians(TILT_OF_THE_EARTH_AXIS)<br><br>    # Calculate the altitude of the sun<br>    # at noon on the summer solstice<br>    altitude_rad = (math.pi / 2<br>                    - abs(latitude_rad - declination))<br><br>    # Convert altitude from radians to degrees<br>    altitude_deg = math.degrees(altitude_rad)<br><br>    return altitude_deg<br><br># Get the altitude of the sun at noon<br># on the summer solstice in New York City<br>altitude = get_sun_altitude(NEW_YORK_CITY_LATITUDE)<br><br>print(&quot;Altitude of the sun at noon &quot;<br>      f&quot;on the summer solstice: {altitude} degrees&quot;)</pre><p>In this code, we first convert the observer’s latitude from degrees to radians. We then calculate the sun’s <strong>declination</strong> at the summer solstice, which is equal to the tilt of the Earth’s axis (23.44 degrees). The altitude of the sun at noon on the summer solstice is then calculated as 90 degrees minus the absolute difference between the observer’s latitude and the sun’s declination. Finally, we convert the altitude from radians back to degrees to get the final result.</p><p>Save the previous file as <strong>astrolabe.py</strong> and run it using Python. Here’s the output:</p><pre>Altitude of the sun at noon on the summer solstice: 72.73 degrees</pre><p>The astrolabe, with its intricate design, allowed the ancient Greeks and Islamic scholars to make precise astronomical observations and predictions. It was a critical tool for navigation, timekeeping, and even religious observances.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/roman-counting-boards-e2ddb15c7d2f">Roman Counting Boards</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76a85ca1951e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/navigating-the-stars-76a85ca1951e">Navigating the Stars</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sunken Treasure: The Antikythera Mechanism]]></title>
            <link>https://medium.com/chronicles-of-computation/sunken-treasure-the-antikythera-mechanism-9f6d46578e25?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f6d46578e25</guid>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Wed, 21 Jun 2023 17:23:45 GMT</pubDate>
            <atom:updated>2023-06-23T17:17:23.715Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>Our journey through the annals of computation takes us now to the azure waters of the Mediterranean Sea, where, in the early 20th century, sponge divers discovered a shipwreck off the coast of the small Greek island of Antikythera.</p><p>Among the sunken treasures — bronze statues, pottery, jewelry — were three flat, misshapen pieces of bronze. At first glance, they appeared to be nothing more than corroded rocks, their surfaces a patchwork of emerald to forest green hues. But upon closer inspection, these fragments revealed traces of technology that seemed to defy their ancient origins.</p><p>These fragments, now housed in the National Archaeological Museum in Athens, are parts of the Antikythera mechanism, a device that has been dubbed “an ancient Greek computer”. This mechanism, similar in size to a mantel clock, was housed in a wooden case and operated by a knob or handle on the side. As the knob turned, a series of interlocking gearwheels drove at least seven hands at various speeds. Instead of hours and minutes, these hands probably displayed celestial time, tracking the Sun, Moon, and the five planets visible to the naked eye — Mercury, Venus, Mars, Jupiter, and Saturn. A rotating black and silver ball showed what seems to be the phase of the Moon, and inscriptions explained which stars rose and set on any particular date. On the back of the case, two dial systems, each with a pin following its own spiral groove, displayed a calendar and the timing of lunar and solar eclipses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*28s_-9UW64iC3iKp" /><figcaption>Photo by <a href="https://unsplash.com/@grakozy?utm_source=medium&amp;utm_medium=referral">Greg Rakozy</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>By looking at the Antikythera mechanism, we can better understand the astronomical knowledge and mechanical ingenuity of the ancient Greeks. It’s believed that the mechanism could have been made in the workshop of the ancient philosopher Posidonius on the island of Rhodes. Cicero, the Roman statesman, mentioned that Posidonius made a similar model of the heavens in the first century BCE. The tradition of making such mechanisms could be much older, with Cicero also writing of a bronze device made by Archimedes in the third century BCE.</p><blockquote>The Antikythera mechanism is not just a marvel of ancient engineering; it’s also a window into how the Greeks saw their universe. They believed that nature worked according to predefined rules, like a machine — an approach that forms the basis of our modern scientific views. The ancient mechanics who captured the cosmos in bronze weren’t just modeling astronomical theories but were also inspiring and framing them.</blockquote><p>To illustrate the workings of the Antikythera mechanism, let’s consider a simplified Python code example that models the motion of the sun and the moon:</p><pre># Python code to simulate the motion of the sun and the moon<br><br># Define the number of days in a year and a month<br>days_in_year = 365.25<br>days_in_month = 29.53<br><br># Define the time period (in days)<br>time = list(range(int(days_in_year)))<br><br># Calculate the angle of the Sun and Moon<br># as a function of time<br>sun_angle = [360 * ((t / days_in_year) % 1)<br>             for t in time] <br>moon_angle = [360 * ((t / days_in_month) % 1)<br>              for t in time]<br><br># Print the angles (in degrees) of the Sun and Moon<br># for each day of the year<br>for day in range(len(time)):<br>    print(f&quot;Day {day+1:&gt;3}: &quot;<br>          f&quot;Sun angle = {sun_angle[day]:6.2f}, &quot;<br>          f&quot;Moon angle = {moon_angle[day]:6.2f}&quot;)</pre><p>In this code, multiplications take the place of ancient gears to compute the right ratio between the passing of time and the movement of the sun and the moon.</p><p>Save the previous file as <strong>antikythera_mechanism.py</strong> and run it using Python. Starting from an ideal angle of zero, there are in output 365 lines, one for each day in a year. Each line shows the angle of rotation (in degrees) of the sun and the moon for that day. The sun takes the whole year to do a full roundtrip, the moon performs a roundtrip every month:</p><pre>Day   1: Sun angle =   0.00, Moon angle =   0.00<br>Day   2: Sun angle =   0.99, Moon angle =  12.19<br>Day   3: Sun angle =   1.97, Moon angle =  24.38<br>. . .<br>Day 363: Sun angle = 356.80, Moon angle =  93.14<br>Day 364: Sun angle = 357.78, Moon angle = 105.33<br>Day 365: Sun angle = 358.77, Moon angle = 117.52</pre><p>This simple model, of course, doesn’t capture the full complexity of the Antikythera mechanism, which could also track the irregular motion of the planets and predict eclipses. However, it gives a sense of how the mechanism used the rotation of gearwheels to represent the celestial motions.</p><p>The Antikythera mechanism, despite being studied for over a century, still holds many secrets. While researchers have made significant progress in understanding its structure and function, there is still much that remains unknown. The exact purpose of the device, the identity of its creator, and the full extent of its capabilities are still subjects of ongoing research and debate.</p><p>The mechanism is often referred to as an “ancient Greek computer” due to its intricate system of gears and dials, which were used to predict astronomical positions and eclipses. However, this description may be somewhat misleading. Unlike a modern computer, the Antikythera mechanism was not programmable and did not perform calculations in the way we understand them today. Instead, it was a complex mechanical device that used gear ratios to represent the cyclical movements in the sky.</p><p>From the intricate gearwork of the Antikythera mechanism to the complex algorithms of today’s software, the drive to understand and replicate the natural world continues to shape our technological landscape today.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/navigating-the-stars-76a85ca1951e">Navigating the Stars</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f6d46578e25" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/sunken-treasure-the-antikythera-mechanism-9f6d46578e25">Sunken Treasure: The Antikythera Mechanism</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Abacus: An Ancient Calculator]]></title>
            <link>https://medium.com/chronicles-of-computation/the-abacus-an-ancient-calculator-6b55f03d8c0b?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b55f03d8c0b</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Mon, 19 Jun 2023 17:29:29 GMT</pubDate>
            <atom:updated>2023-06-21T17:24:57.621Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>In the annals of human history, the invention of the abacus shows our innate desire to quantify and understand the world around us. We can find this ancient device, a precursor to the modern calculator, in ancient China. It’s actual origins are not clear, and it might have been first used by the Babylonians centuries before.</p><p>The abacus, or “suanpan” as it was known in China, was a simple yet ingenious device. It consisted of a series of rods, each adorned with beads. The beads in the upper section, known as “heaven beads”, represented the value of five when pushed down towards the horizontal beam. The beads in the lower section, the “earth beads”, represented a value of one when pushed up towards the beam. This structure allowed for complex calculations, including addition, subtraction, multiplication, division, and even root calculations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qY1QS-ZNKel7Jqxq" /><figcaption>Photo by <a href="https://unsplash.com/@crissyjarvis?utm_source=medium&amp;utm_medium=referral">Crissy Jarvis</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The abacus was not just a tool for mathematicians. It was a ubiquitous instrument in the bustling markets of ancient China, where traders used it to calculate their profits and losses. It was probably a common sight to see a merchant, his fingers deftly moving the beads along the rods, his eyes focused on the task at hand. The abacus was a symbol of commerce and trade, an important tool for the economic vibrancy of ancient China.</p><p>The use of the abacus was not limited to physical calculations. At some point in time, skilled abacus users could perform calculations mentally, manipulating an imaginary abacus in their minds. This skill, known as abacus-based mental calculation, or mental abacus, was acquired through intensive training. Students would first memorize the principles of abacus operations, then practice calculations on a physical abacus. Over time, they would transition to performing calculations mentally, visualizing the movement of the beads in their minds.</p><p>The invention of the abacus is a symbol of our desire to understand and quantify the world around us. Let’s delve into some Python code that simulates the operation of an abacus. This code helps understand how the abacus facilitates arithmetic operations.</p><pre># Python code to simulate an abacus<br><br>class Abacus:<br>    def __init__(self):<br>        # Initialize 10 rods with 0 beads<br>        self.rods = [0]*10<br><br>    def add(self, rod, value):<br>        print(f&quot;Add {value} beads to rod {rod+1}&quot;)<br>        # Add beads to a rod<br>        self.rods[rod] += value<br>        # Carry over beads if more than 10 on a rod<br>        if self.rods[rod] &gt;= 10:<br>            self.carry(rod)<br><br>    def carry(self, rod):<br>        print(f&quot;Carry over beads to rod {rod+2}&quot;)<br>        self.rods[rod] -= 10<br>        # Add bead to next rod<br>        if rod &lt; len(self.rods)-1:<br>            self.add(rod+1, 1)<br>        else:<br>            print(&quot;Abacus is full&quot;)<br><br>    def subtract(self, rod, value):<br>        print(f&quot;Subtract {value} beads to rod {rod+1}&quot;)<br>        # Subtract beads from a rod<br>        self.rods[rod] -= value<br>        # Borrow beads if less than 0 on a rod<br>        if self.rods[rod] &lt; 0:<br>            self.borrow(rod)<br><br>    def borrow(self, rod):<br>        print(f&quot;Borrow over beads to rod {rod+2}&quot;)<br>        self.rods[rod] += 10<br>        # Subtract bead from next rod<br>        if rod &lt; len(self.rods)-1:<br>            self.subtract(rod+1, 1)<br>        else:<br>            print(&quot;Abacus is empty&quot;)<br>            <br>    def display(self):<br>        # Display the current state of the abacus<br>        print(&quot;Abacus:&quot;)<br>        for i in range(9, -1, -1):<br>            # Only show rods greather than 0<br>            if self.rods[i] &gt; 0:<br>                print(f&quot;Rod {i+1}: {&#39;*&#39; * self.rods[i]}&quot;)<br><br># Create an abacus<br>abacus = Abacus()<br><br># Add 7 beads to the first rod<br>abacus.add(0, 7)<br>abacus.display()<br><br># Add 4 beads to the first rod (carry over)<br>abacus.add(0, 4)<br>abacus.display()<br><br># Subtract 2 beads from the first rod (borrow)<br>abacus.subtract(0, 2)<br>abacus.display()</pre><p>In this code, each rod on the abacus is represented by an element in a list. The <strong>add</strong> method adds beads to a rod, while the <strong>subtract</strong> method removes beads from a rod. If more than ten beads are added to a rod, the <strong>carry</strong> method is invoked to carry over the excess beads to the next rod. Similarly, if beads are subtracted from a rod and the number of beads becomes negative, the <strong>borrow</strong> method is invoked to borrow beads from the next rod. The <strong>display</strong> method prints the current state of the abacus, showing only rods that have at least a bead, with each bead represented by an asterisk.</p><p>The code creates an instance of the <strong>Abacus</strong> class and performs a series of operations: adding 7 beads to the first rod, adding 4 more beads to the first rod (which triggers a carry), and subtracting 2 beads from the first rod (which triggers a borrow). After each operation, it displays the current state of the abacus.</p><p>Save the previous file as <strong>abacus.py</strong> and run it using Python. Here’s the output with some calculations:</p><pre>Add 7 beads to rod 1<br>Abacus:<br>Rod 1: *******<br>Add 4 beads to rod 1<br>Carry over beads to rod 2<br>Add 1 beads to rod 2<br>Abacus:<br>Rod 2: *<br>Rod 1: *<br>Subtract 2 beads to rod 1<br>Borrow over beads to rod 2<br>Subtract 1 beads to rod 2<br>Abacus:<br>Rod 1: *********</pre><p>Try to change the rod and the number of beads added and subtracted. Check how carrying over and borrowing can work also across more than one rods.</p><p>The abacus, with its simple structure and ingenious design, has left an indelible mark on human history. The abacus was more than just a counting tool; it was a device that facilitated commerce, supported infrastructure projects, and drove economic growth. Its influence can still be seen today in modern computing systems, which, at their core, are tools designed to simplify and expedite calculations.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/sunken-treasure-the-antikythera-mechanism-9f6d46578e25">Sunken Treasure: The Antikythera Mechanism</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b55f03d8c0b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/the-abacus-an-ancient-calculator-6b55f03d8c0b">The Abacus: An Ancient Calculator</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sumerian Numerals]]></title>
            <link>https://medium.com/chronicles-of-computation/sumerian-numerals-93ed5e065109?source=rss-3fdee8fcc5ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/93ed5e065109</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[history-of-technology]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Danilo Poccia]]></dc:creator>
            <pubDate>Sun, 18 Jun 2023 15:04:27 GMT</pubDate>
            <atom:updated>2023-06-19T17:48:24.283Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> — The Early Mechanisms</h4><p>In the fertile crescent of Mesopotamia, nestled between the Tigris and Euphrates rivers, the ancient civilization of Sumer thrived around 4500 BCE. The Sumerians, a people of remarkable ingenuity and curiosity, laid the foundation for many aspects of modern society. Among their many contributions, one stands out for its profound and lasting impact: the development of a numerical system, the precursor to the mathematics we know today.</p><p>The Sumerians were the first civilization to develop a counting system. Unlike the base-10 decimal system we use today, the Sumerians used a base-60, or sexagesimal, system. This choice was not arbitrary but was likely influenced by the Sumerians’ astronomical observations and their calendar, which was based on the lunar cycle. The number 60 is a highly composite number, divisible by 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30. This made calculations and divisions more straightforward and less prone to error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nnY6nSJx3TaJpbfs" /><figcaption>Photo by <a href="https://unsplash.com/@sannisahil?utm_source=medium&amp;utm_medium=referral">Sanni Sahil</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Another reason for employing a base divisible by 12 is the ability to use the thumb as a pointer. You can do that touching the three finger bones of each finger sequentially, starting with the outermost bone of the little finger, allowing for counting up to 12 using just one hand. This counting system, still prevalent in many regions of Asia, could account for the existence of numeral systems based on 12 and 60, in addition to those based on 10, 20, and 5.</p><p>The Sumerians recorded their numbers on clay tablets, using a stylus to make wedge-shaped marks in the soft clay. These marks, known as cuneiform, represented different numbers based on their orientation and arrangement. For example, a single vertical wedge represented the number 1, while a single horizontal wedge represented the number 10.</p><p>Let’s take a look at how this system works in Python:</p><pre># Sumerian Numerals in Python<br>def decimal_to_sumerian(decimal_number):<br>    sumerian_numerals = {<br>        1: &#39;|&#39;,  # Vertical wedge<br>        10: &#39;&lt;&#39;,  # Horizontal wedge<br>        # Add more Sumerian numerals as needed<br>    }<br>    sumerian_number = &#39;&#39;<br>    for numeral in sorted(sumerian_numerals.keys(),<br>                          reverse=True):<br>        while decimal_number &gt;= numeral:<br>            sumerian_number += sumerian_numerals[numeral]<br>            decimal_number -= numeral<br>    return sumerian_number<br><br>print(decimal_to_sumerian(32))</pre><p>This code takes a decimal number as input and converts it to its Sumerian numeral representation. It does this by iterating over the Sumerian numerals in descending order, subtracting the current numeral from the input number until it can’t be subtracted anymore, and then moving on to the next numeral. The result is a string of Sumerian numerals that represents the input number.</p><p>Save the previous file as <strong>sumerian_numerals.py</strong> and run it using Python. Here’s the output:</p><pre>&lt;&lt;&lt;||</pre><p>Try to change the number to convert and see how that affects the result.</p><p>The Sumerian numerical system had a profound impact on their society, enabling them to engage in complex trade agreements, develop architectural plans, and even chart the stars. It was the cornerstone of their civilization’s technological and cultural advancements.</p><p>Interestingly, the echoes of the Sumerian base-60 system can still be heard today. We divide an hour into 60 minutes and a minute into 60 seconds, a direct legacy of the Sumerians’ sexagesimal system. The next time you glance at your watch or clock, remember that you are looking at a piece of history that stretches back over 6000 years.</p><p>The Sumerians’ contribution to mathematics is a testament to their innovative spirit and intellectual prowess. Their base-60 numerical system, etched into clay tablets with a simple stylus, was a revolutionary development that shaped the course of human history. It is a powerful reminder of the enduring impact of ancient civilizations on our modern world.</p><p>Recent research continues to shed light on the intricacies of the Sumerian numerical system and its applications. As we continue to uncover the secrets of the Sumerian numerical system, we gain not only a deeper understanding of this ancient civilization but also a greater appreciation for the mathematical concepts that underpin our modern world. The Sumerians’ legacy, etched into clay tablets thousands of years ago, reminds us of our enduring fascination with numbers.</p><blockquote>This story is part of the <a href="https://medium.com/chronicles-of-computation/chronicles-of-computation-c80041173dc7">Chronicles of Computation</a> book. The next section is <a href="https://medium.com/chronicles-of-computation/the-abacus-an-ancient-calculator-6b55f03d8c0b">The Abacus: An Ancient Calculator</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93ed5e065109" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chronicles-of-computation/sumerian-numerals-93ed5e065109">Sumerian Numerals</a> was originally published in <a href="https://medium.com/chronicles-of-computation">Chronicles of Computation</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>