MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-577262.py

File recipe-577262.py

recipes/Python/577262_AreCurve_using_Monte_Carlo/recipe-577262.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Calculating area under the curve using Monte Carlo method
2# FB - 201006137
3
4import math

Callers

nothing calls this directly

Calls 4

rangeFunction · 0.85
strFunction · 0.85
fFunction · 0.70
randomMethod · 0.45

Tested by

no test coverage detected