Ejemplo 1 A 0 B 2 Tol 0.01 Función N A B PM F (A) F (B) F (PM) Error Absoluto

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 2

Ejemplo 1

a=0 b=2 Tol = 0.01 función =

n a b pm f(a) f(b) f(pm) Error Absoluto


1 0 2 1 -1 5.3890561 0.71828183
2 0 1 0.5 -1 0.71828183 -0.3512787 0.5
3 0.5 1 0.75 -1.3934693 0.71828183 0.11700002 0.25
4 0.5 0.75 0.625 -1.3934693 0.11700002 -0.131754 0.125
5 0.625 0.75 0.6875 -1.4647386 0.11700002 -0.0112625 0.0625
6 0.6875 0.75 0.71875 -1.4971684 0.11700002 0.05186677 0.03125
7 0.6875 0.71875 0.703125 -1.4971684 0.05186677 0.02005553 0.015625
8 0.6875 0.703125 0.6953125 -1.4971684 0.02005553 0.00433533 0.0078125

y=exp(x)-2
3

0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

-1

-2
exp(x) - 2

Error relativo Respuesta x y=exp(x)-2


0 -1
1 0.2 -0.7785972
0.3333333333 0.4 -0.5081753
0.2 0.6 -0.1778812
0.0909090909 0.8 0.22554093
0.0434782609 1 0.71828183
0.0222222222 1.2 1.32011692
0.0112359551 0.6953125 1.4 2.05519997
1.6 2.95303242
1.8 4.04964746
2 5.3890561

(x)-2

1.6 1.8 2

You might also like