Está en la página 1de 10

18.

1 Estime el logaritmo de 10 por medio de interpolación lineal


a) interpolación entre 8 = 0. 9030900 𝑦 log 𝑙𝑜𝑔 12 = 1. 0791812

b) interpolación entre log 𝑙𝑜𝑔 9 = 0. 9542425 𝑦 log 𝑙𝑜𝑔 11 = 1. 0413927

Para cada una de las interpolaciones calcule el error relativo porcentual con base a el valor
verdadero.

a) 𝑓(𝑥0) = 0. 9030900 𝑦 𝑓(𝑥𝑖) = 1. 0791812 𝑥 = 10


1.0791812−0.9030900(2)
𝑓(10) = 0. 9030900 + 2

𝑓(10) = 1. 0791812

𝐸𝑡 = 7. 91812 %

b) 𝑓(𝑥0) = 0. 9542425 𝑦 𝑓(𝑥𝑖) = 1. 0413927 𝑥 = 10


1.0413927−0.9542425(1)
𝑓(10) = 0. 9542425 + 1

𝑓(10) = 1. 0413927

𝐸𝑡 = 4. 13927 %

18.2

Ajuste un polinomio de interpolacion de Newton de segundo orden para estimar log10,


con los datos siguientes.

Log 8 0.9030900
Log 9 0.9542425
Log 11 1.10413927
Log 12 1.10791812
𝑏0 = 𝑓(0) = 0. 9030900

[ ]
𝑏1 = 𝑓 𝑥1, 𝑥0 =
0.9542425−0.9030900
9−8
=
0.0511525
1
= 0. 0511525

1.0413927−0.9542425
−0.0511525
[ ]
𝑏2 = 𝑓 𝑥2, 𝑥1, 𝑥0 = 11−9
11−9
=
0.0435751−0.0511525
3
=− 0. 0025258

( )
𝑓2(𝑥) = 𝑏0 + 𝑏1 𝑥 − 𝑥0 + 𝑏2(𝑥 − 𝑥0)(𝑥 − 𝑥1)

𝑓2(𝑥) = 0. 9 + 0. 511525(𝑥 − 8) − 0. 0025258(𝑥 − 8)(𝑥 − 9)

𝑓2(10) = 0. 9 + 0. 511525(10 − 8) − 0. 0025258(10 − 8)(10 − 9)

𝑓2(𝑥) = 0. 9 + 1. 02305 − 0. 0050516 = 1. 9210884

18.3
Ajuste un polinomio de interpolacion de Newton de tercer orden para estimar log 10 con
los datos del problema 18.1

𝑥0 = 8, 𝑥1 = 9, 𝑥2 = 11, 𝑥3 = 12

𝑏0 = 0. 903089987

0.9542425−0.903089987
𝑏1 = 1
= 0. 051152522

0.100335347−0.051152522
𝑏2 = 2
= 0. 016394275

−3
−4.441323337𝑥10 −0.016394275 −3
𝑏3 = 4
=− 5. 20889958𝑥10

−3
𝑓3(𝑥) =0. 903089987 + 0. 051152522(2) + 0. 016394275(2)(1) +− 5. 20889958𝑥10
(2)(1)(-1)

𝑓3(𝑥) = 1. 04860138

18.4
dados los datos

X 1.6 2 2.5 3.2 4 4.5


F(x) 2 8 14 15 8 2
a) Calcule f (2.8) con el uso de polinomios de interpolación de Newton de órdenes 1 a 3. Elija la
secuencia de puntos más apropiada para alcanzar la mayor exactitud posible para sus
estimaciones.

8−2
𝑓1(2. 8) = 2 + 2−1.6
(2. 8 − 1. 6) = 20

14−8 8−2
8−2 2.5−2
− 2−1.6
𝑏0 = 2 𝑏1 = 2−1.6
= 15 𝑏2 = 2.5−1.6
=− 3. 3333

𝑓2(2. 8) = 2 + 15(2. 8 − 1. 6) − 3. 3333(2. 8 − 1. 6)(2. 8 − 2) = 16. 80

15−14 14−8 14−8 8−2


