Super Code from Digital Knife Monkey Productions

Digital Knife Monkeys at Keyboards...Will Eventually Program Everything.

Blog

 view:  full / summary

Equation of the week dealyed

 Posted by DarthWho on December 5, 2011 at 8:10 AM comments (0)

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.

Test Entry; (to resolve the MathML problem)

 Posted by DarthWho on November 29, 2011 at 7:55 AM comments (1)

this is only a test entry to attempt to reslove the mathml problems it will be deleted once the problem is resolved

this should display the quadratic formula;

x = − b ± b 2 &#...

Equation of the Week #9: Calculus and why you should know it

 Posted by DarthWho on November 24, 2011 at 9:35 AM comments (0)

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 you...

Equation of the Week #8: Complex Exponentiation

 Posted by DarthWho on November 23, 2011 at 11:45 PM comments (1)

Sorry for the huge delay in getting this one up my bad.

anyway:

how fo we calculate a^b when both A and B are complex numbers?

well this is where the complex exponentiation formula comes into play (this is a long one so hold onto your hats!

well first we have the formula:

E+Fi=(A+Bi)^(C+Di)

how do we work that out you ask? well it just so happens that that formula is equal to:

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*S...

Equation of the Week #7: The Complex Argument

 Posted by DarthWho on May 22, 2011 at 12:00 AM comments (1)

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:

ARG(X + i * Y) = ARCTAN(Y / X)

Or to put it in terms of qb64 code:

ARG(X + i * Y) = ATN(Y / X)

NEXT WEEK: COMPLEX EXPONENTIATION

Equation of the Week #6: an introduction to math with Complex Numbers

 Posted by DarthWho on May 15, 2011 at 12:00 AM comments (0)

Complex numbers are not as difficult as they may first appear to be; this numeric system which is traditionally written in the form of:

A + B * i

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

(A, B)

which...

Equation of the Week #5: Squareroots of complex numbers

 Posted by DarthWho on May 8, 2011 at 12:00 AM comments (1)

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)?

√(A+B*i)=√((A + √(A2 + B2))/2) + SGN(B) * √((-A + √(A2 + B2))/2) * i

which for i...

Equation of the Week #4: Euler's identity

 Posted by DarthWho on May 7, 2011 at 10:25 PM comments (0)

Sorry for the delay I had extensive computer problems and then had to get used to a new machine:

e ^ (π * i) + 1 = 0

now for the reason behind this:

e ^ (i * x) = COS(x) + i * SIN(x)

SIN(π) = 0

COS(π) = -1

NEXT WEEK(well tonight really): ...

 Posted by DarthWho on May 1, 2011 at 10:56 PM comments (0)

I justy wonder what is going to come of this.

Equation Of the Week #3: Index of Refraction

 Posted by DarthWho on April 24, 2011 at 12:00 AM comments (1)

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:

n = c/v

n is the index of refration and is unit less

c is the speed of light in a vacuum (299,792,458 m/s) any unit system may be used

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.