NUMERICAL METHODS USING MATLAB

Similar documents
NUMERICAL METHODS FOR ENGINEERING APPLICATION

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

Applied Numerical Analysis

Numerical Methods for Engineers

Preface. 2 Linear Equations and Eigenvalue Problem 22

NUMERICAL MATHEMATICS AND COMPUTING

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Introduction to Numerical Analysis

Numerical Methods with MATLAB

Fundamental Numerical Methods for Electrical Engineering

MATHEMATICAL METHODS INTERPOLATION

NUMERICAL COMPUTATION IN SCIENCE AND ENGINEERING

PARTIAL DIFFERENTIAL EQUATIONS

A THEORETICAL INTRODUCTION TO NUMERICAL ANALYSIS

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

Contents. Preface to the Third Edition (2007) Preface to the Second Edition (1992) Preface to the First Edition (1985) License and Legal Information

Numerical Mathematics

Numerical Methods for Engineers and Scientists

Numerical Methods. Scientists. Engineers

(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB

Applied Linear Algebra in Geoscience Using MATLAB

Computational Methods

Table 1 Principle Matlab operators and functions Name Description Page reference

Third Edition. William H. Press. Raymer Chair in Computer Sciences and Integrative Biology The University of Texas at Austin. Saul A.

Math 411 Preliminaries

Introduction to Numerical Analysis

Numerical Methods for Engineers

Applied Linear Algebra in Geoscience Using MATLAB

NUMERICAL METHODS. lor CHEMICAL ENGINEERS. Using Excel', VBA, and MATLAB* VICTOR J. LAW. CRC Press. Taylor & Francis Group

APPLIED NUMERICAL LINEAR ALGEBRA

1 Number Systems and Errors 1

Mathematics for Chemists

MATLAB for Engineers

Excel for Scientists and Engineers Numerical Method s. E. Joseph Billo

Numerical Recipes in C visit

Numerical Analysis for Engineers and Scientists

Numerical Analysis. Introduction to. Rostam K. Saeed Karwan H.F. Jwamer Faraidun K. Hamasalh

Introduction to Applied Linear Algebra with MATLAB

Contents. I Basic Methods 13

Applied Linear Algebra in Geoscience Using MATLAB

LECTURES IN BASIC COMPUTATIONAL NUMERICAL ANALYSIS

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Today s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn

Advanced. Engineering Mathematics

BASIC EXAM ADVANCED CALCULUS/LINEAR ALGEBRA

(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB

Final Year M.Sc., Degree Examinations

MATHEMATICAL FORMULAS AND INTEGRALS

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

Lösning: Tenta Numerical Analysis för D, L. FMN011,

CAM Ph.D. Qualifying Exam in Numerical Analysis CONTENTS

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Applied Linear Algebra

GAME PHYSICS SECOND EDITION. дяййтаййг 1 *

LINEAR AND NONLINEAR PROGRAMMING

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems)

Numerical Recipes. in Fortran 77. The Art of Scientific Computing Second Edition. Volume 1 of Fortran Numerical Recipes. William H.

CN - Numerical Computation

FINITE-DIMENSIONAL LINEAR ALGEBRA

Numerical Methods in Matrix Computations

MATHEMATICS. Course Syllabus. Section A: Linear Algebra. Subject Code: MA. Course Structure. Ordinary Differential Equations

MATHEMATICAL FORMULAS AND INTEGRALS

Differential Equations

Matrix decompositions

CONTENTS. ABOUTTHEAUTHORS xviii PART ONE MODELING, COMPUTERS, AND ERROR ANALYSIS 3

Math 307 Learning Goals. March 23, 2010

Partial Differential Equations with Numerical Methods

Differential Equations with Mathematica

ENGINEERING MATHEMATICS I. CODE: 10 MAT 11 IA Marks: 25 Hrs/Week: 04 Exam Hrs: 03 PART-A

CHAPTER 1 INTRODUCTION TO NUMERICAL METHOD

Data Fitting and Uncertainty

Review for Exam 2 Ben Wang and Mark Styczynski

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

Numerical Linear Algebra

Syllabus of Numerical Analysis of Different Universities Introduction to Numerical Analysis

Exact and Approximate Numbers:

Numerical Marine Hydrodynamics Summary

Preface to Second Edition... vii. Preface to First Edition...

MULTIVARIABLE CALCULUS, LINEAR ALGEBRA, AND DIFFERENTIAL EQUATIONS

Matrix decompositions

Unit I (Testing of Hypothesis)

B553 Lecture 5: Matrix Algebra Review

IDL Advanced Math & Stats Module

M.SC. PHYSICS - II YEAR

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq

Linear Algebra I for Science (NYC)

Numerical Analysis. Elements of. Second Edition. Radhey S. Gupta

Linear Algebra in Numerical Methods. Lecture on linear algebra MATLAB/Octave works well with linear algebra

Linear Algebraic Equations

NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A)

Department of Mathematics California State University, Los Angeles Master s Degree Comprehensive Examination in. NUMERICAL ANALYSIS Spring 2015

Solution of Matrix Eigenvalue Problem

Linear Algebra. PHY 604: Computational Methods in Physics and Astrophysics II

Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error. 2- Fixed point

Numerical Methods in Physics and Astrophysics

Justify all your answers and write down all important steps. Unsupported answers will be disregarded.