3.2−2.5
− 2.5−2 2.5−2
− 2−1.6
3.2−2
− 2.5−1.6
𝑏3 = 3.2−1.6
=− 3. 4226

𝑓3(2. 8) = 16. 80 − 3. 4226(2. 8 − 1. 6)(2. 8 − 2)(2. 8 − 2. 5) = 15. 81

18.5 Calcule f(4) con el uso de polinomios de interpolación de Newton de órdenes de 1 a 4. Elija
los puntos base para obtener una buena exactitud. ¿Qué indican los resultados en relación con el
orden del polinomio que se emplea para generar los datos de la tabla?

x 1 2 3 5 7
f(x) 3 6 19 99 291

x0 = 1; b0 = 3

x1 = 2; b1 = 3; f1(4)= 12

x2 = 3; b2 = 5; f2(4) = 42

x3 = 4; b3 = 1; f3(4) = 48

x4 = 7; b4 = 0; f4(4) = 48

18.6 Repita los problemas 18.1 a 18.3 con el empleo del polinomio de Lagrange
18.1 𝑥𝑜 = 8 𝑓(𝑥0) = 0. 9030900 𝑥 = 10

𝑥1 = 12 𝑓(𝑥𝑖) = 1. 0791812
−2 2
a) 𝑓(𝑥1) = −4
(0. 9030900) + 4
(1. 0791812)
𝑓(𝑥1) = 0. 9911356

𝐸𝑡 = 0. 88644%

b)𝑥 = 10

𝑥0 = 0 𝑓(𝑥0) = 0. 9542425

𝑥1 = 11 𝑓(𝑥1) = 1. 0413927
−1 1
𝑓(𝑥1) = −4
(0. 9542425) + 4
(1. 0413927)

𝑓(𝑥1) = 0. 997817597

𝐸𝑡 = 0. 2182403%

18.2 Estimar el log 10 con el polinomio de segundo orden.

𝑥 = 10

𝑥0 = 8 𝑓(𝑥0) = 0. 9030900

𝑥1 = 9 𝑓(𝑥1) = 0. 9542425

𝑥2 = 11 𝑓(𝑥2) = 1. 0413927
−1(1) (2)(−1) (2)(1)
𝑓2(𝑥) = −3(−1)
(0. 9030900) + (1)(−2)
(0. 9542425) + (3)(2)
(1. 0413927)

𝑓2(𝑥) = 1. 0003434

𝐸𝑡 = 0. 03454 %
18.3 Estimar el log con el polinomio de tercer orden.

𝑥 = 10

𝑥0 = 8 𝑓(𝑥0) = 0. 9030900

𝑥1 = 9 𝑓(𝑥1) = 0. 9542425

𝑥2 = 11 𝑓(𝑥2) = 1. 0413927

𝑥3 = 12 𝑓(𝑥3) = 1. 0791812

(1)(−1)(−2) (2)(−1)(−2) (2)(1)(−1)


𝑓3(𝑥) = (−1)(3)(−4)
(0. 90309) + (1)(−2)(−3)
(1. 0413927) + (4)(3)(1)
(1. 0791812)

𝑓3(𝑥) = 1. 000073056

𝐸𝑡 = 0. 0073053%

18.7

Vuelve hacer el problema 18.5 con el uso de polinomios de Lagrange de ordenes 1 a 3. X=4

x F(x)
1 3
2 6
3 19
5 99
7 291
8 444
4−2 4−1
𝑓1(4) = 1−2
(3) + 2−1
(6) =− 6 + 18 = 12

(4−2)(4−3) (4−1)(4−3) (4−1)(4−2)


𝑓2(4) = (1−2)(1−3)
(3) + (2−1)(2−3)
(6) + (3−1)(3−2)
(19) = 3 − 18 + 57 = 42

(4−2)(4−3)(4−5) (4−1)(4−3)(4−5) (4−1)(4−2)(4−5) (4−1)(4−2)(4−3)


𝑓3(4) = (1−2)(1−3)(1−5)
(3) + (2−1)(2−3)(2−5)
(6) + (3−1)(3−2)(3−5)
(19) + (5−1)(5−2)(5−3)
(99) = 48

