ERF
Returns the Gaussian error function over one bound or between two bounds.
With one argument it returns erf(x); with two it returns erf(upper) - erf(lower).
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=ERF(lower_limit, [upper_limit])
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
lower_limit | number | Required | — |
upper_limit | number | Optional | — |
Remarks
- Inputs are numerically coerced.
- A second argument switches the function to interval mode.
- Results are approximate floating-point values.
Examples
Evaluate the error function from zero to the supplied limit.
Formula =ERF(1)
Expected result 0.842700792949715
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Evaluate the error function over an interval with a nonzero lower limit.
Formula =ERF(0.5,1)
Expected result 0.322200915136668
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Evaluate the error function at zero.
Formula =ERF(0)
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The limit must be numeric.
Formula =ERF("invalid")
Expected result #VALUE!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Interval ERF
Formula =ERF(0,1)
Expected result 0.842700792949715
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
How does two-argument ERF work?
ERF(lower, upper) returns erf(upper) - erf(lower), i.e., an interval difference rather than a single-bound value.