Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS...
Transcript of Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS...
![Page 2: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/2.jpg)
EVALUACION
• 70 % EXAMEN
• 30% TAREAS Y TRABAJOS EN CLASE
• Obligatorio. PRESENTACIONES EN LIBRETA, CON LIBRETA COMPLETA cada parcial
![Page 3: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/3.jpg)
MÉTODOS NUMÉRICOS
Primer parcial.Tema 1.-Aspectos GENERALES
Libros:• Metodos numéricos para ingenieros, Steven
Chapra, 5ta ed• Metodos numéricos aplicados a la ingeniería,
Antonio Nieves,2da ed (3 partes)
![Page 4: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/4.jpg)
VAMOS A NECESITAR DESCARGAR OCTAVE O MATLAB, PARA TRABAJAR EN ALGUNOS TEMAS.
OCTAVE ES SOFTWARE LIBRE, PUEDEN DESCARGAR UNA VERSION MAS “AMIGABLE ” DE ÉSTE QUE SE LLAMA “OCTAVE UPM” desarrollado por la Universidad Politecnica de Madrid.En link esta en la página.
OCTAVE GNU
![Page 5: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/5.jpg)
¿Qué son y para qué se usan los métodos numéricos?
![Page 6: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/6.jpg)
¿Qué se usaba antes de la computadora (ordenador) para hacer los cálculos?
![Page 7: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/7.jpg)
Diseño de dos contenidos con SmartArt
![Page 8: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/8.jpg)
EL LENGUAJE DE LAS COMPUTA-DORAS
![Page 9: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/9.jpg)
TIPOS DE ERRORES NUMÉRICOS
![Page 10: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/10.jpg)
![Page 11: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/11.jpg)
• Elementos de métodos numéricos para Ingeniería, Izar Landeta Juan Manuel
![Page 12: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/12.jpg)
Respuesta: la computación cuántica
¿Cuál es el futuro de la computación, y por lo tanto de los métodos numéricos?
![Page 13: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/13.jpg)
![Page 14: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/14.jpg)
![Page 15: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/15.jpg)
![Page 16: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/16.jpg)
TEMA2.- INTERPOLACIÓN• Se estudiará la aproximación de funciones disponibles en forma
discreta(puntos tabulados) con funciones analíticas sencillas o bien de aproximación de funciones cuya complicada naturaleza exija su reemplazo por funciones mas simples.
![Page 17: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/17.jpg)
![Page 18: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/18.jpg)
¿Qué es interpolar?
• Encontrar el valor de f(x) para un cierto valor dado de “x”, por ejemplo para el punto marcado en la gráfica
![Page 19: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/19.jpg)
2.1. Aproximación polinomial Simple
![Page 20: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/20.jpg)
INTERPOLACIÓN PARA Presión de 2 atm
TABLA ANTERIOR, PARA MENOS PUNTOS
IMAGINEMOS QUE TENEMOS, LA TABLA SIGUIENTE
APROXIMEMOS USANDO UN POLINOMIO DE GRADO 1, DE LA FORMA P(X)=a0 +a1XPara el cual usaremos Los puntos 0 y 1 de la tabla
![Page 21: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/21.jpg)
EL VALOR EXPERIMENTAL CORRECTO DEACUERDO A LA TABLA ES 78.6°c
![Page 22: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/22.jpg)
INTERPOLACION POLINOMIAL SIMPLE USANDO UN POLINOMIO DE GRADO 1
POLINOMIO DE GRADO “N”, NECESITAN “N+1” PUNTOS
![Page 23: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/23.jpg)
• EN ESTE MÉTODO SURGE LA NECESIDAD DE RESOLVER UN SISTEMA DE “N” ECUACIONES LINEALES CON “N” INCOGNITAS, LO CUAL PUEDEN USAR MEDIANTE EL MÉTODO QUE USTEDES QUIERAN. POR EJEMPLO GAUSS JORDAN (método matricial).
• En la pagina esta el link de una pagina de internet en donde resuelven usando el método de Gauss Jordan paso a paso.
http://es.onlinemschool.com/math/assistance/equation/gaus/
• En el siguiente parcial veremos algunos métodos numéricos para solucionar éstos sistemas de ecuaciones lineales.
![Page 24: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/24.jpg)
APROXIMACIÓN POLINOMIAL SIMPLE USANDO UN POLINOMIO DE GRADO 2
• Para usar un polinomio de grado 2 (parábola) usaremos los puntos 0,1,y 2 de la tabla
![Page 25: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/25.jpg)
EL VALOR EXPERIMENTAL CORRECTO DEACUERDO A LA TABLA ES 78.6°c
¿Qué hacer si queremos una mejor aproximación?Usar un polinomio de orden mayor
![Page 26: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/26.jpg)
POLINOMIO DE GRADO 2
![Page 27: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/27.jpg)
TRABAJO EN CLASE/ tarea #1Encontrar el valor de la temperatura, para una presión de 2 atm, asi como el polinomio de aproximacion. Usando la aproximación polinomial simple con un polinomio de grado 3
NOTA: este polinomio es el de grado máximo que podemos tener ya que en la tabla solo tenemos 4 punto
POLINOMIO DE GRADO “N”, NECESITAN “N+1” PUNTOS
A0=57451/1482A1=182881/9880A2=-8971/11400A3=67/6175
RESPUESTA 72.72°c
![Page 28: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/28.jpg)
TRABAJO EN CLASE #2
• un paracaidista en descenso cae, considerandoresistencia del aire se miden sus velocidades a través del tiempo (tabla) . encontrar la velocidadal tiempo de 2 seg.
• Use la aproximación polinomial simple con un polinomio de grado 1,2,3
Tiempo (s) Velocidad (m/s)
1 800
3 2310
5 3090
7 3940
RESPUESTASGRADO 1 , 1555 GRADO 2, 1646.3GRADO 3, 1696.3
![Page 29: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/29.jpg)
2.2. POLINOMIOS DE LAGRANGE
Pn(x)= 𝑖=0𝑛 𝐿𝑖 𝑥 𝑓 (𝑥𝑖)
Pn polinomiode grado “n”𝐿𝑖(𝑥) =
𝑗=0𝑗≠𝑖
𝑛(𝑥 − 𝑥𝑗)
(𝑥𝑖 − 𝑥𝑗)
![Page 30: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/30.jpg)
Un polinomio de Lagrange de grado 1 (n=1), se escribe:
Pn(x)= 𝑖=0𝑛 𝐿𝑖 𝑥 𝑓 (𝑥𝑖)
𝐿𝑖(𝑥) = 𝑗=0𝑗≠𝑖
𝑛(𝑥 − 𝑥𝑗)
(𝑥𝑖 − 𝑥𝑗)
![Page 31: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/31.jpg)
Un polinomio de Lagrange de grado 2, se escribe:
𝐿𝑖(𝑥) = 𝑗=0𝑗≠𝑖
𝑛(𝑥 − 𝑥𝑗)
(𝑥𝑖 − 𝑥𝑗)
![Page 32: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/32.jpg)
De manerageneral los polinomiosLn se obtienende la sig manera
𝐿𝑖(𝑥) = 𝑗=0𝑗≠𝑖
𝑛(𝑥 − 𝑥𝑗)
(𝑥𝑖 − 𝑥𝑗)
![Page 33: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/33.jpg)
Ejemplo 2. Polinomios de Lagrange
4 puntos, polinomio de tercer grado
![Page 34: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/34.jpg)
![Page 35: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/35.jpg)
![Page 36: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/36.jpg)
EJEMPLO tarea #3. POLINOMIOS DE LAGRANGE
USANDO POLINOMIO DE LAGRANGE GRADO 1 (2 puntos)
![Page 37: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/37.jpg)
USANDO POLINOMIO DE LAGRANGE GRADO 1
![Page 38: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/38.jpg)
USANDO POLINOMIO DE LAGRANGE GRADO 2
![Page 39: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/39.jpg)
USANDO POLINOMIO DE LAGRANGE GRADO 3
![Page 40: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/40.jpg)
USANDO POLINOMIO DE LAGRANGE GRADO 3
![Page 41: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/41.jpg)
Codigo de octave para polinomios de lagrange de grado 1,2,3
VALOR INTERPOLADO
COEFICIENTES DEL POLINOMIO
VALOR A INTERPOLAR
GRADO DEL POLINOMIO
CODIGO #1, 3 codigos grado1,2 Y 3
![Page 42: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/42.jpg)
TRABAJO EN CLASE #4
• un paracaidista en descenso cae, considerandoresistencia del aire se miden sus velocidades a través del tiempo (tabla) . encontrar la velocidadal tiempo de 2 seg.
• Use un polinomio de Lagrange de grado 1,2,3
Tiempo (s) Velocidad (m/s)
1 800
3 2310
5 3090
7 3940
RESPUESTASGRADO 1 , 1555 GRADO 2, 1646.3GRADO 3, 1696.3
![Page 43: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/43.jpg)
Respuestas grado 1, 2 y 3
Grado del polinomio
Valor a interpolar
Valor interpolado
Coeficientesdel polinomioDe grado 3
CODIGO MATLABPOLINOMIO LAGRANGE GRADO 3
CODIGO #2, 3 codigos grado1,2 Y 3
![Page 44: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/44.jpg)
2.3 Polinomio de Newton en diferencias Divididas
• 2.3.1 ¿Qué son las diferencias divididas?
![Page 45: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/45.jpg)
![Page 46: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/46.jpg)
Ejemplo 4. Diferencias divididas
![Page 47: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/47.jpg)
![Page 48: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/48.jpg)
![Page 49: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/49.jpg)
POR LO TANTO, LOS PUNTOS PROVIENEN DE UN POLINOMIO DE GRADO 3
![Page 50: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/50.jpg)
2.3.2 Polinomio de Newton en Diferencias Divididas
![Page 51: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/51.jpg)
DONDE a0, a1, a2 son las diferencias divididas
![Page 52: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/52.jpg)
DONDE a0, a1, a2 son las diferencias divididas
a0
a1
a2
![Page 53: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/53.jpg)
EJEMPLO 5. Polinomio de Newton en Dif. Div.
USE UN POLINOMIO DE NEWTON DE GRADO 1, 2 Y 3
a0
a1a2
a3
![Page 54: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/54.jpg)
Para un polinomio de grado 1
![Page 55: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/55.jpg)
Para un polinomio de grado 2
![Page 56: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/56.jpg)
Para un polinomio de grado 3
72.7°C
![Page 57: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/57.jpg)
Polinomiosgrado 1, 2 y 3
DiferenciasDivididas
PARA IMPRIMIR “fprintf”CONMAS DECIMALES%6.1f PARA 1 DECIMAL%6.2f PARA 2 DECIMALES%6.3f PARA 3 DECIMALES%6.4f PARA 4 DECIMALES
CODIGO #3, 1codigo grado 1,2 Y 3
![Page 58: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/58.jpg)
TRABAJO EN CLASE/ TAREA #5
![Page 59: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/59.jpg)
USE UN POLINOMIO DE NEWTON DE GRADO 2
a0
a1a2
![Page 60: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/60.jpg)
![Page 61: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/61.jpg)
CODIGO #4, 1codigo grado 1,2 Y 3
![Page 62: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/62.jpg)
Mismo problema con 4 datos y polinomio de grado 3
![Page 63: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/63.jpg)
TAREA/ TRABAJO EN CLASE #6INTERPOLACION NEWTOn LAGRANGE
![Page 64: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/64.jpg)
![Page 65: Profra. Soraida Zúñigasoraidazuniga.pbworks.com/w/file/fetch/110534386... · MÉTODOS NUMÉRICOS Primer parcial. Tema 1.-Aspectos GENERALES Libros: • Metodos numéricos para ingenieros,](https://reader036.fdocumento.com/reader036/viewer/2022081401/5ba48fec09d3f2c0278db8de/html5/thumbnails/65.jpg)
Hágalo también usandoun polinomio de Lagrange de gradomáximo
Mismo para Newton y Lagrange