John's Online RPN Scientific Calculator, using Complex Math
John's Online RPN Scientific Calculator, using Complex Math
A powerful, online, RPN Scientific Calculator, written in Javascript.
It employs complex math, has numerous functions (80+), and a scrollable display/log window.
This is an example of just how powerful the javascript language can be.
The true test of a real calculator: Sqrt[-1].
If you get an imaginary answer, then you have a TRUE calculator.
If it crashes, then toss it and go get a TRUE calculator...
You can also write Advanced DAL (Dynamic/Direct Algebraic Logic) equations directly to the input window as well.
There is a memory slot with an unlimited number of entries and the standard
Store/Recall/Clear function. Since you can
cut/copy/paste and select/drag from the scrollable log window, you can even use
the log window as an effective memory. It has buttons for various constants, complete trigonometric
functions, integer and modular math functions such as integer factorization and gcd, base conversion from 2 to 36, not
just bin, oct, dec, & hex, etc. Input numbers from the mouse-click pad or
from the keyboard. Also includes an NxN linear system solver and
N-polynomial root finder.
Welcome to Quantum Reality: Virtual worlds of imaginary particles: The dreams stuff is made of: Life, the eternal ghost in the machine...
This site is dedicated to the quest for knowledge and wisdom, through science, mathematics, philosophy, invention, and technology. May the treasures buried herein spark the fires of imagination like the twinkling jewels of celestial light crowning the midnight sky... ***Learn, Discover, Explore***
Site last modified:
2008-Feb-19-7pm
Linear System Equation Solver:
xxx
Polynomial Root Solver:
xxx
Complex Polynomial Root Solver:
xxx
Logic Calculator:
xxx
To use Scientific Calculator RPN (Reverse Polish Notation) button operators
(Complex operation capable):
For unary operations (1 number req.), type the number into the input box and
then click the function.
For binary operations (2 numbers req.) type the 1st number, click the [Enter]
button, type the 2nd number, and then click the function.
For short-cut RPN operations (like HP calculator logic), you can use operators
directly on the stack as well.
Unary operations replace the last stack value with its new value
Binary operations replace the last two stack values with its new value
Just play with the buttons, the log window will let you see how it works --
its pretty easy once you get the hang of it...
To use built-in javascript DAL (Dynamic/Direct Algebraic
Logic) operations (Real operations only):
Write your numeric equation/formula
directly into the input box and then press [Enter]
(you don't have to write the JS 'Math.' in front of
the functions, but you can only use and receive real numbers):
ex. 2+5/3-abs(-8)*cos(PI) you must input angles in
radians when using this mode
Note: you must have the [kbd] checkbox OFF to use DAL
To input numbers, there are several options, all of
which are effective:
(1) mouse-click on the virtual number pad above
(2) use copy-paste/select-drag from the log window to the input box
(3) just type in the numbers on your computer keyboard
(4) turn on the [kbd] checkbox to make the actual keyboard activate the
(+,-,*,/,=,c) virtual keys in RPN mode
Input types:
real 255 or PI or -234.2235 or etc.
complex pair (0,3)
complex add 0 +i 3
complex polar 3 /_ 90 or 3 /_ 1.5708 (set the
angle mode 1st)
num-to-base FF_b16 or 1001010_b2
list of real {2,3,4,5,3,4,2}
Note: all built-in javascript trig functions use radians in the argument
Note: if anyone notices a bug in the calculator, please report it so that I can
fix it
And, just an interesting bit of math trivia:
Addition is repeated incrementing ( c = a+b ); the
2 inverses are subtraction. ( a = c-b ) & (
b = c-a )
Multiplication is repeated addition ( c = a*b );
the 2 inverses are division. ( a = c/b ) & (
b = c/a )
Exponentiation is repeated multiplication ( c = a^b);
it has 2 different inverses: the root ( a = Rootb[c]
) and the log ( b = Loga[c])
Isn't this branching pretty cool, considering that mathematics has a tree-like
structure? :-)
Contest: Who can tell me what is special about 0.20787957635076193?
Hint: it can be derived using a single simple "unit" number and one single
operation from above.
If you have a comment about this site, or find a bug, or want more features
added, or just
want to say 'hi', please email John.