SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
Métodos Numéricos en
     Ingeniería
CAPÍTULO IV: Raíces de Ecuaciones


      Elkin Rodolfo Santafé Rangel
           Ingeniero de Petróleos

        Bucaramanga – Colombia © 2009
Tipos de Métodos

                                                                         f ( x) = 0
          • Métodos Gráficos
          • Métodos Abiertos
          • Métodos Cerrados

                                                      ANÁLISIS GRÁFICO


                                                SELECCIÓN DE [ ] O DE Xo


                               ABIERTO                       ANÁLISIS
                                                                           CERRADO
                                                           ADICIONALES


                                                           TRATAMIENTO
                                                            POLINOMIAL

© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                         CAP. III: Raíces de Ecuaciones
                                                                                          Raí
Métodos Gráficos
          Características:

          • Los cálculos no son precisos.
          • Tienen valor práctico limitado.
          • Permite estimar valores iniciales.
          • Permite a comprensión de las propiedades de las
          funciones.
          • Pueden ayudar a prevenir fallas en los métodos.
          • Se puede considerar en general como ¨cerrado¨




© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí    CAP. III: Raíces de Ecuaciones
                                                                     Raí
Métodos Gráficos
                            Primer Caso                     Segundo Caso

                                        f ( x)
                                                                    g ( x)



                                                                              Raíz

                                                 Raíz

                                                                   h ( x)



                            f ( x) = 0                     g ( x) = h ( x)

© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí           CAP. III: Raíces de Ecuaciones
                                                                            Raí
Métodos Gráficos


         Formas en que la raíz puede o no encontrarse

       f ( a ) ≠ f (b)
                                                                   f(a)
     Hay por lo menos una raíz                             +
     (en este caso el número de
     raíces sería impar).                                                      Raíz



       f ( a ) = f (b)                                                                      b


     Hay raíces pares o no hay                                 a
     raíces en el intervalo.                               -
                                                                                          f(b)



© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                   CAP. III: Raíces de Ecuaciones
                                                                                    Raí
Métodos Gráficos

              a                                      b     a                      b
                         Sin raíces                            Dos raíces




                         Una raíz                              Tres raíces




© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí              CAP. III: Raíces de Ecuaciones
                                                                               Raí
Métodos Gráficos

         Casos especiales
                 a                                         b   a                          b


                          Tangencial




         ( x − 2 )( x − 2 )( x − 4 ) = 0                           Discontinuidad
          Ejemplo de una RAÍZ MÚLTIPLE

© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                      CAP. III: Raíces de Ecuaciones
                                                                                       Raí
Métodos Cerrados
     Son los que limitan el dominio de búsqueda. Los más
     conocidos son:

     • Método de Bisección
     • Método de Falsa Posición




© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí    CAP. III: Raíces de Ecuaciones
                                                                     Raí
Métodos Cerrados


         Método de Bisección

     Conocido también como método de:

            • Corte Binario.
            • Partición.
            • Bolzano.

     Es un tipo de búsqueda incremental que se basa en dividir el
     intervalo siempre a la mitad y en el cambio de signo sobre el
     intervalo.




© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí    CAP. III: Raíces de Ecuaciones
                                                                     Raí
Métodos Cerrados - Bisección

         Metodología de búsqueda

     1. Se debe definir un intervalo inicial acotado.

                                                           b

                                                     a


     2. Se chequea que exista una raíz.

                      f ( a ) f (b ) < 0
                        Si se cumple existe al
                           menos 1 raíz real

© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí               CAP. III: Raíces de Ecuaciones
                                                                                Raí
Métodos Cerrados - Bisección

         Metodología de búsqueda

     3. Se divide por la mitad el intervalo y se chequea.
                                                           Si f ( a ) f ( r ) < 0
                                                           ⇒ [a, r ]
                                            La mitad
                                                                         r


                                                                   Se desecha

                                                           Si f ( a ) f ( r ) > 0
                                                           ⇒ [r , b ]
© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                 CAP. III: Raíces de Ecuaciones
                                                                                  Raí
Métodos Cerrados - Bisección

         Metodología de búsqueda

     4. Se revisa el criterio de parada. Si no se cumple se
     continúa con la búsqueda.

     El método se puede frenar de 2 formas:

     • Con el número máximo de iteraciones.
     • Cuando se alcanza el %E.


                                                  x   actual
                                                               −x   anterior
                       % Ea =                         r             r
                                                               actual
                                                                               *100
                                                           x   r

© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                             CAP. III: Raíces de Ecuaciones
                                                                                              Raí
Métodos Cerrados - Bisección

         Metodología de búsqueda

     Cuando se habla del número de iteraciones se puede estimar
     bajo condiciones controladas que tanto tiempo tomará llegar
     a la raíz. La relación que permite expresar esto se muestra a
     continuación:

                                          a
                                           n
                                             ≤ε
                                         2
                                         a → longitud del intervalo
                                        ε → error
                                         n → #iteraciones
© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                CAP. III: Raíces de Ecuaciones
                                                                                 Raí
Métodos Cerrados - Bisección

         Metodología de búsqueda                                 a
                                                                   n
                                                                     ≤ε
                              a                                  2
                                                           a
                                                                      a 
                                                           20    Ln  n  ≤ Ln ( ε )
                                           a/2                       2 
                                                           a
                                                                 Ln ( a ) − Ln ( 2n ) = Ln ( ε )
                                                           21
                                                                 −nLn ( 2 ) = Ln ( ε ) − Ln ( a )
                                   a/4
                                                           a        Ln ( a ) − Ln ( ε )
                                                             2   n=
                                                           2             Ln ( 2 )
                                       a/8
                                                           a             Esta expresión para n
                                                           23a
                                                                         permite predecir cuantas
                                                                         iteraciones se requieren en
                                                           … 2n          ausencia de error de
                                                                         redondeo.

© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                         CAP. III: Raíces de Ecuaciones
                                                                                          Raí
Métodos Cerrados - Bisección

         Ventajas y Desventajas

       VENTAJAS
       •Tiene garantizada la convergencia por encerrar la raíz.
       • Es de fácil implementación.
       • Posee un manejo muy claro del error.

       DESVENTAJAS
       • La convergencia puede tardar mucho.
       • No tiene en cuenta los valores extremos (cotas) como
       posibles raíces.




© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí               CAP. III: Raíces de Ecuaciones
                                                                                Raí
Métodos Cerrados - Bisección

           Ejercicio
       1. Utilice el método gráfico para determinar el coeficiente de
          arrastre c necesario para que un paracaidista con masa de 68,1
          kg tenga una velocidad de 40 m/s después de un caída libre de
          10 s.
       2. Use el método de bisección para resolver el ítem 1 y calcule
          adicionalmente:

       •    Número de iteraciones teóricas.
       •    %Ea en cada iteración
       •    %Et en cada iteración asumiendo que el valor real es 14,7802.
       •    Construya una gráfica en donde compare %Ea y %Et vs
            Iteraciones.

       NOTA: Use como criterio de parada %Es = 0,5.



© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí               CAP. III: Raíces de Ecuaciones
                                                                                Raí
Métodos Cerrados


         Falsa Posición


         La función es aproximada
                                                                        Raíz falsa
         a través de una línea
         recta donde se asume                                      y
         que su corte con el eje x
         corresponde al valor
         aproximado de la raíz.                                    xl
                                                              x                                    xu
             f ( xu )( xl − xu )
   xr = xu −                                               f (x)
             f ( xl ) − f ( xu )                                                     Raíz real


© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                       CAP. III: Raíces de Ecuaciones
                                                                                        Raí
Métodos Cerrados – Falsa Posición

         Metodología de búsqueda


                                Primera iteración
                                       Segunda iteración
                                                 Tercera iteración

                                                                           f (x)
                            y
                                                                                            x


© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                     CAP. III: Raíces de Ecuaciones
                                                                                      Raí
Métodos Abiertos

         Son los que limitan el dominio de búsqueda. Los más
         conocidos son:

         • Método de Punto Fijo
         • Método de Newton Raphson
         • Método de Secante




© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí    CAP. III: Raíces de Ecuaciones
                                                                     Raí
Métodos Abiertos


         Punto Fijo

        Usa el concepto de
        replantear la forma del
        problema original.                                     y
                       x = g (x )                                                g (x)
                                                           x       Raíz
                   xi +1 = g ( xi )

© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí              CAP. III: Raíces de Ecuaciones
                                                                               Raí
