Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ simpson_rule.py
File
simpson_rule.py
maths/numerical_analysis/simpson_rule.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Numerical integration or quadrature
for
a smooth function f
with
known values at x_i
3
4
This method is the classical approach of summing
'Equally Spaced Abscissas'
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected