Trapezoidal Rule Integration

Numerically approximate ∫_a^b f(x)dx ≈ (b-a)/(2n) × [f(x_0) + 2f(x_1) + ... + 2f(x_{n-1}) + f(x_n)]. Error is O(h²) where h=(b-a)/n.

 
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 to Use

Enter the values for the scenario you are assessing. Numerically approximate ∫_a^b f(x)dx ≈ (b-a)/(2n) × [f(x_0) + 2f(x_1) + ... + 2f(x_{n-1}) + f(x_n)]. Error is O(h²) where h=(b-a)/n. Use the trapezoidal rule result to inform your calculation.

Frequently Asked Questions