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

Function f

maths/area_under_curve.py:53–54  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

51if __name__ == "__main__":
52
53 def f(x):
54 return x**3 + x**2
55
56 print("f(x) = x^3 + x^2")
57 print("The area between the curve, x = -5, x = 5 and the x axis is:")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected