Documentos de Académico
Documentos de Profesional
Documentos de Cultura
𝑓(𝑥) = 3𝑥 2 + 1
Aplicando la definición
𝑓(𝑥0 ) − 𝑓(𝑥0 − 1)
𝑓´(𝑥0 ) =
ℎ
Reemplazamos en la formula
28 − 26,23
𝑓´(𝑥0 ) = = 17,7
0,1
18 − 17,7
𝐸𝑟 = | ∗ 100%| = 1,6%
18
Ejercicio 2
Dada la función 𝑓(𝑥) = 4 sin(𝑥) + 2 el valor de su derivada en x= 4, con h=0,2 es:
Solución:
Realizamos la tabla
Aplicamos la definición
𝑓(𝑥0 ) − 𝑓(𝑥0 − 1)
𝑓´(𝑥0 ) =
ℎ
Reemplazamos en la formula
2,279 − 2,272
𝑓´(𝑥0 ) = = 0.035
0,2
0,069 − 0.035
𝐸𝑟 = | ∗ 100%| = 49,27%
0.069
Aquí podemos observar que el valor del error es bastante alto, esto se debe a que al
realizar la tabla no se trabaja con todas las cifras decimales.
Ejercicio 3
Dada la función 𝑓(𝑥) = ln(𝑥) + 3𝑥 encontramos su derivada en el punto 5, con h= 0.1
Solución
Realizamos la tabla correspondiente
𝑓(𝑥0 ) − 𝑓(𝑥0 − 1)
𝑓´(𝑥0 ) =
ℎ
Reemplazamos en la formula
16,60 − 16,28
𝑓´(𝑥0 ) = = 3,20
0,1
Realizamos el cálculo del error
𝑉𝑣 − 𝑉𝑎
𝐸𝑟 = | ∗ 100%|
𝑉𝑣
3,33 − 3,20
𝐸𝑟 = | ∗ 100%| = 3,90%
3,33
3
∫ 0,25078𝑒 𝑥 ln(𝑥 + 𝑧3,89023) 𝑑𝑥
0
𝑏 𝑏−𝑎
∫𝑎 𝑓(𝑥) = [𝑓(𝑥0) + 2𝑓(𝑥1) + 2𝑓(𝑥2) + ⋯ + 2𝑓(𝑥𝑛−1 ) + 𝑓(𝑥𝑛 ) (1)
2𝑛
Definimos un valor de n= 4
Así
𝑏−𝑎
∆𝑥 =
𝑛
3−0
∆𝑥 = = 0,75
4
El valor de xi esta dado por
𝑥𝑖 = 𝑎 + 𝑖∆𝑥
Reemplazando tenemos
𝑥0 = 0 + 0 ∗ (0,75) = 0
𝑥1 = 0 + 1 ∗ (0,75) = 0,75
𝑥2 = 0 + 2 ∗ (0,75) = 1,5
𝑥3 = 0 + 3 ∗ (0,75) = 2,25
𝑥4 = 0 + 4 ∗ (0,75) = 3
Ahora Calculamos las alturas evaluando los valores de xi en la función.
Reemplazamos
𝒃
𝒉
∫ 𝒇(𝒙) ≈ [𝒇(𝒙𝟎 ) + 𝟒(𝒇(𝒙𝟏 ) + 𝟐(𝒇(𝒙𝟐 ) + 𝟒(𝒇(𝒙𝟑 ) + (𝒇(𝒙𝟒 )]
𝒂 𝟑
𝑏
0.75
∫ 𝑓(𝑥) ≈ [0.34067667572 + 4(0.814808112744) + 2(1.8933388131)
𝑎 3
+ 4(4.318164052855) + 9.7220345341986 ]
𝑏
∫ 𝑓(𝑥) ≈ 0,25 ∗ 34.3812774985146
𝑎
3
∫ 0.25078𝑒 𝑥 ln(𝑥 + 3.89023) 𝑑𝑥 = 𝟖. 𝟓𝟗𝟓𝟑𝟏𝟗𝟑𝟕𝟒𝟔𝟐𝟖𝟔𝟓
0
𝑿𝒊 = 𝒂 + 𝒊 ∗ ∆𝒙
𝑥0 = 0 + 0(1) = 0 𝑥1 = 0 + 1(1) = 1
𝑥2 = 0 + 2(1) = 2 𝑥3 = 0 + 3(1) = 3
Reemplazamos
𝒃
𝟑𝒉
∫ 𝒇(𝒙) ≈ [𝒇(𝒙𝟎 ) + 𝟑(𝒇(𝒙𝟏 ) + 𝟑(𝒇(𝒙𝟐 ) + 𝟑(𝒇(𝒙𝟑 ) + (𝒇(𝒙𝟒 )]
𝒂 𝟖
𝑏
3∗1
∫ 𝑓(𝑥) ≈ [0.34067667572 + 3(1.08200632169561)
𝑎 8
+ 3(3.285964465694861) + 9.7220345341986 ]
𝑏
∫ 𝑓(𝑥) ≈ 0.375 ∗ 23.166623572090013
𝑎
3
∫ 0.25078𝑒 𝑥 ln(𝑥 + 3.89023) 𝑑𝑥 = 𝟖. 𝟔𝟖𝟕𝟒𝟖𝟑𝟖𝟑𝟗𝟓𝟑𝟑𝟕𝟓𝟒𝟖𝟕𝟓
0
Calculamos el valor del error para definir cual el método más preciso
𝑉𝑣 − 𝑉𝑎
𝐸=| | ∗ 100%
𝑉𝑎
8.81 − 9,03
𝐸1 = | | ∗ 100% = 2,49%
8,81
8,81 − 8,59
𝐸2 = | | ∗ 100% = 2,49%
8,81
8,81 − 8,68
𝐸2 = | | ∗ 100% = 1,47%
8,81
El método mas acercado al valor real es el método Simpson 3/8
𝑏−𝑎
Tenemos n= 1,2,4,8,16 y que ℎ = 𝑛
Entonces ℎ = 4,2,1,0.5,0.25
Según el método Romberg se tiene que para
n= 1
ℎ
𝐼(𝑛) = [𝑓(𝑎) + 𝑓(𝑏)]
2
Y para n mayor a 2
𝑛−1
ℎ
𝐼 = [𝑓(𝑎) + 2 ∑ 𝑓(𝑎 + 𝑗ℎ) + 𝑓(𝑏)]
2
𝑗=1
2−1
2
𝐼(2) = [0.57 + 2 ∑ 𝑓(1.5 + 2) + 3.17] = 7,82
2
𝑗=1
4−1
1
𝐼(4) = [0.57 + 2 ∑ 𝑓(1.5 + 1) + 3.17] = 5,98
2
𝑗=1
8−1
0,5
𝐼(8) = [0.57 + 2 ∑ 𝑓(1.5 + 0,5) + 3.17] = 4,40
2
𝑗=1
16−1
0,5
𝐼(16) = [0.57 + 2 ∑ 𝑓(1.5 + 0,25) + 3.17] = 3.41
2
𝑗=1
Tenemos
4 1 16 1
Nivel 1 Nivel 2 = 3 𝐼𝑚 − 3 Nivel = 15 𝐼𝑚 − 15
1,5𝑦
∫ 0,25𝑥𝑦 2𝑧 𝑑𝑧
0,5𝑦
n=4
𝒃 − 𝒂 1,5𝑦 − 0.5𝑦 1𝑦
∆𝒙 = = =
𝒏 4 4
Procedemos a encontrar los xi:
𝑥𝑖 = 𝑎 + 𝑖∆𝑥
Reemplazando tenemos
1
𝑥0 = 0,5𝑦 + 0 ∗ ( 𝑦) = 0
4
1
𝑥1 = 0,5𝑦 + 1 ∗ ( 𝑦) = 0.75𝑦
4
1
𝑥2 = 0,5𝑦 + 2 ∗ ( 𝑦) = 1𝑦
4
1
𝑥3 = 0,5𝑦 + 3 ∗ ( 𝑦) = 1,25𝑦
4
𝑥4 = 0,5𝑦 + 4 ∗ (0,75) = 1,5𝑦
El método del trapecio esta dado por
𝑏 𝑏−𝑎
∫𝑎 𝑓(𝑥) = [𝑓(𝑥0) + 2𝑓(𝑥1) + 2𝑓(𝑥2) + ⋯ + 2𝑓(𝑥𝑛−1 ) + 𝑓(𝑥𝑛 )
2𝑛
Reemplazado tenemos
1.5
∫ 0.25𝑥𝑦ˆ2𝑧 𝑑𝑧
0.5𝑦
1.5𝑦 − 0.5𝑦
= [0,25𝑥𝑦ˆ𝑦 + 2(0,25𝑥𝑦ˆ1,5𝑦) + 2(0,25𝑥𝑦ˆ2𝑦)
2∗4
+ 2(0.25𝑥𝑦ˆ2,5𝑦) + 0,25𝑥𝑦ˆ3𝑦)
𝑦
= [0,25𝑥𝑦ˆ𝑦 + 2(0,25𝑥𝑦ˆ1,5𝑦) + 2(0,25𝑥𝑦ˆ2𝑦) + 2(0.25𝑥𝑦ˆ2,5𝑦) + 0,25𝑥𝑦ˆ3𝑦)]
8
Continuamos con la siguiente integración
2𝑥
𝑦
∫ = [0,25𝑥𝑦ˆ𝑦 + 2(0,25𝑥𝑦ˆ1,5𝑦) + 2(0,25𝑥𝑦ˆ2𝑦) + 2(0.25𝑥𝑦ˆ2,5𝑦) + 0,25𝑥𝑦ˆ3𝑦)
𝑥 8
Encontramos el intervalo
𝒃 − 𝒂 2𝑥 − 𝑥 1𝑥
∆𝒙 = = =
𝒏 4 4
Procedemos a encontrar los xi:
𝑥𝑖 = 𝑎 + 𝑖∆𝑥
Reemplazando tenemos
1
𝑥0 = 𝑥 + 0 ∗ ( 𝑥) = 𝑥
4
1
𝑥1 = 𝑥 + 1 ∗ ( 𝑥) = 0,5𝑥
4
1
𝑥2 = 𝑥 + 2 ∗ ( 𝑥) = 1,5𝑥
4
1
𝑥3 = 𝑥 + 3 ∗ ( 𝑥) = 1,75𝑥
4
1
𝑥4 = 𝑥 + 4 ∗ ( 𝑥) = 2𝑥
4
Aplicando la ecuación del trapecio tenemos nuestra nueva función
2𝑥
∫𝑥 =(x/8)*[((x/8)*(0.25*x^(x+1))+(0.5*x^((2*x)+1))+(0.5*x^((2.5*x)+1)+(2.5*x^((3*x)+1)+((x
/16)*((x^((0.5*x)+1))/8)+((x^(0.75*x)+1)/4)+(x^(x)+1)/4)+(x^(1.25*x)+1)/4)+(x^((1.5*x)+1)
)/8))+(((3*x)/16)*(((3*x^((1.5*x)+1))/8)+((3*x^((2.25*x)+1))/4)+((3*x^((2.3*x)+1))/4)+((3*x
^((3.75*x)+1))/4)+((3*x^((1.5*x)+1))/8)))+(((7*x)/32)*(((7*x^((1.75*x)+1))/16)+((7*x^((2.6*x
)+1))/8)+((7*x^((3.56*x)+1))/8)+((7*x^((4.3*x)+1))/8)+((7*x^((1.75*x)+1))/16)))+((x/4)*(((x
^((2*x)+1))/2)+(x^((3*x)+1))+(x^((4*x)+1))+(x^((5*x)+1))+((x^((6*x)+1))/2)))]
𝒃−𝒂 1−0 1
∆𝒙 = = =
𝒏 4 4
𝑥0 = 0
𝑥1 = 1/4
𝑥2 = 1/2
3
𝑥3 =
4
𝑥4 = 1
Evaluando x(0)=0
𝑓(𝑥0) = 0
Evaluando x(1)=1/4
𝑓(𝑥1) = 0,0528
Evaluando x(2)= ½
𝑓(𝑥2) = 0,1374
Evaluando x(3)=3/4
𝑓(𝑥2) = 0,3326
1 2𝑥 1,5𝑦
∫ ∫ ∫ 0,25𝑥𝑦 2𝑧 𝑑𝑧𝑑𝑦𝑑𝑥 = 1,44
0 𝑥 0,5𝑦