18.8

Emplee interpolación inversa con el uso de un polinomio de interpolación cúbico y de


bisección para determinar el valor de x que corresponde a 𝑓(𝑥) = 0. 23, para los datos
tabulados:

X 2 3 4 5 6 7
F(x) 0.5 0.3333 0.25 0.2 0.1667 1.1429

𝑥0 = 3, 𝑥1 = 4, 𝑥2 = 5, 𝑥3 = 6
𝑏0 = 0. 3333
0.25−0.3333
𝑏1 = 4−3
=− 0. 0833
−0.05+0.0833
𝑏2 = 5−3
= 0. 02915
0.00835−0.02915
𝑏3 = 6−3
=− 0. 00693
𝑓3(𝑥) = 0. 3333 − 0. 0833(𝑥 − 3) + 0. 02915(𝑥 − 3)(𝑥 − 4) − 0. 00693(𝑥 − 3)(𝑥 − 4)(𝑥 − 5)
2 3
𝑓3(𝑥) = 1. 3488 − 0. 91306𝑥 + 0. 11231𝑥 − 0. 00693𝑥

𝑓(𝑥) = 0. 23

2 3
1. 1188 − 0. 91306𝑥 + 0. 11231𝑥 − 0. 00693𝑥 = 0

Por biseccion:

𝑥𝑙 = 4, 𝑥𝑢 = 5
4+5
𝑥𝑟 = 2
= 4. 5
(𝑓(𝑥𝑙))(𝑓(𝑥𝑢)) = 0. 05
4.5−5
𝑥𝑟 = 2
= 4. 75
(𝑓(𝑥𝑙))(𝑓(𝑥𝑢)) = 0. 00056
4.75−5
𝑥𝑟 = 2
= 4. 875
(𝑓(𝑥𝑙))(𝑓(𝑥𝑢)) =− 0. 00073
4.75−4.875
𝑥𝑟 = 2
= 4. 8125

𝑥 = 4. 8125

18.9

Utilice la interpolación inversa para determinar el valor de x que corresponde a f(x)=0.85,


para los datos tabulados siguientes:

X 0 1 2 3 4 5
F(x) 0 0.5 0.8 0.9 0.941176 0.961538

Observe que los valores de la tabla se generaron con la función f(x)=x2/(1+x2)

2
(0.85)
𝑓(0. 85) = 2 =0.41944
1+(0.85)

0.9−0.8 0.8−0.5
0.8−0.5 3−2
− 2−1
𝑏0 = 0. 5 𝑏1 = 2−1
= 0. 3 𝑏2 = 3−1
=− 0. 1

𝑓2(2. 8) = 0. 5 + 0. 3(0. 85 − 1) − 0. 1(0. 85 − 1)(0. 85 − 2) = 0. 43775

0.941176−0.9 0.9−0.8 0.9−0.8 0.8−0.5


4−3
− 3−2 3−2
− 2−1
4−2
− 3−1
𝑏3 = 4−1
= 0. 02352
𝑓3(2. 8) = 0. 43775 + 0. 02352(0. 85 − 1)(0. 85 − 2)(0. 85 − 3) = 0. 4290

Ejercicio: 18.10
Desarrolle trazadores cuadráticos para los cinco primeros datos del problema 18.4,
y pronostique f(3.4) y f(2.2).

i x f(x)
0 1 1
1 2 5
2 2.5 7
3 3 8
4 4 2

4a11 + 2b1 + c11 = 4a2 + 2b2 + c2 = 5


6.25a2 + 2.5b2 + c2 = 7
6.25a3 + 2.5b3 + c3 = 7
9a3 + 3b3 + c3 = 8
9a4 + 3b4 + c4 = 8

a1 + b1 + c1 = 1
16a4 + 4b4 + c4 = 2

4a1 + b1 = 4a2 + b2
5a2 + b2 = 5a3 + b3
6a3 + b3 = 6a4 + b4
a1 = 0 a2 = 0 a3 = 4 a4 = −6
b1 = 4 b2 = 4 b3 = 24 b4 = 36
c1 = −3 c2 = −3 c3 = −28 c4 = −46

