# Calculator

This site has a **Direct Algebra Calculator**.

Click on the 'Calculator' button in the top menu to open and close the input text area.

Enter the equation with the correct input code (see below) and **press 'Enter'** to get the complete solution.

## List of functions

Name | Symbol | Input Code |

addition | + | + |

substraction | − | - |

multiplication | × | * |

division | ÷ | / |

multiplier (×10) | E | e |

power | ^ | ** |

pi | π | p |

Euler's number | e | n |

natural log | LN | ln |

log base 10 | LOG_{10} | lg (or log) |

log base 2 | LOG_{2} | lb |

sine | SIN | s |

cosine | COS | c |

tangent | TAN | t |

arcsine | ASIN | as |

arccosine | ACOS | ac |

arctangent | ATAN | at |

opening parenthesis | ( | « |

closing parenthesis | ) | » |

infinity | ∞ | |

not a number | NaN | |

number too large | InfiniNaN |

Input code is not case sensitive.

Trigonometry is calculated in **degrees**.

Missing opening and closing parenthesis are completed automatically. For example:

1+1»/«2+22 ÷ (2 + 2) =

2 ÷ 4 =

**0.5**

Implied multiplication are completed automatically. For example:

«2p+3n»«2s30+3ac0.5»(2 × 3.141592653589793 + 3 × e) × (2 × SIN30 + 3 × ACOS0.5) =

(2 × 3.141592653589793 + 3 × 2.718281828459045) × (2 × SIN30 + 3 × ACOS0.5) =

(2 × 3.141592653589793 + 3 × 2.718281828459045) × (2 × SIN30 + 3 × 59.99999999999999) =

(2 × 3.141592653589793 + 3 × 2.718281828459045) × (2 × 0.49999999999999994 + 3 × 59.99999999999999) =

14.438030792556722 × (2 × 0.49999999999999994 + 3 × 59.99999999999999) =

14.438030792556722 × 180.99999999999997 =

**2613.283573452766**

Although not an intended function, the calculator will solve most series of + and −. For example:

3+--+-33 − 3 =

**0**

All calculations are correct, but input is not completely 'idiot proof'. For very complicated equations, verify detailed calculations. If the input text area freezes, reload page to reinitialize.

## Function priority

Functions are solved in this order:

- ( ) [« »]
- π [p]
- e [n]
- ^ [**]
- ASIN [as]
- ACOS [ac]
- ATAN [at]
- SIN [s]
- COS [c]
- TAN [t]
- LOG
_{10}[lg or log] - LOG
_{2}[lb] - LN [ln]
- × and ÷ [* and /]
- + and − [+ and -]