No BSD License  

Highlights from
Numerical Methods for Physics

from Numerical Methods for Physics by Alejandro Garcia
Companion Software

contents.m
% Numerical Methods for Physics Toolbox.
% Version 1.0a  1-Sept-93
% Copyright (c) 1993 by Alejandro Garcia.
%
% Chapter 1 - Preliminaries.
% orthog	  - Orthogonality test of two vectors.
% interp	  - Interpolation by Lagrange polynomial (driver).
% intrpf	  - Interpolation by Lagrange polynomial (function).
% rndoff	  - Round-off demonstration.
% factn    - Naive factorial routine.
% facts    - Stirling's approximation factorial routine.
% deriv    - Right and centered derivative demonstration.
% fund     - Function used by deriv.
%
% Chapter 2 - Ordinary Differential Equations I.
% balle    - Trajectory of baseball (Euler algorithm).
% pendul   - Simple pendulum (Euler algorithm).
% pendulv  - Simple pendulum (Verlet algorithm).
%
% Chapter 3 - Ordinary Differential Equations II.
% orbe     - Orbit of comet (Euler algorithm).
% orbec    - Orbit of comet (Euler-Cromer algorithm).
% orbrk    - Orbit of comet (Runge-Kutta algorithm).
% rk4      - Fourth order Runge-Kutta function.
% gravrk   - Equations of motion for comet.
% orbrka   - Orbit of comet (adaptive Runge-Kutta algorithm).
% rka      - Adaptive Runge-Kutta function.
% lorenz   - Lorenz model.
% lorzrk   - Lorenz model equations.
%
% Chapter 4 - Solving Systems of Equations.
% naivege  - Naive Gaussian elimination routine.
% newtn    - N-variable Newton's method routine.
% fnewt    - Equations solved by newtn.
%
% Chapter 5 - Analysis of Data.
% lsftest  - Least squares fit routine.
% linreg   - Linear regression routine.
% pollsf   - Polynomial least squares fit routine.
% sftdemo  - Slow Fourier transform demonstration.
% sft      - Slow Fourier transform function.
% sprfft   - Normal mode oscillations in spring-mass system.
% sprrk    - Equations of motion for spring-mass system.
% barrow   - Carbon dioxide data from Barrow, Alaska.
% mauna    - Carbon dioxide data from Mauna Loa, Hawaii.
%
% Chapter 6 - Partial Differential Equations I.
% dftcs    - Diffusion equation routine (FTCS method).
% aftcs    - Advection equation routine (FTCS method).
% traffic  - Traffic at stop light.
%
% Chapter 7 - Partial Differential Equations II.
% jacobi   - Laplace equation routine (Jacobi method).
% galrkn   - Poisson equation routine (Galerkin method).
% fftpoi   - Poisson equation routine (MFT method).
%
% Chapter 8 - Partial Differential Equations III.
% schro    - Schrodinger equation routine (Crank-Nicolson).
% schrot   - Schrodinger equation routine (Tridiagonal).
% tri_ge   - Tridiagonal Gaussian elimination routine.
%
% Chapter 9 - Special Functions and Quadrature.
% legndr   - Legendre polynomial function.
% bess     - Bessel function.
% zeroj    - Zeros of Bessel function.
% rombf    - Romberg quadrature function.
% my_f     - Function integrated by rombf.
%
% Chapter 10 - Stochastic Methods.
% dsmceq   - DSMC routine for relaxation to equilibrium.
% sorter   - Sorting routine used by dsmceq and dsmcne.
% colide   - DSMC collision function.
% dsmcne   - DSMC routine for nonequilibrium Couette flow.
% mover    - DSMC particle motion routine.
% sampler  - Sampling routine used by dsmcne.

Contact us at files@mathworks.com