SlideShare a Scribd company logo
1 of 2
DIFERENCIAS FINITAS
Elija el método de entrada:
1. Ingresar entrada por medio del teclado
2. Ingresar datos desde un archivo de texto
3. Generar datos unsando una función F
Escoja 1, 2, o 3 por favor
1
Ingrese n
7
Ingrese X(0) y F(X(0)) en lÃneas separadas
0.10
11
Ingrese X(1) y F(X(1)) en lÃneas separadas
0.13
8.6923
Ingrese X(2) y F(X(2)) en lÃneas separadas
0.16
7.25
Ingrese X(3) y F(X(3)) en lÃneas separadas
0.19
6
Ingrese X(4) y F(X(4)) en lÃneas separadas
0.22
4.8462
Ingrese X(5) y F(X(5)) en lÃneas separadas
0.25
3.5
Ingrese X(6) y F(X(6)) en lÃneas separadas
0.28
4.1250
Ingrese X(7) y F(X(7)) en lÃneas separadas
0.31
3
Ingrese valor a interpolar:
0.20
POLINOMIO DE INTERPOLACION DE DIF. FINITAS
Datos de entrada:
X(0) = 0.10000000 F(X(0)) = 11.00000000
X(1) = 0.13000000 F(X(1)) = 8.69230000
X(2) = 0.16000000 F(X(2)) = 7.25000000
X(3) = 0.19000000 F(X(3)) = 6.00000000
X(4) = 0.22000000 F(X(4)) = 4.84620000
X(5) = 0.25000000 F(X(5)) = 3.50000000
X(6) = 0.28000000 F(X(6)) = 4.12500000
X(7) = 0.31000000 F(X(7)) = 3.00000000
********* MATRIZ ********
11.00000000
8.69230000 -2.30770000
7.25000000 -1.44230000 0.86540000
6.00000000 -1.25000000 0.19230000 -0.67310000
4.84620000 -1.15380000 0.09620000 -0.09610000 0.57700000
3.50000000 -1.34620000 -0.19240000 -0.28860000 -0.19250000 -0.76950000
4.12500000 0.62500000 1.97120000 2.16360000 2.45220000 2.64470000
3.41420000
3.00000000 -1.12500000 -1.75000000 -3.72120000 -5.88480000 -8.33700000
-10.98170000 -14.39590000
POLINOMIO:
s= 3.33333333
Y0= 1.00000000
P0= 11.00000000
Y(1)= 1.00000000( 3.33333333-0)/1 = 3.33333333
P(1)= 11.00000000+ -2.30770000( 3.33333333) = 3.30766667
Y(2)= 3.33333333( 3.33333333-1)/2 = 3.88888889
P(2)= 3.30766667+ 0.86540000( 3.88888889) = 6.67311111
Y(3)= 3.88888889( 3.33333333-2)/3 = 1.72839506
P(3)= 6.67311111+ -0.67310000( 1.72839506) = 5.50972840
Y(4)= 1.72839506( 3.33333333-3)/4 = 0.14403292
P(4)= 5.50972840+ 0.57700000( 0.14403292) = 5.59283539
Y(5)= 0.14403292( 3.33333333-4)/5 = -0.01920439
P(5)= 5.59283539+ -0.76950000( -0.01920439) = 5.60761317
Y(6)= -0.01920439( 3.33333333-5)/6 = 0.00533455
P(6)= 5.60761317+ 3.41420000( 0.00533455) = 5.62582640
Y(7)= 0.00533455( 3.33333333-6)/7 = -0.00203221
P(7)= 5.62582640+-14.39590000( -0.00203221) = 5.65508190

More Related Content

Viewers also liked

AVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin Shorter
AVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin ShorterAVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin Shorter
AVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin Shorteralastair Clark
 
Evaluacion De Los Aprendizajes
Evaluacion De Los AprendizajesEvaluacion De Los Aprendizajes
Evaluacion De Los AprendizajesDiegoVillada
 
Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_
Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_
Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_Aaron Pascual
 
Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...
Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...
Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...battery998
 
Balonmno Jumilla Plantilla 2009 10
Balonmno Jumilla Plantilla 2009 10Balonmno Jumilla Plantilla 2009 10
Balonmno Jumilla Plantilla 2009 10elsordo
 
Educacion para la salud
Educacion para la saludEducacion para la salud
Educacion para la saluditzelcalete
 
徐景春:企业级开源数据库灾备体系
徐景春:企业级开源数据库灾备体系徐景春:企业级开源数据库灾备体系
徐景春:企业级开源数据库灾备体系XMourinho
 
Alejandra soscue java
Alejandra soscue javaAlejandra soscue java
Alejandra soscue javaaleyandra
 
Examen final computacion basica
Examen final computacion basicaExamen final computacion basica
Examen final computacion basicadiego hinojosa
 
2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressed
2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressed2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressed
2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressedJosé Jiménez Benito MBA
 

Viewers also liked (20)

AVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin Shorter
AVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin ShorterAVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin Shorter
AVon der Informationsubermittlung zum Wissensaufbau.lastair C Berlin Shorter
 
Construcción de un Parque
Construcción de un ParqueConstrucción de un Parque
Construcción de un Parque
 
q
qq
q
 
Evaluacion De Los Aprendizajes
Evaluacion De Los AprendizajesEvaluacion De Los Aprendizajes
Evaluacion De Los Aprendizajes
 
