Help with Numerical Integration
Prof. Richard B. Goldstein

More detailed
help with

JavaScript Syntax

(x2 + 2x - 1)5/3 is Math.pow((x*x+2*x-1),5/3)
is Math.sqrt(Math.sin(x)/(Math.pow(2,x)+3*Math.log(x)))

calculus formulaJavascript Function lower limitupper limitvalue
#1 3*Math.sqrt(x)1414
#2Math.exp(3*x)*Math.sin(2*x) 0Math.PI/42.58862863250748

    The formulas and program will work well for most proper integrals (finite lower and upper limits and no singularities). However, there are always counterexamples that work poorly. In general, the trapezoid method is least efficient and the Romberg is most efficient of these four methods.

Equations

Return to Numerical Integration Procedure