Multiply is * (not X )
The comma , is an operator. Numbers are stripped of commas!
+ - * / ^ | & Math.sqrt(x) and more!
Use the Fn button to format numbers with commas in the output area
Use the RtE button to move your last results to the input area
Use the Convert to Fractions to convert a number in the input area to a fraction
Enter a mathematical expression and hit evaluate!
Do it - Your input and results are shown below.
Examples
(7 / 2) * 3 | Evaluates to | 10.5 |
12 % 5 | Evaluates to | 2 |
Math.sqrt(16) | Evaluates to | 4 |
15 & 9 | Evaluates to | 9 (1111 & 1001 = 1001) |
15 | 9 | Evaluates to | 15 (1111 | 1001 = 1111) |
15 ^ 9 | Evaluates to | 6 (1111 ^ 1001 = 0110) |
status=(20 >= 18) ? "adult":"minor" | ||
Evaluates to | adult | |
BMI for weight 195 height 69 inches Math.round((195 * 703) / (69 * 69) * 10) / 10 | ||
Functions
Math.abs(x) | Calculates the absolute value of a number. |
Math.acos(x) | Calculates the arccosine (in radians) of a number. |
Math.asin(x) | Calculates the arcsine (in radians) of a number. |
Math.atan(x) | Calculates the arctangent (in radians) of a number. |
Math.atan2(x,y) | Calculates the arctangent of the quotient of its arguments. |
Math.ceil(x) | Rounds up (Math.ceil(-9.01) = -9.0 : counts up - towards zero). |
Math.cos(x) | Calculates the cosine of a number. |
Math.E | Returns Euler's constant - the base of the natural logarithms. |
Math.exp(x) | Calculates e (the base of natural logarithms) raised to a power. |
Math.floor(x) | Rounds down (Math.floor(-9.01) = -10.0 : counts down - away from zero). |
Math.log(x) | Calculates the natural logarithm (base E) of a number. |
Math.max(x,y) | Calculates the greater of two numbers. |
Math.min(x,y) | Calculates the lesser of two numbers. |
Math.pow(base,ep) | Calculates base to the ep (exponent power). |
Math.random() | Calculates a pseudo-random number between 0 and 1. |
Math.round(x) | Rounds up if the decimal is greater than or equal to .5, else it will round down. |
Math.sin(x) | Calculates the sine of a number. |
Math.sqrt(x) | Calculates the square root of a number. |
Math.tan(x) | Calculates the tangent of a number. |
parseInt(string,[radix]) | attempts to return integer of the specified base. |
For Hex To Dec | parseInt("E", 16) { parseInt("0xE", 16) } = 14 |
For Octal To Dec | parseInt("16", 8) { parseInt("016", 8) } = 14 |
DecToOctal | DecToOctal(224) = 0340 |
DecToHex | DecToHex(224) = 0xE0 |
DecToBin | DecToBin(8) = 100 |
|
|
Operators
addition/subtraction |
+ - |
multiply/divide/modulus |
* / % |
% modulus - Returns the integer remainder of dividing the two operands | |
comma |
, |
assignment |
= += -= *= /= %= <<= >>= >>>= &= ^= |= |
conditional |
?: |
logical-or |
|| |
logical-and |
&& |
bitwise-or |
| |
bitwise-xor |
^ |
bitwise-and |
& |
equality |
== != |
relational |
< <= > >= |
bitwise shift |
<< >> >>> |
negation/increment |
! ~ - + ++ -- typeof void delete |
Cutting and pasting equations can fail due to character code incompatibilities If you think the equation is correct, often times typing over the operator characters, especially what looks like a minus sign can solve your problem.
Examples:
− Minus Sign
– en dash
— em dash
Math Open Reference
Digital Library of Mathematical Functions
Universal Time
Algebra
Linear Alegrbra
Math Glossary
Geometry Center
Trigonometry
Probability by Suprise
Math and Physics Applets
Excel Tutorial
Orders of Magnitude
Numerical Optimization
Copyright © 2000-20012 Gary Johnson. All rights reserved. Icon(s) by Umut Pulat