Eco R Ipptfinal
Eco R IpptfinalEco R Ipptfinal
Eco R Ipptfinal
 
Survival Horror
Survival Horror
Survival Horror
Survival Horror
 
Ramadan
RamadanRamadan
Ramadan
 
Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_
Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_
Plantilla para lectura_ritmica_a_2_voces_-_lmb_prolongacion_
 
Trabajo práctico nº
Trabajo práctico nºTrabajo práctico nº
Trabajo práctico nº
 
Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...
Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...
Dell t1 g6p prw6g baterías compatible de dell vostro v13 series baterías de p...
 
Balonmno Jumilla Plantilla 2009 10
Balonmno Jumilla Plantilla 2009 10Balonmno Jumilla Plantilla 2009 10
Balonmno Jumilla Plantilla 2009 10
 
Educacion para la salud
Educacion para la saludEducacion para la salud
Educacion para la salud
 
Regresión
RegresiónRegresión
Regresión
 
UC_logo
UC_logoUC_logo
UC_logo
 
徐景春:企业级开源数据库灾备体系
徐景春:企业级开源数据库灾备体系徐景春:企业级开源数据库灾备体系
徐景春:企业级开源数据库灾备体系
 
Comparacion bdr bdoo
Comparacion bdr bdooComparacion bdr bdoo
Comparacion bdr bdoo
 
Alejandra soscue java
Alejandra soscue javaAlejandra soscue java
Alejandra soscue java
 
Examen final computacion basica
Examen final computacion basicaExamen final computacion basica
Examen final computacion basica
 
PresmaríA
PresmaríAPresmaríA
PresmaríA
 
2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressed
2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressed2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressed
2016_08_01 VISUAL Excel parte 3_05 NO DATOS.compressed
 

Problema3

  • 1. DIFERENCIAS FINITAS Elija el método de entrada: 1. Ingresar entrada por medio del teclado 2. Ingresar datos desde un archivo de texto 3. Generar datos unsando una función F Escoja 1, 2, o 3 por favor 1 Ingrese n 7 Ingrese X(0) y F(X(0)) en lÃneas separadas 0.10 11 Ingrese X(1) y F(X(1)) en lÃneas separadas 0.13 8.6923 Ingrese X(2) y F(X(2)) en lÃneas separadas 0.16 7.25 Ingrese X(3) y F(X(3)) en lÃneas separadas 0.19 6 Ingrese X(4) y F(X(4)) en lÃneas separadas 0.22 4.8462 Ingrese X(5) y F(X(5)) en lÃneas separadas 0.25 3.5 Ingrese X(6) y F(X(6)) en lÃneas separadas 0.28 4.1250 Ingrese X(7) y F(X(7)) en lÃneas separadas 0.31 3 Ingrese valor a interpolar: 0.20 POLINOMIO DE INTERPOLACION DE DIF. FINITAS Datos de entrada: X(0) = 0.10000000 F(X(0)) = 11.00000000 X(1) = 0.13000000 F(X(1)) = 8.69230000 X(2) = 0.16000000 F(X(2)) = 7.25000000 X(3) = 0.19000000 F(X(3)) = 6.00000000 X(4) = 0.22000000 F(X(4)) = 4.84620000 X(5) = 0.25000000 F(X(5)) = 3.50000000 X(6) = 0.28000000 F(X(6)) = 4.12500000 X(7) = 0.31000000 F(X(7)) = 3.00000000 ********* MATRIZ ******** 11.00000000 8.69230000 -2.30770000 7.25000000 -1.44230000 0.86540000 6.00000000 -1.25000000 0.19230000 -0.67310000 4.84620000 -1.15380000 0.09620000 -0.09610000 0.57700000 3.50000000 -1.34620000 -0.19240000 -0.28860000 -0.19250000 -0.76950000 4.12500000 0.62500000 1.97120000 2.16360000 2.45220000 2.64470000 3.41420000 3.00000000 -1.12500000 -1.75000000 -3.72120000 -5.88480000 -8.33700000 -10.98170000 -14.39590000 POLINOMIO: s= 3.33333333 Y0= 1.00000000 P0= 11.00000000 Y(1)= 1.00000000( 3.33333333-0)/1 = 3.33333333
  • 2. P(1)= 11.00000000+ -2.30770000( 3.33333333) = 3.30766667 Y(2)= 3.33333333( 3.33333333-1)/2 = 3.88888889 P(2)= 3.30766667+ 0.86540000( 3.88888889) = 6.67311111 Y(3)= 3.88888889( 3.33333333-2)/3 = 1.72839506 P(3)= 6.67311111+ -0.67310000( 1.72839506) = 5.50972840 Y(4)= 1.72839506( 3.33333333-3)/4 = 0.14403292 P(4)= 5.50972840+ 0.57700000( 0.14403292) = 5.59283539 Y(5)= 0.14403292( 3.33333333-4)/5 = -0.01920439 P(5)= 5.59283539+ -0.76950000( -0.01920439) = 5.60761317 Y(6)= -0.01920439( 3.33333333-5)/6 = 0.00533455 P(6)= 5.60761317+ 3.41420000( 0.00533455) = 5.62582640 Y(7)= 0.00533455( 3.33333333-6)/7 = -0.00203221 P(7)= 5.62582640+-14.39590000( -0.00203221) = 5.65508190