Métodos Abiertos


         Método de Newton

        Usa la proyección de
        la recta tangente
                                                           y                   f (x)
        para encontrar el
        valor aproximado de
        la raíz.


                     f ( xi )                                       x0                 x
        xi +1 = xi −                                           x1
                     f ´( xi )


© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí             CAP. III: Raíces de Ecuaciones
                                                                              Raí
Métodos Abiertos


         Método de Secante

                                                           Soluciona el problema        de enfrentar
                                                           funciones que no son fácilmente derivables.
                y
                                                                                     x−1 f (x)

                         x1                                    x0
                                                                                                        x
                                                                                 f ( xi )( xi −1 − xi )
                                                                    xi +1 = xi −
                                                                                 f ( xi −1 ) − f ( xi )
© Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería
        Santafé                  Numé         Ingenierí                                 CAP. III: Raíces de Ecuaciones
                                                                                                  Raí
Atribución No Comercial 2.5 Colombia

        Usted es libre de:

        • Copiar, distribuir, exhibir y ejecutar la obra.
        • Hacer obras derivadas.

        Bajo las siguientes condiciones:


          Atribución. Usted debe atribuir la obra en la
          forma especificada por el autor o licenciante.

          No comercial. Usted no puede usar esta obra
          con fines comerciales.


Sus usos legítimos u otros derechos no son afectados de ninguna
manera por lo dispuesto precedentemente.
Este es un resumen legible-por-humanos del Código Legal (Licencia Completa).


