Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ f
Function
f
maths/line_length.py:57–58 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
55
if
__name__ ==
"__main__"
:
56
57
def
f(x):
58
return
math.sin(10 * x)
59
60
print(
"f(x) = sin(10 * x)"
)
61
print(
"The length of the curve from x = -10 to x = 10 is:"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected