ID EN
Math

erf

Python 3.11 🇮🇩 Bahasa Indonesia

Kembalikan fungsi kesalahan di x.

Syntax

PYTHON
math.erf(x)

Contoh

Example 1
PYTHON
def phi(x):
    'Cumulative distribution function for the standard normal distribution'
    return (1.0 + erf(x / sqrt(2.0))) / 2.0

See Also

erf()