f3(3.4) = −6(3.4)2 + 36(3.4) − 46 = 7.04 f3(2.5) = −4(2.2)2 + 24(2.2) − 28 = 5.44

18.11 Obtenga trazadores cúbicos para los datos del problema 18.5 y a) pronostique f(4)
y f(2.5), y b) verifique que f2(3) y f3(3) = 19.

𝑥0 = 1 (𝑥0) = 4.75

𝑥1 = 2 (𝑥1) = 4

𝑥2 = 3 (𝑥2) = 5.25

𝑥3 = 5 (𝑥3) = 19 75
𝑥4 = 6 (𝑥4) = 36

𝑃𝑎𝑟𝑎 𝑖 = 1

4𝑓′′(2) + 𝑓 (3) = 12

𝑓′′(1) = 0

𝑃𝑎𝑟𝑎 𝑖 = 2

𝑓′′(2) + 6𝑓′′(3) + 2𝑓′′(4) = 36

𝑃𝑎𝑟𝑎 𝑖 = 3

18.12

Determine los coeficientes de la parábola que pasa por los últimos 3 puntos del problema 18.4

x F(x)
3.2 15
4 8
4.5 2

𝑏0 = 𝑓(0) = 15

[
𝑏1 = 𝑓 𝑥1, 𝑥0 = ] 8−15
4−3.2
=−
7
0.8
=− 8. 75

2−8
+8.75
[
𝑏2 = 𝑓 𝑥2, 𝑥1, 𝑥0 = ] 4.5−4
4.5−3.2
=
−12+8.75
1.3
=− 2. 5

( )
𝑓2(𝑥) = 𝑏0 + 𝑏1 𝑥 − 𝑥0 + 𝑏2(𝑥 − 𝑥0)(𝑥 − 𝑥1)

𝑓2(𝑥) = 15 − 8. 75(𝑥 − 3. 2) − 2. 5(𝑥 − 3. 2)(𝑥 − 4)

𝑓2(𝑥) = 15 − 8. 75(2. 8 − 3. 2) − 2. 5(2. 8 − 3. 2)(2. 8 − 4)

𝑓2(𝑥) = 15 + 3. 5 − 1. 2 = 17. 3
18.17

En el problema 18.4 y 18.5 utilice los datos para desarrollar polinomios de primero a quinto grado.

X 1.6 2 2.5 3.2 4 4.5


F(x) 2 8 14 15 8 2

X 1 2 3 5 7 8
F(x) 3 6 19 99 291 444

(15−14) 1
𝑚𝑖 = 3.2−2.5
= 0.7
= 1. 43

𝑓1(3) = 2 + (1. 43)(3 − 1. 6) = 4. 002

𝑓2(3) = 8 + (1. 43)(3 − 2) = 9. 43

𝑓3(3) = 14 + (1. 43)(3 − 2. 5) = 14. 715

𝑓4(3) = 15 + (1. 43)(3 − 3. 2) = 14. 714

𝑓5(3) = 8 + (1. 43)(3 − 4) = 6. 57

5 4 3 2
𝑓𝑖(3) = 𝑎𝑖(6. 57) + 𝑏𝑖(14. 714) + 𝑐𝑖(14. 715) + 𝑑𝑖(9. 43) + 𝑒𝑖(4. 002)

(99−19) 80
𝑚𝑖 = 5−3
= 2
= 40

𝑓1(4) = 3 + (40)(4 − 1) = 123

𝑓2(4) = 6 + (40)(4 − 2) = 86

𝑓3(4) = 19 + (40)(4 − 3) = 59

𝑓4(4) = 99 + (40)(4 − 5) = 59

𝑓5(4) = 291 + (40)(4 − 7) = 171

5 4 3 2
𝑓𝑖(4) = 𝑎𝑖(171) + 𝑏𝑖(59) + 𝑐𝑖(59) + 𝑑𝑖(86) + 𝑒𝑖(123)

18.18

Tiempo, s Velocidad media v,


cm/s
1 800

3 2310

5 3090

7 3940

13 4755