Contents. Preface... xi. Introduction...

Transcription:

NUMERICAL METHODS USING MATLAB Dr John Penny George Lindfield Department of Mechanical Engineering, Aston University ELLIS HORWOOD NEW YORK LONDON TORONTO SYDNEY TOKYO SINGAPORE

Preface 1 An introduction to MATLAB 1.1 The software package MATLAB 1.2 MATLAB on personal computers and workstations 1.3 Matrices and matrix operations in MATLAB 1.4 Using the MATLAB operator \ for matrix division 1.5 Manipulating the elements of a matrix 1.6 Transposing matrices 1.7 Special matrices 1.8 Generating matrices with specified element values 1.9 Some special matrix operations 1.10 Element-by-element operations 1.11 Input and output in MATLAB 1.12 MATLAB graphics 1.13 Three-dimensional graphics 1.14 Scripting in MATLAB 1.15 Functions in MATLAB 1.16 User-defined functions 1.17 Some pitfalls in MATLAB 1.18 Speeding up calculations in MATLAB Problems

VI 2 Linear equations and eigensystems 2.1 Introduction 28 2.2 Linear equation systems 31 2.3 MATLAB operators \ and / for solving Ax = b 36 2.4 Accuracy of solutions and ill-conditioning 41 2.5 Elementary row operations 44 2.6 Solution of Ax = b by Gaussian elimination 45 2.7 LU decomposition 47 2.8 Cholesky decomposition 51 2.9 QR decomposition 53 2.10 Singular value decomposition 56 2.11 The pseudo-inverse 60 2.12 Over-determined systems 62 2.13 Iterative methods 65 2.14 Sparse matrices 66 2.15 The eigenvalue problem 75 2.16 The MATLAB function eig 78 2.17 Summary 82 Problems 82 3 Roots of equations 3.1 Introduction 85 3.2 The nature of solutions to non-linear equations 87 3.3 The bisection algorithm 89 3.4 Iterative or fixed point methods 89 3.5 The convergence of iterative methods 90 3.6 Ranges for convergence and chaotic behaviour 92 3.7 Newton's method 94 3.8 Schroder's method 98 3.9 Numerical problems 99 3.10 The MATLAB function fzero and comparative studies 102 3.11 Methods for finding all the roots of a polynomial 103 3.12 Bairstow's method 103 3.13 Laguerre's method 107 3.14 Solving systems of non-linear equations 108 3.15 Broyden's method for solving non-linear equations 112 3.16 Comparing the Newton and Broyden methods 115 3.17 Summary 116 Problems 116

Differentiation and integration 4.1 Introduction 4.2 Numerical differentiation 4.3 Numerical integration 4.4 Simpson's rule 4.5 Newton-Cotes formulae 4.6 Romberg integration 4.7 Gaussian integration 4.8 Infinite ranges of integration 4.9 Gauss-Chebyshev formulae 4.10 Filon's sine and cosine formulae 4.11 Problems in the evaluation of integrals 4.12 Test integrals 4.13 Repeated integrals 4.14 Simpson's rule for repeated integrals 4.15 Gaussian integration for repeated integrals 4.16 Summary Problems Differential equations 5.1 Introduction 5.2 Euler's method 5.3 The problem of stability 5.4 The trapezoidal method 5.5 Runge-Kutta methods 5.6 Predictor-corrector methods 5.7 Hamming's method and the use of error estimates 5.8 Error propagation in differential equations 5.9 The stability of particular numerical methods 5.10 Systems of simultaneous differential equations 5.11 The Lorenz equations 5.12 The predator-prey problem 5.13 Differential equations applied to neural nets 5.14 Higher-order differential equations 5.15 Stiff equations 5.16 Special techniques 5.17 Extrapolation techniques 5.18 Summary Problems

Vlll 6 Boundary value problems 6.1 Introduction 202 6.2 The shooting method 204 6.3 The finite difference method 206 6.4 Two-point boundary value problems 208 6.5 Parabolic partial differential equations 214 6.6 Hyperbolic partial differential equations 218 6.7 Elliptic partial differential equations 221 6.8 Summary 227 Problems 228 7 Fitting functions to data 7.1 Introduction 231 7.2 Interpolation using polynomials 231 7.3 Interpolation using splines 234 7.4 Fourier analysis of discrete data 238 7.5 Fitting functions to data: least squares criteria 252 7.6 Polynomial least squares 254 7.7 A problem with polynomial least squares fitting 257 7.8 General least squares 258 7.9 Transforming data 260 7.10 Summary 263 Problems 264 8 Optimisation methods 8.1 Introduction 269 8.2 Linear programming problems 269 8.3 The conjugate gradient method 276 8.4 The conjugate gradient algorithm for solving linear equation systems 281 8.5 Genetic algorithms 284 8.6 Summary 295 Problems 295

Appendix 1 - Matrix algebra ALI Introduction 297 A 1.2 Matrices and vectors 297 A1.3 Some special matrices 298 A 1.4 Determinants 299 Al.5 Matrix operations 300 Al.6 Complex matrices 301 A 1.7 Matrix properties 302 Al.8 Some matrix relationships 302 A 1.9 Eigenvalues 303 ALIO Definition of norms 303 ALU Reduced row echelon form 304 Appendix 2 - List of MATLAB functions 305 References 309 Solutions to problems 313 Index 323