Applications. Error and additional error functions arise, for example, in solutions of the heat equation if the boundary conditions are specified by the Heaviside step function. The error function, and therefore its approximations, can be used to determine results that have a high probability of being correct.