Physics 329: Root Finding & Non Linear Equations
Please report all errors/typos. etc to
matt@infeld.ph.utexas.edu
- Source code covered in class can be found on
the phy329 account on einstein in
~phy329/nonlin/ex1, ... (organized by lecture).
- General References
-
Numerical Recipes (Chapter 9)
- Section 9.1 Introduction
(PS).
- Section 9.2 Bracketing and Bisection
(PS).
- Section 9.4 Newton-Raphson Method Using Derivative
(PS).
- Section 9.6 Newton-Raphson Method for Nonlinear Systems of Equations
(PS).
- Lecture 1 (Nov 4)
- Handout (PS) and
slides (PS).
- bisect.f:
Fortran routine for locating bracketed root using bisection.
Test driver tbisect.f
and include file comf.inc
which defines a common block for global communication with the
user-supplied routine (function whose root is sought).
Makefile,
and sample output on SGIs.
- Lecture 2 (Nov 6)
- Handout (PS) and
slides (PS).
- newtsqrt.f:
Fortran program for computing square roots (solving x^2 - a = 0)
using Newton's method.
Makefile and
sample output on SGIs.
- Lecture 3 (Nov 11)
- Handout (PS) and
slides (PS).
- newt2.f:
Fortran program for computing root of simple set of non-linear
equations (d=2) discussed in class.
Makefile and
sample output on SGIs
and a check on the
computation using Maple's numerical root finding capabilities
(fsolve).