Numerical Methods For Engineers and Scie
Numerical Methods For Engineers and Scie
Third Edition
Amos Gilat
Vish- Subramaniam
Department of Mechanical Engineering
The Ohio State University
Wiley
Contents
Preface iii
Chapter 1 Introduction l
1.1 Background 1
1.2 Representation of Numbers on a Computer 4
1.3 Errors in Numerical Solutions 10
1.3.1 Round-OffErrors 10
1.3.2 Truncation Errors 13
1.3.3 Total Error 14
2.1 Background 23
2.2 Concepts from Pre-Calculus and Calculus 24
2.3 Vectors 28
2.3.1 Operations with Vectors 30
xi
Contents
3.1 Background 57
4.1 Background 99
100
4.1.1 Overview ofNumerical Methods for Solving a System ofLinear Algebraic Equations
4.2 Gauss Elimination Method 102
110
4.2.1 Potential Difficulties When Applying the Gauss Elimination Method
4.3 Gauss Elimination with Pivoting 112
4.8 Use of MATLAB Built-in Functions for Solving a System of Linear Equations 136
4.8.1 Solving a System ofEquations Using MATLAB's Left and Right Division 136
4.8.2 Solving
a Using MATLAB"s Inverse Operation 137
System of Equations
4.8.3 MATLAB's Built-in Function for LUDecomposition 138
7.5 The Discrete Fourier Series and Discrete Fourier Transform 263
,
xvi Contents
11.4 Use of MATLAB Built-in Functions for Solving Boundary Value Problems 492
11.5 Error and Stability in Numerical Solution of Boundary Value Problems 497
11.6 Problems 499
A. 1 Background 509
A.2 Starting with MATLAB 509
A.3 Arrays 514
A.4 Mathematical Operations with Arrays 519
Index 555