virhefunktio
Virhefunktio, known in English as the error function, is a standard special function in mathematics. It is defined by erf(x) = (2/√π) ∫_0^x e^{−t^2} dt. The function is odd and increasing, with erf(0) = 0 and erf(x) → 1 as x → ∞, erf(x) → −1 as x → −∞.
The error function is closely related to Gaussian distributions. The standard normal cumulative distribution function is
Numerical representations and analytic properties include a power series: erf(x) = (2/√π) ∑_{n=0}∞ [(-1)^n x^{2n+1}] / [n!(2n+1)], valid
Applications of virhefunktio appear in solving the heat equation and diffusion problems, evaluating probability integrals, and