The ScientificCalculator was written by Denis Makarov of http://binarythings.com and download from http://javascript.internet.com
(I found that the calculator written by Denis Makarov did not work properly on hyperbolic functions. I found out the reason and fixed the problem. I sent my corrected script back to Denis and he is going to update his web pages.)
The SP Calculator was inspired by a simple four-function calculator downloaded from http://javascript.internet.com.
The SP Calculator calls the intrinsic JavaScript "eval" function. The "eval" function reads, interprets, and executes multiple lines of Javascript code. In a sense, the calculator is programmable. You can just paste in code, which you could have have previously written to a text file. You can build your own library of functions to copy and paste in.
Two S-P seismic travel-time function are built in. Click on a button (dist or SP), type in a numerical argument, and a closing parenthesis. Click "Go" to compute the distance of an earthquake from the time difference between the P- and S-arrival times, or visa versa.
See also the stand-alone travel time calculator.
9/7/2006 and 9/17/2006