From 537909df64a55df4b52f7b94d6cbb679a2550558 Mon Sep 17 00:00:00 2001 From: lane Date: Tue, 20 Feb 2018 17:48:22 -0700 Subject: [PATCH] added quadrature trapezoidal rule to Maths --- Maths/TrapezoidalRule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maths/TrapezoidalRule.py b/Maths/TrapezoidalRule.py index f926ed256..2ad857390 100644 --- a/Maths/TrapezoidalRule.py +++ b/Maths/TrapezoidalRule.py @@ -29,7 +29,7 @@ def makePoints(a,b,h): yield x x = x + h -def f(x): +def f(x): #enter your function here y = (x-0)*(x-0) return y