Skip to main content

ERF function

ERF(x) returns the error function integrated between zero and x. The result is in the range (−1, 1); it approaches 1 as x → +∞ and −1 as x → −∞.

ERF Error function$$\operatorname{erf}(x) = \frac{2}{\sqrt{\pi}}\int_{0}^x e^{-t^2}\,\mathrm dt$$

The argument x can be a real number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the ERF function applied to all elements.

Examples

ERF(0) equals 0

ERF(1) equals 0.8427008

Calculator

ERF 0.84270079295

Graph

ERF function

Related functions

External links