Home >>Python math Module >Python math.erfc() Method
Python math.erfc() Method in python is used to method returns the complementary error function of a number and accepts the value in the range between [-inf, inf] and returns error function in between [0, 2] and the error function can be defined as, erfc(x) = 1- erf(x).
Syntax:math.erfc(x)
Parameter | Description |
---|---|
x | It is required a number for finding the complementary error function |
import math
print (math.erfc(-0.23))
print (math.erfc(4.16))
print (math.erfc(-2))
import math
print (math.erfc(12.21))
print (math.erfc(1.03))
print (math.erfc(24))