C Programs Related to the Book
Book Title:
An Introduction
to Computational Physics
Author:
Tao Pang
Publisher:
Cambridge University Press
Publication Place: New York
Publication Date: September, 1997
ISBN's: 0-521-48143-0 (hardback); 0-521-48592-4 (paperback)
List Prices: $110 (hardback); $42.95 (paperback)
Other Info: 393 Pages; 7 x 10; 30 Line Diagrams; 5 Tables;
94 Exercises; Bibliography and Index
Please Note:
- All the C programs listed here are corresponding to the
Fortran 77 programs appeared in or related to the book.
- No warranties, express or implied, are made for any materials
at this site.
Chapter 1. Introduction
-
Program 1.1: One-dimensional motion under a
harmonic force.
Chapter 2. Basic Numerical Methods
Chapter 3. Ordinary Differential Equations
-
Program 3.1: Simplest predictor-corrector
scheme.
-
Program 3.2: Pendulum solved with the
fourth order Runge-Kutta algorithm.
-
Program 3.3: Boundary-value problem solved
with the shooting method.
-
Program 3.4: Simplest algorithm for the
Sturm-Liouville equation.
-
Program 3.A: The Numerov algorithm from
Eqs. (3.77)-(3.80).
-
Program 3.B: The Numerov algorithm from
Eqs. (3.82)-(3.85).
-
Program 3.C: An application of Program 3.A.
-
Program 3.D: Eigenvalue problem of the 1D
Schroedinger equation.
Chapter 4. Numerical Methods for Matrices
-
Program 4.1: The partial pivoting Gaussian
elimination scheme.
-
Program 4.2: Determinant evaluated
with the Gaussian elimination scheme.
-
Program 4.3: Linear equation set solved
with the Gaussian elimination scheme.
-
Program 4.4: Matrix inversion
with the Gaussian elimination scheme.
-
Program 4.5: Determinant polynomials generator.
-
Program 4.6: Random matrix generator.
Chapter 5. Spectral Analysis and Gaussian Quadrature
Chapter 6. Partial Differential Equations
Chapter 7. Molecular Dynamics
-
Program 7.1: Halley's comet studied with
the Verlet algorithm.
-
Program 7.2: The Maxwell velocity distribution
generator.
Chapter 8. Modeling Continuous Systems
-
Program 8.1: A simple example on finite element
method.
Chapter 9. Monte Carlo Simulations