WOLFRAM LANGUAGE TUTORIAL
You can do arithmetic with the Wolfram Language 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 the Wolfram Language. 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 the Wolfram Language.
Arithmetic operations in the Wolfram Language 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.
With the Wolfram Language, you can perform calculations with a particular precision, usually higher than an ordinary calculator. When given precise numbers, the Wolfram Language 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.