𝑥0 = 1, 𝑥1 = 13
(10−3) (10−1)
𝑓1(𝑥) = (1−3)
(800) + (3−1)
(2310) = 7595

𝑥0 = 1, 𝑥1 = 3, 𝑥2 = 13
(10−3)(10−5) (10−1)(10−5) (10−1)(10−3)
𝑓2(𝑥) = (1−3)(1−5)
(800) + (3−1)(3−5)
(2310) + (5−1)(5−3)
(3090) = 1846. 25

𝑥0 = 1, 𝑥1 = 3, 𝑥2 = 5, 𝑥3 = 13
(10−3)(10−5)(10−7) (10−1)(10−5)(10−7) (10−1)(10−3)(10−7) (10−1)(10−3)(10−5)
𝑓3(𝑥) = (1−3)(1−5)(1−7)
(800) + (3−1)(3−5)(3−7)
(2310) + (5−1)(5−3)(5−7)
(3090) + (7−1)(7−3)(7−5)
(3

𝑥0 = 1, 𝑥1 = 3, 𝑥2 = 5, 𝑥3 = 7, 𝑥4 = 13
(10−3)(10−5)(10−7)(10−13) (10−1)(10−5)(10−7)(10−13) (10−1)(10−3)(10−7)(10−13)
𝑓3(𝑥) = (1−3)(1−5)(1−7)(1−13)
(800) + (3−1)(3−5)(3−7)(3−13)
(2310) + (5−1)(5−3)(5−7)(5−13)
(3090)
(10−1)(10−3)(10−5)(10−13) (10−1)(10−5)(10−7)(10−3)
+ (7−1)(7−3)(7−5)(7−13)
(3940) + (13−1)(13−5)(13−7)(13−3)
(4755) = 5576. 02864

18.25

Use la porción de la mesa de vapor glven para H2O sobrecalentado a 200 MPa para a)
encontrar la entropía correspondiente para un volumen específico de 0.108 m3/Kg con
interpolación lineal. b) encontrar la misma entropía correspondiente usando interpolación
cuadrática y c) encontrar el volumen correspondiente a una entropía de 6.6 usando
interpolación inversa.

V(m3/Kg) 0.10377 0.11144 0.1254


S(Kj/Kg*K) 6.4147 6.5453 6.7664

6.5453−6.4147
𝑓1(6. 6) = 0. 108 + 0.11144−0.10377
(0. 108 − 0. 10377) = 6. 6910

6.5453−6.4147
𝑏0 = 6. 4147 𝑏1 = 0.11144−0.10377
= 17. 02

6.7664−6.5453 6.5453−6.4147
0.1254−0.1114
− 0.11144−0.10377
𝑏2 = 0.1254−0.10377
=− 54. 98

𝑓2(6. 6) = 6. 4147 + 17. 02(6. 6 − 6. 4147) − 54. 98(6. 6 − 6. 4147)(6. 6 − 6. 5453) = 6. 03


2
− 54. 98𝑥 + 28. 8522𝑥 − 2. 5869 = 0

2
−28.8522± (28.8522) −4(−54.98)(−2.5864)
𝑥= 2(−54.98)
𝑥1 = 0. 4100 𝑥2 = 0. 1147

18.28

Los siguientes datos definen la concentración de oxígeno disuelto a nivel del mar para el
agua dulce en función de la temperatura.

T℃ 0 8 16 24 32 40
F(x), mg/L 14.621 11.843 9.870 8.418 7.305 6.413

Estime f (27) a) utilizando interpolación lineal, b)polinomio de interpolación de newton.Tenga en


cuenta que el resultado exacto es 7.986 mg / L.

8.418−9.87
𝑓1(27) = 9. 87 + 24−16
(27 − 16) = 7. 8735

8.418−9.87
𝑏0 = 9. 87 𝑏1 = 24−16
=− 0. 1815

7.305−8.418 8.418−9.87
32−24
− 24−16
𝑏2 = 32−16
= 0. 002648

𝑓2(27) = 9. 87 − 0. 1815(27 − 16) + 0. 002648(27 − 16)(27 − 24) = 7. 960

También podría gustarte