In just one Mathematica command, you can easily specify a calculation that is far too complicated for any computer to do. For example, you could ask for ...
SeedRandom[n] resets the pseudorandom generator, using n as a seed. SeedRandom[] resets the generator, using as a seed the time of day and certain attributes of the current ...
EvenQ
(Built-in Mathematica Symbol) EvenQ[expr] gives True if expr is an even integer, and False otherwise.
Rationalize[x] converts an approximate number x to a nearby rational with small denominator. Rationalize[x, dx] yields the rational number with smallest denominator that lies ...
Matrices are represented in Mathematica with lists. They can be entered directly with the { } notation, constructed from a formula, or imported from a data file. Mathematica ...
Or
(Built-in Mathematica Symbol) e_1 || e_2 || ... is the logical OR function. It evaluates its arguments in order, giving True immediately if any of them are True, and False if they are all False.
GoldenRatio is the golden ratio \[Phi] = 1/2 (Sqrt[5] + 1), with numerical value \[TildeEqual] 1.61803.
IntegerString[n] gives a string consisting of the decimal digits in the integer n. IntegerString[n, b] gives a string consisting of the base b digits in the integer n. ...
The way modules work in Mathematica is basically very simple. Every time any module is used, a new symbol is created to represent each of its local variables. The new symbol ...
Mathematica has special sparse-array technology for efficiently handling arrays with literally astronomical numbers of elements when only a small fraction of the elements are ...