Functions relating real numbers and integers. Extracting integer and fractional parts. IntegerPart[x] and FractionalPart[x] can be thought of as extracting digits to the left ...
Numerical integration functions. This finds a numerical approximation to the integral ∫_(0)^∞ e^-x^3 x. Here is the numerical value of the double integral ∫_(-1)^1 dx ...
One of the important features of Mathematica is its ability to give you exact, symbolic, results for computations. There are, however, computations where it is just ...
Here is one way to get multiple minima: call NMinimize multiple times with different random seeds, which will cause different optimization paths to be taken. This defines a ...
As discussed in "Exact and Approximate Results", Mathematica can handle approximate real numbers with any number of digits. In general, the precision of an approximate real ...
The function NDSolve discussed in "Numerical Differential Equations" allows you to find numerical solutions to differential equations. NDSolve handles both single ...
Testing for numeric quantities. Pi is a symbol, so Pi+3 is not explicitly a number. It does however have a numerical value.
Mathematica allows you to perform many operations on power series. In all cases, Mathematica gives results only to as many terms as can be justified from the accuracy of your ...
Sometimes you may want to set up functions where certain arguments, if omitted, are given "default values". The pattern x_:v stands for an object that can be omitted, and if ...
Many aspects of the Mathematica front end such as the styles of cells, the appearance of notebooks, or the parameters used in typesetting are controlled by options. For ...