This calculator supports both basic and scientific operations. Below is a detailed guide on how to use each button:
-
AC: Clears the entire expression.
-
DEL: Deletes the last character from the current expression.
-
( and ): Use parentheses to group parts of your expression. For example,
(3+2)*5
multiplies the sum of 3 and 2 by 5.
-
sin(, cos(, tan(: These buttons insert the corresponding trigonometric function along with an opening parenthesis. Note: Enter the angle in radians. For example,
sin(1.57)
approximates 1.0.
-
log(: Inserts the base‑10 logarithm function. For example,
log(100)
returns 2.
-
ln(: Inserts the natural logarithm function. For example,
ln(2.7183)
returns approximately 1.
-
√(: Inserts the square root function. For example,
√(16)
returns 4.
-
^ (x^y): This button is used for exponentiation. For example, entering
2^3
computes as 2 raised to the power of 3, i.e. 8.
-
÷, ×, −, +: These buttons represent division, multiplication, subtraction, and addition respectively. Be sure to use them between numbers or expressions.
-
π: Inserts the constant π (pi). It is replaced with
Math.PI
during calculation.
-
= or Enter: Evaluates the expression. You can click the "=" button or press the Enter key.
-
Keyboard Shortcuts: You can use your keyboard as well:
- Enter: Evaluate expression (same as "=").
- Backspace: Delete the last character (same as "DEL").
- Escape: Clear the expression (same as "AC").
Important: Always close your functions with the corresponding ")".
For example, if you press sin(
, make sure to complete it by entering an angle followed by a close parenthesis: sin(1.57)
.