http://creativecommons.org/licenses/by-nc/2.5/co/legalcode

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Cap iv

  • 1. Métodos Numéricos en Ingeniería CAPÍTULO IV: Raíces de Ecuaciones Elkin Rodolfo Santafé Rangel Ingeniero de Petróleos Bucaramanga – Colombia © 2009
  • 2. Tipos de Métodos f ( x) = 0 • Métodos Gráficos • Métodos Abiertos • Métodos Cerrados ANÁLISIS GRÁFICO SELECCIÓN DE [ ] O DE Xo ABIERTO ANÁLISIS CERRADO ADICIONALES TRATAMIENTO POLINOMIAL © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 3. Métodos Gráficos Características: • Los cálculos no son precisos. • Tienen valor práctico limitado. • Permite estimar valores iniciales. • Permite a comprensión de las propiedades de las funciones. • Pueden ayudar a prevenir fallas en los métodos. • Se puede considerar en general como ¨cerrado¨ © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 4. Métodos Gráficos Primer Caso Segundo Caso f ( x) g ( x) Raíz Raíz h ( x) f ( x) = 0 g ( x) = h ( x) © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 5. Métodos Gráficos Formas en que la raíz puede o no encontrarse f ( a ) ≠ f (b) f(a) Hay por lo menos una raíz + (en este caso el número de raíces sería impar). Raíz f ( a ) = f (b) b Hay raíces pares o no hay a raíces en el intervalo. - f(b) © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 6. Métodos Gráficos a b a b Sin raíces Dos raíces Una raíz Tres raíces © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 7. Métodos Gráficos Casos especiales a b a b Tangencial ( x − 2 )( x − 2 )( x − 4 ) = 0 Discontinuidad Ejemplo de una RAÍZ MÚLTIPLE © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 8. Métodos Cerrados Son los que limitan el dominio de búsqueda. Los más conocidos son: • Método de Bisección • Método de Falsa Posición © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 9. Métodos Cerrados Método de Bisección Conocido también como método de: • Corte Binario. • Partición. • Bolzano. Es un tipo de búsqueda incremental que se basa en dividir el intervalo siempre a la mitad y en el cambio de signo sobre el intervalo. © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 10. Métodos Cerrados - Bisección Metodología de búsqueda 1. Se debe definir un intervalo inicial acotado. b a 2. Se chequea que exista una raíz. f ( a ) f (b ) < 0 Si se cumple existe al menos 1 raíz real © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 11. Métodos Cerrados - Bisección Metodología de búsqueda 3. Se divide por la mitad el intervalo y se chequea. Si f ( a ) f ( r ) < 0 ⇒ [a, r ] La mitad r Se desecha Si f ( a ) f ( r ) > 0 ⇒ [r , b ] © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 12. Métodos Cerrados - Bisección Metodología de búsqueda 4. Se revisa el criterio de parada. Si no se cumple se continúa con la búsqueda. El método se puede frenar de 2 formas: • Con el número máximo de iteraciones. • Cuando se alcanza el %E. x actual −x anterior % Ea = r r actual *100 x r © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 13. Métodos Cerrados - Bisección Metodología de búsqueda Cuando se habla del número de iteraciones se puede estimar bajo condiciones controladas que tanto tiempo tomará llegar a la raíz. La relación que permite expresar esto se muestra a continuación: a n ≤ε 2 a → longitud del intervalo ε → error n → #iteraciones © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 14. Métodos Cerrados - Bisección Metodología de búsqueda a n ≤ε a 2 a  a  20 Ln  n  ≤ Ln ( ε ) a/2 2  a Ln ( a ) − Ln ( 2n ) = Ln ( ε ) 21 −nLn ( 2 ) = Ln ( ε ) − Ln ( a ) a/4 a Ln ( a ) − Ln ( ε ) 2 n= 2 Ln ( 2 ) a/8 a Esta expresión para n 23a permite predecir cuantas iteraciones se requieren en … 2n ausencia de error de redondeo. © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 15. Métodos Cerrados - Bisección Ventajas y Desventajas VENTAJAS •Tiene garantizada la convergencia por encerrar la raíz. • Es de fácil implementación. • Posee un manejo muy claro del error. DESVENTAJAS • La convergencia puede tardar mucho. • No tiene en cuenta los valores extremos (cotas) como posibles raíces. © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 16. Métodos Cerrados - Bisección Ejercicio 1. Utilice el método gráfico para determinar el coeficiente de arrastre c necesario para que un paracaidista con masa de 68,1 kg tenga una velocidad de 40 m/s después de un caída libre de 10 s. 2. Use el método de bisección para resolver el ítem 1 y calcule adicionalmente: • Número de iteraciones teóricas. • %Ea en cada iteración • %Et en cada iteración asumiendo que el valor real es 14,7802. • Construya una gráfica en donde compare %Ea y %Et vs Iteraciones. NOTA: Use como criterio de parada %Es = 0,5. © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 17. Métodos Cerrados Falsa Posición La función es aproximada Raíz falsa a través de una línea recta donde se asume y que su corte con el eje x corresponde al valor aproximado de la raíz. xl x xu f ( xu )( xl − xu ) xr = xu − f (x) f ( xl ) − f ( xu ) Raíz real © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 18. Métodos Cerrados – Falsa Posición Metodología de búsqueda Primera iteración Segunda iteración Tercera iteración f (x) y x © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 19. Métodos Abiertos Son los que limitan el dominio de búsqueda. Los más conocidos son: • Método de Punto Fijo • Método de Newton Raphson • Método de Secante © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 20. Métodos Abiertos Punto Fijo Usa el concepto de replantear la forma del problema original. y x = g (x ) g (x) x Raíz xi +1 = g ( xi ) © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 21. Métodos Abiertos Método de Newton Usa la proyección de la recta tangente y f (x) para encontrar el valor aproximado de la raíz. f ( xi ) x0 x xi +1 = xi − x1 f ´( xi ) © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 22. Métodos Abiertos Método de Secante Soluciona el problema de enfrentar funciones que no son fácilmente derivables. y x−1 f (x) x1 x0 x f ( xi )( xi −1 − xi ) xi +1 = xi − f ( xi −1 ) − f ( xi ) © Elkin Santafé ● 2008 ● Métodos Numéricos en Ingeniería Santafé Numé Ingenierí CAP. III: Raíces de Ecuaciones Raí
  • 23. Atribución No Comercial 2.5 Colombia Usted es libre de: • Copiar, distribuir, exhibir y ejecutar la obra. • Hacer obras derivadas. Bajo las siguientes condiciones: Atribución. Usted debe atribuir la obra en la forma especificada por el autor o licenciante. No comercial. Usted no puede usar esta obra con fines comerciales. Sus usos legítimos u otros derechos no son afectados de ninguna manera por lo dispuesto precedentemente.
  • 24. Este es un resumen legible-por-humanos del Código Legal (Licencia Completa). http://creativecommons.org/licenses/by-nc/2.5/co/legalcode