|
WORKSHEETS IN MATLAB |
|
INTRODUCTION TO SCIENTIFIC COMPUTING |
| |
Measuring Errors |
| |
|
True Error
[MATLAB]
Approximate Error
[MATLAB]
|
| |
Binary Representation |
| |
|
Decimal to binary representation
[MATLAB]
Binary to decimal representation
[MATLAB]
|
| |
Measuring Errors |
| |
|
Decimal to floating point
representation
[MATLAB]
Binary to floating point
representation
[MATLAB]
|
| |
Propagation of Errors |
| |
|
Propagation of Errors
[MATLAB]
|
|
|
|
Differentiation |
| |
Continuous Functions |
| |
|
Forward Divided
Difference
[MATLAB]
Backward
Divided Difference
[MATLAB]
Central Divided
Difference
[MATLAB]
Continuous
functions Second Order Derivative
[MATLAB]
|
| |
Discrete Data |
| |
|
Discrete
functions
[MATLAB] |
|
|
|
Nonlinear Equations |
| |
Bisection Method |
| |
|
Method
[MATLAB]
Convergence
[MATLAB]
Pitfall: Slow convergence of bisection
method simulation
[MATLAB]
|
| |
Newton-Raphson Method |
| |
|
Method
[MATLAB]
Convergence
[MATLAB]
Pitfall: Division by zero
[MATLAB]
Pitfall: Slow Convergence at
Inflection Points [MATLAB]
Pitfall: Root jumps over several
roots
[MATLAB]
Pitfall: Roots oscillates around local
maxima and minima
[MATLAB]
|
| |
Secant Method |
| |
|
Simulation of secant method
[MATLAB]
Convergence Simulation of secant
method [MATLAB]
Pitfall: Division by zero in secant
method simulation [MATLAB]
Pitfall: Root jumps over several roots
in secant method [MATLAB]
|
| |
|
|
|
SIMULTANEOUS LINEAR EQUATIONS |
| |
Gaussian Elimination |
| |
|
Method
[MATLAB]
|
| |
Gauss-Seidel Method |
| |
|
Method [MAPLE]
[MATHCAD]
[MATHEMATICA]
[MATLAB]
|
| |
|
Convergence
[MAPLE]
[MATHCAD]
[MATHEMATICA]
[MATLAB] |
| |
LU Decomposition |
| |
|
Method
[MATLAB] |
| |
|
|
|
Interpolation |
| |
Direct Method |
| |
|
Method
[MATLAB]
|
| |
Newton's Divided Difference Method |
| |
|
Method [MAPLE]
[MATHCAD]
[MATHEMATICA]
[MATLAB]
|
| |
Lagrange Method |
| |
|
Method
[MATLAB] |
| |
Spline Method |
| |
|
Method
[MAPLE]
[MATHCAD]
[MATHEMATICA]
[MATLAB] |
| |
|
|
|
REGRESSION |
| |
Linear Regression |
| |
|
Method
[MATLAB]
|
| |
Nonlinear Regression |
| |
|
Without Data Linearization
[MATLAB]
With Data Linearization
[MATLAB]
Polynomial Regression
[MATLAB]
Comparing with and without Data
Linearization [MATLAB]
|
| |
Adequacy of a Regression Model |
| |
|
Adequacy
[MATLAB]
|
| |
|
|
|
Integration |
| |
Trapezoidal Rule |
| |
|
Method
[MATLAB]
Convergence
[MATLAB]
|
| |
Simpson's 1/3rd Rule |
| |
|
Method
[MATLAB]
Convergence
[MATLAB]
|
| |
Romberg Rule |
| |
|
Method
[MATLAB]
Convergence
[MATLAB]
|
| |
Gauss-Quadrature Rule
|
| |
|
Method
[MATLAB]
Convergence
[MATLAB] |
| |
Integrating Discrete Functions |
| |
|
Integrating discrete functions
[MATLAB] |
|
|
|
ORDINARY DIFFERENTIAL EQUATIONS |
| |
Euler's Method |
| |
|
Method
[MATLAB]
Convergence
[MATLAB] |
| |
Runge-Kutta 2nd order Method |
| |
|
Method
[MATLAB]
Convergence
[MATLAB]
|
| |
Runge-Kutta 4th order Method |
| |
|
Method
[MATLAB]
Convergence
[MATLAB]
|
| |
Shooting Method
|
| |
|
Method
[MATLAB] |
| |
Finite Difference Method |
| |
|
Method [MATLAB] |