jsCalc
Input

Instructions: Standard Mode Enter values into the Input textarea.
Each row can be simply a number, e.g. 45, or a math expression like 1/(3 + 4).

Press the enter key and the calculator evaluates
the expressions in each row of the textarea and
shows the total, average and median of these row values.

Clicking the Clear button clears the textarea and results.

The Instructions button toggles the display of the instructions.

To write a comment in the textarea use the symbol //.
Rows starting with // will not be evaluated and
in a row entries after // also will not be evaluated.
As examples,

// this is a comment
12 * 2.54 // convert 12 inches to centimetres

Parentheses, ( ), can be used to control the order of operations.
The expressions in parentheses are computed first. For example,
10.75 = 3 / 4 + 10 whereas
0.21 = 3 / (4 + 10).

The entries in the textarea can be edited and recalculated.

jsCalc uses the Javascript math operators.
Operator Symbol Example
Addition + 16 = 4 + 12
Substraction - 5 = 8 - 3
Multiplication * 20 = 5 * 4
Division / 7 = 35 / 5
Remainder % 3 = 13 % 5
Exponent ** 8 = 2 ** 3
jsCalc, also, uses the methods of the Javascript Math object.
For example,
2*Math.PI * 4 // circumference of a circle with radius 4
Method Description
Math.PI The constant pi, 3.141592653589793
Math.E Euler's number, 2.718281828459045
Math.sqrt(x) The square root of x
Math.abs(x) The absolute value of x.
Math.sin(x) The sine of x in radians.
Math.sin(x*Math.PI/180) The sine of x in degrees.
Math.cos(x) The cosine of x in radians.
Math.tan(x) The tangent of x in radians.
Math.log(x) The natural logarithm of x.
Math.log10(x) The log base 10 of x .
Math.random() returns a random number between 0 and 1.
Other Math methods, including the inverse and hyperbolic trig functions, can be found at Math methods
After the computation of a row is complete the row is labeled as r1, r2, etc in the left hand column.
These labels can then be used to represent the value of the row in subsequent calculations.
For example, if you enter the number 185433.73 the screen will show:
r1    185,433.73 = 185,433.73
Now r1 can be used in other calculations as the value 185,433.73
For example,
r1    185,433.73 = 185,433.73
r2    430.62 = Math.sqrt(r1)

Instructions: Time Value of Money Mode

In the TVM mode the calculator computes the value of money years in the future
based on an interest rate and the number of compounding intervals per year.
Chage the values shown for the present value, the interest rate,
the number of years, and the number of compounding intervals.

Key Enter and the Future Value is determined using the standad formula.

Instructions: Convert Mode


Use the convert mode to change back and forth from Metric to Imperial/US units of measure.
For example, to convert 30 kilometers to miles, scroll down to the entry:

/* miles (mi) -- kilometres (km) */
    1 mi = 1.61 km
    1 km = 0.62 mi
then change 1 km = 0.62 mi to 30 km = ... ,
and key Enter. The entry will now look like:

/* miles (mi) -- kilometres (km) */
    1 mi = 1.61 km
    30 km = 18.64 mi
showing that 30 km is 18.64 mi.

Instructions: Loan Payments

Compare payments for two different interest rates.
Replace the values for loanAmount,
interestA, interestB, and years with your values then key Enter
//fieldset for instructions