2020-09-10LaTeX Calculator
User Manual
The Modeling Assistant LaTeX
Calculator is now online! Simply paste LaTeX code
from your paper to compute results instantly!
Function Description
Numerical
Calculation
- Basic arithmetic operations (multiplication supports
omitted symbol,
\cdot, \times,
or \ast), modulus (\mod or
%) - Exponentiation (
^), square root
(\sqrt) - Logarithms (
\log, \ln,
\lg) - Trigonometric, inverse trigonometric, and hyperbolic
functions. Inverse trigonometric functions support the
-1 superscript notation, e.g., \sin^{-1}x; simplified power
notations such as \sin^2x are also
supported
- Summation (
\sum_{i=1}^{n}), product
(\prod_{i=1}^{n}); the variable and bounds
can be user-defined, either numerical or symbolic - Factorial (
!), absolute value
(||) - By default, radicals and irrational symbols such as
e and \pi are preserved. For exact
numerical evaluation, click the blue
Evaluate button.
Complex Number
Calculation
- Imaginary unit (
\mathrm{i};
must use \mathrm,
otherwise it will be recognized as a regular
variable) - Real part (
\operatorname{re}),
imaginary part (\operatorname{im}) - Modulus (
||), argument
(\arg) - Complex conjugate (
\overline) - Sign function (
\operatorname{sign} or
\operatorname{sgn}; for complex numbers,
returns the unit vector on the complex plane)
Symbolic Computation
- Automatic simplification of symbolic
expressions
- Indefinite, definite, and multiple integrals (all
use
\int; a matching differential symbol is
required at the end. Unconventional positions such as
\mathrm{d}(x^2) or
placing the differential in the numerator/front are not
supported. Indefinite integrals have no upper/lower
bounds). The differential symbol supports
d, \mathrm{d}, or
\partial. Complex numbers are supported
(e.g., Fourier transform) - Derivatives (in the form
\frac{d}{dx}),
partial derivatives; differential symbols support
d, \mathrm{d}, or
\partial - Limits (
\lim); subscripts must use
\to; multiple limits are not supported - Symbol substitution: to replace x with 1, append
\qquad at the end of the input:
\qquad x=1. Separate multiple assignments
with commas.
Equation Solving
- After entering an equation, if no variable is
specified, the system will randomly choose one to solve
and output the solution set
- To specify a variable, use
\Rightarrow,
e.g., x+y=t\Rightarrow
x (solve for x) - To assign values and solve for
other variables, place the
\qquad
assignment at the end, e.g., x+y=t\Rightarrow x\qquad
t=1,y=3
System of Equations
- Use
\begin{cases} and
\end{cases} to define a system - Each equation must contain an equals sign, and lines
are separated by
\\ - Variable specification and value assignment follow
the same rules as single equations
Supported LaTeX
Symbols
Math Commands
sinh, cosh,
tanh, coth,
arcsin, arccos,
arctan, arccot,
arcsec, arccsc,
sin, cos, tan,
cot, sec, csc,
exp, ln, lg,
log, re, im,
arg, sgn, sum,
prod, lim,
overline, frac,
dfrac, tfrac,
binom, dbinom,
tbinom, cases, etc.
Binary Operators
div, mod,
cdot, times, ast,
mathop, operatorname, etc.
Mathematical Symbols
All uppercase, lowercase, and italic (var) Greek
letters, plus hbar, eth,
ell, infty.
Note:
- The imaginary unit
i
must be written as
\mathrm{i}; otherwise it will be treated as
a variable. e is recognized as the natural constant
in both forms and cannot be used as a variable.- The same applies to
pi.
Typesetting Commands
textrm, textit,
textbf, texttt,
mathrm, mathbb,
mathbf, boldsymbol,
boldmath, bm,
displaystyle, textstyle,
scriptstyle,
scriptscriptstyle, bar,
vec, tilde, hat,
overrightarrow, overleftarrow,
widetilde, widehat,
mathring, left,
right, ,, ;,
quad, qquad, etc.