Numerical Mathematics and Computing, 7th Ed. - List of C++ Codes

Numerical Mathematics and Computing
Seventh Edition
Ward Cheney & David Kincaid
Sample C++ Codes


In the following table, each line/entry contains the program file name and a brief description.
Click on the program name to display the source code, which can be downloaded.
Chapter 1: Mathematical Preliminaries and Floating-Pooint Representation
first.cpp First numerical experiment code
xsinx.cpp Example codes for Chapter 1
chapter2.cpp Support code for Chapter 1
Chapter 2: Systems of Linear Equations
main.cpp Main program for Chapter 2
chapter7.cpp Support program for Chapter 2
Chapter 3: Locating Roots of Equations
main.cpp Main code for Chapter 3
chapter3.cpp Support code for Chapter 3
Chapter 4: Interpolation and Numerical Differentiation
main.cpp Main code for Chapter 4
chapter4.cpp Support codes for Chapter 4
Chapter 5: Numerical Integration
main.cpp Main code for Chatper 5
chapter5.cpp Support code for Chapter 5
main.cpp Main code for Chapter 5
chapter6.cpp Support code for Chapter 5
Chapter 6: Spline Functions
main.cpp Interpolates table using a first-degree spline function
chapter9.cpp Support code for Chapter 6
Chapter 7: Initial Values Problems
main11_1.cpp Main1 program for Chapter 7
main11_2.cpp Main2 program for Chapter 7
main11_3.cpp Main2 program for Chapter 7
Chapter 8: More on Linear Systems
main.cpp Main program for Chapter 8
chapter8.cpp Support program for Chapter 8
Chapter 9: Least Squares Methods
main.cpp Main code for Chapter 9
example12.cpp Support code for Chapter 9
Chapter 10: Monte Carlo Methods and Simulation
main.cpp Main code for Chapter 10
chapter13.cpp Support code for Chapter 10
Chapter 11: Boundary Value Problems
Chapter 12: Partial Differential Equations
Chapter 13: Minimization of Functions
Chapter 14: Linear Programming Problems

Addditional programs can be found at the textbook's anonymous ftp site:

ftp://ftp.ma.utexas.edu/pub/cheney-kincaid/


[Home] [Features] [TOC] [Purchase] [ Codes] [Web] [Manuals] [Errata] [Links]

  Last updated: 15 July 2012