mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 05:21:09 +00:00
added quadrature trapezoidal rule to Maths
This commit is contained in:
parent
30cf24c846
commit
537909df64
|
@ -29,7 +29,7 @@ def makePoints(a,b,h):
|
||||||
yield x
|
yield x
|
||||||
x = x + h
|
x = x + h
|
||||||
|
|
||||||
def f(x):
|
def f(x): #enter your function here
|
||||||
y = (x-0)*(x-0)
|
y = (x-0)*(x-0)
|
||||||
return y
|
return y
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user