You can do arithmetic with Mathematica
just as you would on an electronic calculator.
This is the sum of two numbers.
stands for division, and the
stands for power.
Spaces denote multiplication in Mathematica
. The front end automatically replaces spaces between numbers with light gray multiplication signs.
You can use a
for multiplication if you want to.
You can type arithmetic expressions with parentheses.
Spaces are not needed, though they often make your input easier to read.
|x y z or x*y*z||multiply|
Arithmetic operations in Mathematica.
Arithmetic operations in Mathematica
are grouped according to the standard mathematical conventions. As usual,
, for example, means
, and not
. You can always control grouping by explicitly using parentheses.
This result is given in scientific notation.
You can enter numbers in scientific notation like this.
, you can perform calculations with a particular precision, usually higher than an ordinary calculator. When given precise numbers, Mathematica
does not convert them to an approximate representation, but gives a precise result.
This gives the result in terms of rational numbers.
This gives the approximate numerical result.
This gives the approximate numerical result with 40 significant digits.