Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
import
math
Callers
nothing calls this directly
Calls
4
range
Function · 0.85
str
Function · 0.85
f
Function · 0.70
random
Method · 0.45
Tested by
no test coverage detected