Tool to make symbolic computations. A formal calculator to make exact scientific calculations, with parenthesis, variables, etc.
Calculator - dCode
Tag(s) : Symbolic Computation
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A formal/symbolic calculator is an computation program that allows all calculations (with or without unknown) and answer an exact result (or approximate) with the most simplification possible.
It can also be used to perform classic numerical calculations.
Write the calculation to be performed (if there are variables or functions, respect the syntax).
Example: Simplification of polynomials with variable: $$ x^2-(x-1)(x+2)+2x = x+2 $$
Example: Computation (addition, subtraction, multiplication, division) with unknowns: $$ a+1+a-2 = 2a-1 $$
These are calculations with variables, but not an equation resolution. dCode has also an equation solver, and other calculus tools such as derivatives, primitives, integrals, etc.
Most common functions (parenthesis are mandatory) are
sqrt() or √() | square root |
---|---|
exp() | exponential |
log() or ln() | natural logarithm (base e) |
log2() | logarithm (base 2) |
log10() | logarithm (base 10) |
cos() | cosine |
sin() | sine |
tan() or tg() | tangent |
arcsin() or asin() | arc sine |
arccos() or acos() | arc cosine |
arctan() or atan() | arc tangent |
csc() | cosecant |
sec() | secant |
cot() | cotangent |
arccsc() or ascs() | arc cosecant |
arcsec() or asec() | arc secant |
arccot() or acot() | arc-cotangent |
cosh() | hyperbolic cosine |
sinh() | hyperbolic sine |
tanh() or tgh() | hyperbolic tangent |
arcsinh() or asinh() | hyperbolic arc sine |
arccosh() or acosh() | hyperbolic arc cosine |
arctanh() or atanh() | hyperbolic arc tangent |
csch() | hyperbolic cosecant |
sech() | hyperbolic secant |
coth() | hyperbolic cotangent |
arccsch() or ascsh() | hyperbolic arc cosecant |
arcsech() or asech() | hyperbolic arc secant |
arccoth() or acoth() | hyperbolic arc cotangent |
abs() | absolute value |
sign() | function sign |
arg() | argument |
im() | imaginary part |
re() | real part |
ii (double i) | i (imaginary unit) |
A formal calculator can perform symbolic calculations, while a standard calculator performs numerical calculations. The formal calculator preserves variables and symbolic expressions.
dCode retains ownership of the "Calculator" source code. Any algorithm for the "Calculator" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Calculator" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Calculator" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Calculator" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Calculator on dCode.fr [online website], retrieved on 2025-04-16,