Está en la página 1de 2

Integración numérica

Método del Trapecio Múltiple

Emplee la regla del trapecio para integrar numéricamente la función.

Datos: i xi f(xi) Datos:


b= 5 0 2 29.5562244 f(x0) =
a= 2 1 2.25 48.0316627 Σf(xi) =
n= 12 2 2.5 76.1405873 f(xn) =
ℎ=(𝑏−𝑎)/𝑛= 3 2.75 118.297404
0.25
4 3 180.769832 𝐼=(𝑏−𝑎) (𝑓(𝑥_0 )+2∑𝑓(𝑥_𝑖 )+𝑓(
5 3.25 272.410465
6 3.5 405.664286 I=
7 3.75 597.952716
8 4 873.570401
9 4.25 1266.27901
10 4.5 1822.84691
11 4.75 2607.87042
12 5 3710.32898
Datos: Error relativo:
29.5562244 f´´ =
𝐸_𝑎= 〖 (𝑏−𝑎) 〗 ^3/(12𝑛^2 ) (𝑓´´) ̅ 103.446785
8269.833693 Ea = 53.8785341
3710.328978
𝑓´=𝑒^𝑥 𝑥^2+2𝑒^𝑥 𝑥
(𝑏−𝑎) (𝑓(𝑥_0 )+2∑𝑓(𝑥_𝑖 )+𝑓(𝑥_𝑛 ))/2𝑛 𝑓´´=(𝑥^2+4𝑥+2)𝑒^𝑥

2534.944073

También podría gustarte