BSW Math
Trapezoidal Method
This Script gives a numerical integration of any function using Trapezoidal formula:
I=h/2*[F(a)+F(b) +2*sum(F(x)]
where F(a) is the value of F(x) at point a and F(b) its value at point b
Please notice that the variable should be x
lower limit a=:
upper limit b=:
Number of Intervals=:
f(x)=