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

Function make_points

maths/numerical_analysis/simpson_rule.py:61–65  ·  view source on GitHub ↗
(a, b, h)

Source from the content-addressed store, hash-verified

59
60
61def make_points(a, b, h):
62 x = a + h
63 while x < (b - h):
64 yield x
65 x = x + h
66
67
68def f(x): # enter your function here

Callers 1

method_2Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected