You are on page 1of 18

f(x)=2 cos⁡𝜋𝑥

f'(x)=−2𝜋 sin⁡𝜋𝑥
x -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6
F(x) 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034
F'(x) -3.693164 -5.975664 -5.975664 -3.693164 0.000000 3.693164 5.975664
F(x0-h) 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034
h (Central 0.200000 F(x0+h) 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034
Adelante -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340
h 0.200000 Atrás -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000
Central -3.454915 -5.590170 -5.590170 -3.454915 0.000000 3.454915 5.590170
h 0.200000
%E Adelante 73.86% 96.69% 119.51% 193.38% 0.00% 73.86% 96.69%
%E Atrás -93.38% -19.51% 3.31% 26.14% 100.00% -93.38% -19.51%
%E Central 6.45% 6.45% 6.45% 6.45% 100.00% 6.45% 6.45%

8.000000

6.000000

4.000000

2.000000

0.000000
-1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8
-2.000000

-4.000000

-6.000000

-8.000000
-0.4 -0.2 0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6
0.618034 1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034
5.975664 3.693164 0.000000 -3.693164 -5.975664 -5.975664 -3.693164 0.000000 3.693164 5.975664 5.975664
-0.618034 0.618034 1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034
1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034 1.618034
5.000000 1.909830 -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340 5.000000
6.180340 5.000000 1.909830 -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340
5.590170 3.454915 0.000000 -3.454915 -5.590170 -5.590170 -3.454915 0.000000 3.454915 5.590170 5.590170

119.51% 193.38% 0.00% 73.86% 96.69% 119.51% 193.38% 0.00% 73.86% 96.69% 119.51%
3.31% 26.14% 100.00% -93.38% -19.51% 3.31% 26.14% 100.00% -93.38% -19.51% 3.31%
6.45% 6.45% #DIV/0! 6.45% 6.45% 6.45% 6.45% 100.00% 6.45% 6.45% 6.45%

8.000000

6.000000

4.000000

2.000000
F'(x)
Adelante 0.000000
8 1.0 1.2 1.4 1.6 1.8 Atrás -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6
Central -2.000000

-4.000000

-6.000000

-8.000000
1.8
1.618034
3.693164
0.618034
2.000000
1.909830
5.000000
3.454915

193.38%
26.14%
6.45%

F'(x)
.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 Central
f(x)=2 cos⁡𝜋𝑥

f'(x)=−2𝜋 sin⁡𝜋𝑥

x -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6


F(x) 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034
F'(x) -3.693164 -5.975664 -5.975664 -3.693164 0.000000 3.693164 5.975664
F(x0-h) 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034
h (Central 0.2000000 F(x0+h) 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034
Adelante -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340
h(Atrás) 0.2000000 Atrás -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000
Central -3.454915 -5.590170 -5.590170 -3.454915 0.000000 3.454915 5.590170
h 0.2000000
%E Adelante 73.86% 96.69% 119.51% 193.38% 0.00% 73.86% 96.69%
%E Atrás 48% 16% 3% 35% ### 48% 16%
%E Central -6.90% -6.90% -6.90% -6.90% #DIV/0! -6.90% -6.90%

8.000000

6.000000

4.000000

2.000000
F
A
0.000000
-1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 A
C
-2.000000

-4.000000

-6.000000

-8.000000
-0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6
0.618034 1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034
5.975664 3.693164 0.000000 -3.693164 -5.975664 -5.975664 -3.693164 0.000000 3.693164 5.975664 5.975664
-0.618034 0.618034 1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034
1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034 1.618034
5.000000 1.909830 -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340 5.000000
6.180340 5.000000 1.909830 -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340
5.590170 3.454915 0.000000 -3.454915 -5.590170 -5.590170 -3.454915 0.000000 3.454915 5.590170 5.590170

119.51% 193.38% 0.00% 73.86% 96.69% 119.51% 193.38% 0.00% 73.86% 96.69% 119.51%
3% 35% #DIV/0! 48% 16% 3% 35% ### 48% 16% 3%
-6.90% -6.90% #DIV/0! -6.90% -6.90% -6.90% -6.90% #DIV/0! -6.90% -6.90% -6.90%

8.000000

6.000000

4.000000

2.000000
F'(x)
Adelante
0.000000
1.2 1.4 1.6 1.8 Atrás -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8
Central
-2.000000

-4.000000

-6.000000

-8.000000
1.8
1.618034
3.693164
0.618034
2.000000
1.909830
5.000000
3.454915

193.38%
35%
-6.90%

F'(x)
0.6 0.8 1.0 1.2 1.4 1.6 1.8 Atrás
f(x)=2 cos⁡𝜋𝑥

f'(x)=−2𝜋 sin⁡𝜋𝑥

x -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4


F(x) 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034
F'(x) -3.693164 -5.975664 -5.975664 -3.693164 0.000000 3.693164 5.975664 5.975664
F(x0-h) 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034
h (Central 0.2 F(x0+h) 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034 1.618034
Adelante -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340 5.000000
h(Atrás) 0.2 Atrás -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340
Central -3.454915 -5.590170 -5.590170 -3.454915 0.000000 3.454915 5.590170 5.590170
h 0.2
%E Adelante 35% 3% 16% 48% ### 35% 3% 16%
%E Atrás -93.38% -19.51% 3.31% 26.14% 100.00% -93.38% -19.51% 3.31%
%E Central -6.90% -6.90% -6.90% -6.90% #DIV/0! -6.90% -6.90% -6.90%

8.000000

6.000000

4.000000

2.000000
F'(x)
Adelante
0.000000
-1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 Atrás
Central
-2.000000

-4.000000

-6.000000

-8.000000
-0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6
1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034
3.693164 0.000000 -3.693164 -5.975664 -5.975664 -3.693164 0.000000 3.693164 5.975664 5.975664
0.618034 1.618034 2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034
2.000000 1.618034 0.618034 -0.618034 -1.618034 -2.000000 -1.618034 -0.618034 0.618034 1.618034
1.909830 -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340 5.000000
5.000000 1.909830 -1.909830 -5.000000 -6.180340 -5.000000 -1.909830 1.909830 5.000000 6.180340
3.454915 0.000000 -3.454915 -5.590170 -5.590170 -3.454915 0.000000 3.454915 5.590170 5.590170

48% #DIV/0! 35% 3% 16% 48% ### 35% 3% 16%


26.14% 100.00% -93.38% -19.51% 3.31% 26.14% 100.00% -93.38% -19.51% 3.31%
-6.90% #DIV/0! -6.90% -6.90% -6.90% -6.90% #DIV/0! -6.90% -6.90% -6.90%

8.000000

6.000000

4.000000

2.000000
F'(x)
Adelante
0.000000
4 1.6 1.8 Atrás -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8
Central
-2.000000

-4.000000

-6.000000

-8.000000
1.8
1.618034
3.693164
0.618034
2.000000
1.909830
5.000000
3.454915

48%
26.14%
-6.90%

F'(x)
0.8 1.0 1.2 1.4 1.6 1.8 Adelante
Trapecio Compuesto
∫24_0^(𝜋/2)▒ 〖
(1+𝑥^2 ) 𝑑𝑥≅(𝑏
Simpson+𝑓(𝑏))/2
1/3 Simple 〗
a
b
0.000000
1.570796 ∫24_0^(𝜋/2)▒ 〖
n
h
6.000000
0.261799
+2∑24_(𝑘=1)^(𝑛
k a+k*h f(a+k*h)
0 0.000000 0.000000
1 0.261799 0.242218
2 0.523599 0.392417
3 0.785398 0.437336
4 1.047198 0.413057
5 1.308997 0.355974
6 1.570796 0.288400

Valor E
Trapecio Simple 0.226509 57.02%
Trapecio Compuesto 0.519725 1.38%
Analitica 0.526979
4_0^(𝜋/2)▒ 〖 sin⁡𝑥/
+𝑥^2 ) 𝑑𝑥≅(𝑏−𝑎) (𝑓(𝑎)
(𝑏))/2 〗
^(𝜋/2)▒ 〖 sin⁡𝑥/(1+𝑥^2 ) 𝑑𝑥≅((𝑏−𝑎))/2𝑛 [𝑓(𝑎)
4_(𝑘=1)^(𝑛−1)▒ 〖𝑓 (𝑎+𝑘ℎ)+𝑓(𝑏) 〗 ] 〗
𝑎)
Simpson 1/3 Simple
∫24_0^(𝜋/2)▒ 〖 sin⁡𝑥/(1+𝑥^2 )
[𝑓(𝑎)+4𝑓((𝑎+𝑏)/2)+𝑓(𝑏)] 〗
Simpson 1/3 Compuesto
a 0.000000 ∫24_0^(𝜋/2)▒ 〖 sin⁡𝑥/(1+
b 1.570796
n 6.000000 +2∑24_(𝑗=1)^(𝑛/2−1)▒
h 0.261799
+4∑_(𝑗=1)^(𝑛/2)▒ 〖𝑓 (𝑥
k a+k*h f(a+k*h)
0 0.000000 0.000000
1 0.261799 0.242218
2 0.523599 0.392417
3 0.785398 0.437336
4 1.047198 0.413057
5 1.308997 0.355974
6 1.570796 0.288400

Valor E
Simpson 1/3 Simple 0.533480 1.23%
Simpson 1/3 Compuesto 0.527217 0.05%
Analitica 0.526979
▒ 〖 sin⁡𝑥/(1+𝑥^2 ) 𝑑𝑥≅((𝑏−𝑎))/6
+𝑏)/2)+𝑓(𝑏)] 〗

2)▒ 〖 sin⁡𝑥/(1+𝑥^2 ) 𝑑𝑥≅ℎ/3 [𝑓(𝑎)


=1)^(𝑛/2−1)▒ 〖𝑓 (𝑥2𝑗)
)^(𝑛/2)▒ 〖𝑓 (𝑥2𝑗−1)+𝑓(𝑏) 〗〗 ] 〗
Trapecio Compuesto
∫24_0^(𝜋/2)▒ 〖 sin⁡𝑥
+3𝑓(𝑥1)+3𝑓(𝑥2)+𝑓
Simpson 1/3 Simple
a
b
0.000000
1.570796 ∫24_0^(𝜋/2)▒ 〖
n
h
6.000000
0.261799
+2∑24_(𝑘=1)^(𝑛
k a+k*h f(a+k*h)
0 0.000000 0.000000
1 0.261799 0.242218
2 0.523599 0.392417
3 0.785398 0.437336
4 1.047198 0.413057
5 1.308997 0.355974
6 1.570796 0.288400
Valor E
Simpson 3/8 Simple 0.570533 8.26%
Simpson 3/8 Compuesto
Analitica 0.526979
(𝜋/2)▒ 〖 sin⁡𝑥/(1+𝑥^2 ) 𝑑𝑥≅3ℎ/8 [𝑓(𝑎)
)+3𝑓(𝑥2)+𝑓(𝑏)] 〗

^(𝜋/2)▒ 〖 sin⁡𝑥/(1+𝑥^2 ) 𝑑𝑥≅((𝑏−𝑎))/2𝑛 [𝑓(𝑎)


4_(𝑘=1)^(𝑛−1)▒ 〖𝑓 (𝑎+𝑘ℎ)+𝑓(𝑏) 〗 ] 〗
𝑎)

You might also like