Book cover for Object-Oriented Numerical Methods via C++

Object-Oriented Numerical Methods via C++ (2nd Edition, 2021)

Numerical methods constitute an important part of all scientific or engineering curricula. However, by themselves, numerical methods have limited applicability if they are not implemented as computer programs. Engineering education has realized the important role that numerical methods play in engineering analysis and design. With increasing sophistication of the analysis methods and tools, the enormous amount of data to be handled, and the need for robust, fast, easy-to-use computer programs, one cannot look at numerical analysis and computer programming as two different entities. This text bridges that gap. There are 18 chapters in the book – Introduction, Programming in C++, Control Structures, Modular Program Development, Numerical Analysis Introduction, Root Finding, Differentiation and Integration, Class: Objects 101, Pointers, Classes: Objects 202, Matrix Algebra, Regression Analysis, File Handling, Classes: Objects 303, Ordinary Differntial Equations, Partial Differential Equations, Eigensystems, Numerical Optimization and Computer Graphics.


This textbook is designed for an undergraduate/graduate class in applied numerical analysis.

  • Chapter 1 Introduction
  • Chapter 2 Programming in C++
  • Chapter 3 Control Structures
  • Chapter 4 Modular Program Development
  • Chapter 5 Numerical Analysis: Introduction
  • Chapter 6: Root Finding, Differentiation and Integration
  • Chapter 7: Classes: Objects 101
  • Chapter 8: Pointers
  • Chapter 9: Classes: Objects 202
  • Chapter 10: Matrix Algebra
  • Chapter 11: Regression Analysis
  • Chapter 12: File Handling
  • Chapter 13: Classes: Objects 303
  • Chapter 14: Ordinary Differential Equations
  • Chapter 15: Partial Differential Equations
  • Chapter 16: Eigensystems
  • Chapter 17: Numerical Optimization
  • Chapter 18: Computer Graphics


This software is made available “as is” for educational (non-commercial) use only. There are no implied warranties of any kind. The user agrees to download, install and use the software at her/his own judgment and risk. The user may not distribute the software either verbatim or with modifications, either gratis or for a fee.

Sample computer programs are used extensively in the book to illustrate the programming concepts. You will need Microsoft Visual Studio 2022 or higher to work with the computer programs discussed in the book. Visual Studio Community 2019 edition is available for free, though I would recommend that you get the Professional or Enterprise edition that have desirable features not available with the Community edition.

Click here to download the .zip file that has all the computer programs discussed in the book.

Additional Resources

(1) EDO-GUIWB is a Windows-based computer program for finding solutions to design optimization problems. The optimization toolbox in the program contains Method of Feasible Directions, Genetic Algorithm, and Differential Evolution techniques.

(2) 1DBVP is a Windows-based computer program to solve one-dimensional boundary value problems using the finite element technique.

Report all bug by sending detailed information ([email protected]) so that the bug can be reproduced. Include the operating systems used and details of the computer hardware.