MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / f

Function f

maths/numerical_analysis/numerical_integration.py:57–58  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

55if __name__ == "__main__":
56
57 def f(x):
58 return x**3
59
60 print("f(x) = x^3")
61 print("The area between the curve, x = -10, x = 10 and the x axis is:")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected