The inputs above will be hidden when the program finally gets launched. Currently, I am not hiding them even when you close the calculator. The purpose of the inputs is to help in debugging. This allows you to enter simple code on the calculator screen but the program translates the input to javascript math. Give it a try and see if you notice any obvious problems or have suggestions for improvements.

The javascript math object methods used for this calculator are not accurate for very large or very small numbers. In particular, the trigonometric functions may yield very small answers that should actually be zero or very large answers that should be infinite. This typically occurs at 90° or pi/2 intervals.