math.erfc

Full name
math.erfc
Library
math
Syntax

math.erfc(x)

Description

The math.erfc function returns the complement of the value of the error function (also called the complementary error function) for a given x value.

The complementary error function is given by the following expression:

math.erfc

And its graph is the following:

math.erfc

Parameters
  • x: Value for which we want to obtain the complementary error function.
Result

We can obtain the value of the complementary error function for the point x = 0.5 with the following code:

math.erfc(0.5)
0.4795001221869534
Submitted by admin on Wed, 02/17/2021 - 09:28