Professional Documents
Culture Documents
Chapter 1
Introduction to MATLAB
Command Window....................................................................................................................... 1-1
Roots of Polynomials..................................................................................................................... 1-3
Polynomial Construction from Known Roots .............................................................................. 1-4
Evaluation of a Polynomial at Specified Values ........................................................................... 1-5
Rational Polynomials .................................................................................................................... 1-7
Using MATLAB to Make Plots.................................................................................................... 1-9
Subplots....................................................................................................................................... 1-18
Multiplication, Division and Exponentiation............................................................................. 1-18
Script and Function Files............................................................................................................ 1-25
Display Formats .......................................................................................................................... 1-29
Summary ..................................................................................................................................... 1-30
Exercises...................................................................................................................................... 1-35
Solutions to Exercises ................................................................................................................. 1-36
Chapter 2
Root Approximations
Newton’s Method for Root Approximation ................................................................................. 2-1
Approximations with Spreadsheets .............................................................................................. 2-7
The Bisection Method for Root Approximation........................................................................ 2-19
Summary ..................................................................................................................................... 2-27
Exercises...................................................................................................................................... 2-28
Solutions to Exercises ................................................................................................................. 2-29
Chapter 3
Chapter 4
Chapter 5
Chapter 7
Chapter 8
Chapter 9
Solution of Differential Equations by Numerical Methods
Taylor Series Method ................................................................................................................... 9-1
Runge-Kutta Method ................................................................................................................... 9-5
Adams’ Method.......................................................................................................................... 9-13
Milne’s Method .......................................................................................................................... 9-16
Summary..................................................................................................................................... 9-17
Exercises ..................................................................................................................................... 9-20
Solutions to Exercises................................................................................................................. 9-21
Chapter 10
Integration by Numerical Methods
The Trapezoidal Rule................................................................................................................. 10-1
Simpson’s Rule ........................................................................................................................... 10-6
Summary................................................................................................................................... 10-13
Exercises ................................................................................................................................... 10-15
Solution to Exercises ................................................................................................................ 10-16
Chapter 11
Difference Equations
Definition, Solutions, and Applications..................................................................................... 11-1
Fibonacci Numbers .................................................................................................................... 11-7
Summary................................................................................................................................... 11-10
Exercises ................................................................................................................................... 11-13
Solutions to Exercises............................................................................................................... 11-14
Chapter 12
Partial Fraction Expansion
Partial Fraction Expansion......................................................................................................... 12-1
Alternate Method of Partial Fraction Expansion .................................................................... 12-13
Summary................................................................................................................................... 12-18
Exercises ................................................................................................................................... 12-21
Solutions to Exercises............................................................................................................... 12-22
Chapter 14
Chapter 15
Optimization Methods
Linear Programming................................................................................................................... 16-1
Dynamic Programming............................................................................................................... 16-4
Network Analysis ..................................................................................................................... 16-14
Summary................................................................................................................................... 16-19
Exercises ................................................................................................................................... 16-20
Solutions to Exercises............................................................................................................... 16-22