MCPcopy Create free account
hub / github.com/ActiveState/code / f

Function f

recipes/Python/577262_AreCurve_using_Monte_Carlo/recipe-577262.py:8–9  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

6
7# define any function here!
8def f(x):
9 return math.sqrt(1.0 - x * x)
10
11# define any xmin-xmax interval here! (xmin < xmax)
12xmin = -1.0

Callers 4

recipe-577262.pyFile · 0.70
funcFunction · 0.50
memfFunction · 0.50
xfuncreplaceFunction · 0.50

Calls 1

sqrtMethod · 0.45

Tested by

no test coverage detected