Print the complementary error function for different numbers:
# Import math Library
import math
# Print complementary error function for different numbers
print (math.erfc(0.67))
print (math.erfc(1.34))
print (math.erfc(-6))
Try it Yourself » Definition and UsageThe math.erfc()
method returns the complementary error function of a number.
This method accepts a value between - inf and + inf, and returns a value between 0 and 2.
Syntax Parameter Values Parameter Description x Required. A number to find the complementary error function of Technical Details Return Value: Afloat
value, representing the complementary error function of a number Python Version: 3.2
Track your progress - it's free!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4