# Documentation/How Tos/Calc: ERF function

From Apache OpenOffice Wiki

CALC FUNCTIONS

Trigonometric

Hyperbolic

Rounding and remainders

Logarithm/Powers

Bessel functions

Miscellaneous

## Contents

## ERF

Calculates the error function (Gauss error function).

This function is only available if the **Analysis AddIn** is installed.

### Syntax:

**ERF(number1; number2)**

- if
is omitted, returns the error function calculated between 0 and**number2**, otherwise returns the error function calculated between**number1**and**number1**.**number2**

- The error function, also known as the Gauss error function, is defined for ERF(
*x*) as:

- ERF(
*x*;_{1}*x*) is ERF(_{2}*x*) - ERF(_{2}*x*)._{1}

### Example:

**ERF(0.5)**

- returns
.**0.520499877813**

**ERF(0.2; 0.5)**

- returns
.**0.297797288603**

### Issues:

- This function currently appears in the AddIn category of the Function Wizard.

**See Also**