<![CDATA[Super Code from Digital Knife Monkey Productions]]>
https://digitalknifemonkeyproductions.webs.com/apps/blog/
Webs.comEquation of the week dealyedDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10751525
<p>as I was going to do the finishing work on it I ended up having to catch several dozen fancy guppy fry; I hope to have it up by Wednesday wish me luck. sorry for ay inconveniences.<br/></p>Mon, 05 Dec 2011 13:10:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10751525Test Entry; (to resolve the MathML problem)DarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10622918
<p>this is only a test entry to attempt to reslove the mathml problems it will be deleted once the problem is resolved</p><p>this should display the quadratic formula;<br/></p><p><math mode="display"><mrow><mi>x</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mo form="prefix">−<!-- − --></mo>
<mi>b</mi>
<mo>±<!-- ± --></mo>
<msqrt>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>−<!-- − --></mo>
<mn>4</mn>
<mo>⁢<!-- ⁢ --></mo>
<mi>a</mi>
<mo>⁢<!-- ⁢ --></mo>
<mi>c</mi>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mo>⁢<!-- ⁢ --></mo> <mi>a</mi></mrow></mfrac></mrow></math><br/></p>Tue, 29 Nov 2011 12:55:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10622918Equation of the Week #9: Calculus and why you should know itDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10519088
<p>Now this is not really a true "equation of the week" entry as it features no equations;</p><p>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)<br/></p><p>now before we really get into actually doing calculus let's talk about the history behind this branch of mathematics; </p><p>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:</p><p><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Cassini_apparent.jpg/609px-Cassini_apparent.jpg"/><br/></p><p>[image courtesy of Wikimedia Commons]</p><p>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: </p><p>the orbits are ellipses, with the sun at one focus</p><p>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</p><p>the square of the orbital period of a planet is directly proportional to the  planet's average distance from the sun cubed.<br/></p><p> 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. </p><p>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.</p><p>Now what are the advantages of knowing calculus you ask?</p><p>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).</p><p><br/></p><p>next week Polynomial Differentiation <br/></p>Thu, 24 Nov 2011 14:35:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10519088Equation of the Week #8: Complex ExponentiationDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10508585
<p>Sorry for the huge delay in getting this one up my bad.</p><p>anyway:</p><p>how fo we calculate a^b when both A and B are complex numbers?</p><p>well this is where the complex exponentiation formula comes into play (this is a long one so hold onto your hats!</p><p>well first we have the formula:</p><p>E+Fi=(A+Bi)^(C+Di)</p><p>how do we work that out you ask? well it just so happens that that formula is equal to:</p><p>E+Fi=(A^2+B^2)^(C/2)*e^(-D*ARG(A+Bi))*(COS(C*ARG(A+Bi)+D*ln(A^2+B^2)/2)+i*SIN(C*ARG(A+Bi)+D*ln(A^2+B^2)/2))</p><p>or to split it up into components</p><p>G=(A^2+B^2)^(C/2)*e^(-D*ARG(A+Bi))</p><p>E=G*COS(C*ARG(A+Bi)+D*ln(A^2+B^2)/2)</p><p>F=G*SIN(C*ARG(A+Bi)+D*ln(A^2+B^2)/2)</p><p>I will try to update more regularly in the future;</p><p>this sunday: Calculus and why programmers should have some basic understanding of the subject. this will kick off a new seried which will focus on educating self professed math dummies on the mysteries of basic calculus.<br/></p><p><br/></p><p><br/></p>Thu, 24 Nov 2011 04:45:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/10508585Equation of the Week #7: The Complex ArgumentDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/7017250
<p>the complex argument is a function which is comonly used in functions such as complex exponentiation; it is a function which takes a Complex number and returns a real number to put it into easy to understand terms:</p><p><font size="5">ARG(X + i * Y) = ARCTAN(Y / X)</font></p><p>Or to put it in terms of qb64 code:</p><p><font size="5">ARG(X + i * Y) = ATN(Y / X)</font></p><p>NEXT WEEK: COMPLEX EXPONENTIATION<br/></p>Sun, 22 May 2011 04:00:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/7017250Equation of the Week #6: an introduction to math with Complex NumbersDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6975168
<p><font size="2">Complex numbers are not as difficult as they may first appear to be; this numeric system which is traditionally written in the form of: </font></p><p><b><font size="2">A + B * i</font></b></p><p><font size="2">Is the second of the division maths to be discovered; this is because like the real numbers the complex numbers are capable of being divided: however the complex numbers could also be written as </font></p><p><b><font size="2">(A, B)</font></b></p><p><font size="2"> which brings us to a rather interesting point where it comes to these complex numbers: they form a twodimensional plane similar to the X,Y plane which is commonly used in programming.</font></p><p><font size="2">now onto the basic mathematic operations:</font></p><p><font size="2">Addition<br/></font></p><p><b><font size="2">(A + B * i) + (C + D * i) = (A + C) + (B + D) * i</font></b></p><p><font size="2">Subtration</font></p><p><b><font size="2">(A + B * i) - (C + D * i) = (A - C) + (B - D) * i</font></b></p><p><font size="2">Multiplication: </font></p><p><b><font size="2">(A + B * i) * (C + D * i) = (A * C - B * D) + (A * D + B * C) * i</font></b></p><p><font size="2">and Division:</font></p><p><font size="2"><b>(A + B * i)/(C + D * i) = ((A * C + B * D) + (B * C + A * D) * i)/(C ^ 2 + d ^ 2)</b></font></p><p><br/></p><p>NEXT WEEK: the Complex Argument. (ARG(z))<br/></p>Sun, 15 May 2011 04:00:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6975168Equation of the Week #5: Squareroots of complex numbersDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6968830
<p>Any one who is sufficiently well versed in number theory understands that the squareroot of a negative number produces what is known as an imaginary number:designated by the symbol i but then what is the squareroot of i or for that matter any of the general group of the complex numbers (a+b*i)?</p><p>well here is your answer: </p><p><br/></p><p><font size="2">√(A+B*i)=√((A + √(A2 + B2))/2) + SGN(B) * √((-A + √(A2 + B2))/2) * i</font></p><p><br/></p><p>which for i produces about 0.707106781 + 0.707106781 * i</p><p><br/></p><p>Next Week: Basic Complex Number Rules (addition subtration multiplication and division)<br/></p>Sun, 08 May 2011 04:00:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6968830Equation of the Week #4: Euler's identityDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6968703
<p>Sorry for the delay I had extensive computer problems and then had to get used to a new machine:</p><p><br/></p><p><font size="6">e ^ (<font face="Times">π</font> * i) + 1 = 0</font></p><p><br/></p><p>now for the reason behind this: </p><p><font size="4">e ^ (i * x) = COS(x) + i * SIN(x)</font></p><p><font size="4">SIN(<font face="Times">π</font>) = 0</font></p><p><font size="4">COS(<font face="Times">π</font>) = -1</font></p><p><br/></p><p>NEXT WEEK(well tonight really): square roots of complex numbers (A+Bi)</p><p><br/></p><p><br/></p>Sun, 08 May 2011 02:25:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6968703Bin Laden is DeadDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6902746
<p>Osama Bin Laden Is finally Dead. story: <a target="_blank" href="http://abcnews.go.com/Blotter/osama-bin-laden-killed/story?id=13505703">http://abcnews.go.com/Blotter/osama-bin-laden-killed/story?id=13505703</a></p><p><br/></p><p>updates coming:</p><p>I justy wonder what is going to come of this.<br/></p>Mon, 02 May 2011 02:56:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6902746Equation Of the Week #3: Index of RefractionDarthWho
https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6818421
<p>Sorry for the rather simple equation this week. Finals are coming up so I do not have alot of time. Anyway onto what you are really reading this for:</p><p><font size="10">n = c/v</font></p><p>n is the index of refration and is unit less</p><p>c is the speed of light in a vacuum (299,792,458 m/s) any unit system may be used</p><p>v is the velocity of light in the substanced again any unit system may be used but it must be the same system used for the speed of light.</p><p><br/></p><p><br/></p><p>Next week:the first mathematic identity Euler's Identity</p><p>Happy Easter<br/></p><p><br/></p>Sun, 24 Apr 2011 04:00:00 +0000https://digitalknifemonkeyproductions.webs.com/apps/blog/show/6818421