Simpson's Rule Integration

Numerically approximate ∫_a^b f(x)dx using Simpson's 1/3 rule: h/3 × [f(x_0) + 4f(x_1) + 2f(x_2) + 4f(x_3) + ... + f(x_n)] (n must be even). Error O(h^4) is much better than the trapezoidal rule.

 
0
Physical Constants Reference
ConstantSymbolValue
Speed of lightc2.99792458×10⁸
Planck's constanth6.62607015×10⁻³‴
Boltzmann constant1.380649×10⁻²³
Avogadro's numberNₐ6.02214076×10²³
Gravitational constantG6.6743×10⁻¹¹
Gas constantR8.31446
Elementary chargee1.602176634×10⁻¹⁹
Electron massmₑ9.1093837015×10⁻³¹
Proton massmₚ1.67262192369×10⁻²⁷
Fine-structure constantα7.2973525693×10⁻³
Advertisement

How It Works

Numerically approximate ∫_a^b f(x)dx using Simpson's 1/3 rule: h/3 × [f(x_0) + 4f(x_1) + 2f(x_2) + 4f(x_3) + ... + f(x_n)] (n must be even). Error O(h^4) is much better than the trapezoidal rule

Each component has a specific meaning:

  • Simpson's 1/3 rule: h/3 × [f + 4f + 2f + 4f + — The simpson's 1/3 rule: h/3 × [f + 4f + 2f + 4f + recorded for the scenario being assessed.

Note: Interpret the simpson's rule result against the thresholds and context described above.

How to Use

Enter the Simpson's 1/3 rule: h/3 × [f + 4f + 2f + 4f + for the scenario you are assessing. Numerically approximate ∫_a^b f(x)dx using Simpson's 1/3 rule: h/3 × [f(x_0) + 4f(x_1) + 2f(x_2) + 4f(x_3) + ... + f(x_n)] (n must be even). Error O(h^4) is much better than the trapezoidal rule. Use the simpson's rule result to inform your calculation.

Frequently Asked Questions