Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ f
Function
f
maths/numerical_analysis/simpson_rule.py:68–70 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
66
67
68
def
f(x):
# enter your function here
69
y = (x - 0) * (x - 0)
70
return
y
71
72
73
def
main():
Callers
1
method_2
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected