|Posted by DarthWho on November 24, 2011 at 9:35 AM|
Now this is not really a true "equation of the week" entry as it features no equations;
Now why should you as a programmer know calculus? Is it the only path to being a great Programmer? Well no it is not some magical pathway leading to you becoming one of the pantheon of programming gods; there are many paths to being a great programer; Here is why I think you should have some understanding of calculus under your belt: you will be better equipped to solve any problems that may come your way. however there are several other reasons to study calculus. (which will be covered later in this post)
now before we really get into actually doing calculus let's talk about the history behind this branch of mathematics;
Some of the earliest pressure came from the field of astronomy/astrology (in ancient times they were one and the same), people kept records to predict the phases of the moon, the movement of the planets;and records of the constellations; the constellations were simple the stars seemed to stay in place the phases of the moon were easy to predict as well as was the movement of the moon; but planets were tough eventually a system arose known as the Ptolemaic system to describe why the planets often seemed to stop or reverse direction it relied on a system of nested spheres with the largest one being called it's deferent and the smaller ones called the epicycles which ended up with people who still thought that the earth was the center of the universe believing that the planets followed unbelievably complex paths:
[image courtesy of Wikimedia Commons]
ironically enough the above image only describes the positions of Mercury and Venus as the Ptolemaic astronomer knew them for 7 an 8 years respectively; later on the heliocentric view was developed by Nicolaus Copernicus unfortunately this system was no more accurate than the Ptolemaic system and conflicted with among other things scripture and Natural Philosophy (IE what we know know as the hard sciences) the reason why is because it still postulated circular orbits and it was not until Johannes Kepler posited that the orbits of the planets were elliptical that heliocentrism started to gain ground;kepler came up with three laws:
the orbits are ellipses, with the sun at one focus
the velocity of a planet varies in such a way that thearea swept out by the line between planet and sun is increasingat a constant rate
the square of the orbital period of a planet is directly proportional to the planet's average distance from the sun cubed.
Another area that helped lead to calculus was the concept of falling masses; Aristotle observed that a rock falls faster than a feather and concluded that heavier objects fall faster; Galileo later experimentally proved that the weight of the object does not effect the rate at which an object falls.
But it wasn't until Sir Issac Newton and Gottfried Leibniz independently developed Calculus Newton called his work "the science of fluents and fluxions". while Leibniz gave it the name we are familiar with.
Now what are the advantages of knowing calculus you ask?
Well a derivative gives us the exact equation slope of a curve; In terms of physics this means tht if we have an equation that describes the position of an object as a function of time then taking the derivative gives you the velocity of the object as a function of time; while integration gives you the relative area under a curve (the reason why is that there is a constant added that is only defined by supplying a point for the equation to fit to) this means that from the equation for the velocity you can work out the equation for position. now why bother with this when there are methods such as rise over run and summation? because these are exact solutions and minimize or eliminate the build up of errors where approximate solutions fail to minimize the errors. differentiation and integration are essentially inverse processes (part of the reason that the integral is also called the Antiderivative).
next week Polynomial Differentiation
Categories: Equation of the Week