ECE3040: Table of Contents

ECE3040: Table of Contents

<p><strong>ECE3040: Table of Contents </strong></p><p><strong>Lecture 1: Introduction and Overview </strong></p><p> Instructor contact information  Navigating the course web page  What is meant by numerical methods?  Example problems requiring numerical methods  What is Matlab and why do we need it? </p><p><strong>Lecture 2: Matlab Basics I </strong></p><p> The Matlab environment  Basic arithmetic calculations  Command Window control &amp; formatting  Built-in constants &amp; elementary functions </p><p><strong>Lecture 3: Matlab Basics II </strong></p><p> The assignment operator “=” for defining variables </p><p> Creating and manipulating arrays </p><p> Element-by-element array operations: The “<strong>.</strong>” Operator  Vector generation with linspace function and “:” (colon) operator </p><p> Graphing data and functions </p><p><strong>Lecture 4: Matlab Programming I </strong></p><p> Matlab scripts (programs)  Input-output: The input and disp commands  The fprintf command  User-defined functions  Passing functions to M-files: Anonymous functions  Global variables </p><p><strong>Lecture 5: Matlab Programming II </strong></p><p> Making decisions: The if-else <em>structure </em></p><p> The error, return, and nargin commands </p><p> Loops: for and while <em>structures </em></p><p> Interrupting loops: The continue and break commands </p><p><strong>Lecture 6: Programming Examples </strong></p><p> Plotting piecewise functions  Computing the factorial of a number  Beeping  Looping vs vectorization speed: tic and toc commands </p><p> Passing an “anonymous function” to Matlab function </p><p> Approximation of definite integrals: Riemann sums  Computing cos(푥) from its power series  Stopping criteria for iterative numerical methods  Computing the square root  Evaluating polynomials  Errors and Significant Digits </p><p><strong>Lecture 7: Polynomials </strong></p><p> Polynomials in engineering  Matlab numeric tools for polynomials  Matlab symbolic tools for polynomial and other analytic functions </p><p><strong>Lecture 8: Taylor Series Approximations I </strong></p><p> The Taylor series: taylor function  Taylor series expansion for some basic functions  Evidence of digital machine truncation error  Elementary function computation using Taylor series  Rearrangement of formulas to control the round-off error  Significance of the Taylor series expansion point 푎 </p><p><strong>Lecture 9: Taylor Series Approximation II </strong></p><p> Taylor series generation of approximate <em>analytic </em>solutions  The Gaussian integral and its polynomial approximations  Taylor series-based solution of nonlinear equations  Padé approximation: Approximation with a rational function </p><p><strong>Lecture 10: Digital Machine Round-off Errors </strong></p><p> Total error in a numerical method  Round-off error in the evaluation of simple formulas  Binary floating-point representation of numbers  The source of round-off errors  Truncation error vs round-off error in numerical differentiation </p><p><strong>Lecture 11: Numerical Solution of Nonlinear Equations I </strong></p><p> Introduction and problem formulation  Graphical method for estimating solutions  Taylor series-based method: The solve_poly function revisited  Fixed-point iteration method: Single equation  Fixed-point iteration method: System of equations  Solving for complex roots </p><p> Appendix: Convergence rate of the fixed-point method </p><p><strong>Lecture 12: Numerical Solution of Nonlinear Equations II </strong></p><p> Newton’s method  Convergence analysis of Newton’s method </p><p> Secant method </p><p> Newton’s method for solving a system of equations </p><p> Bisection method  Matlab built-in numerical solver: fzero and fsolve  Matlab built-in <em>symbolic </em>solver: solve  Comparison of the different root finding methods  Appendix: Proof of the quadratic convergence of Newton’s method </p><p><strong>Lecture 13: Optimization I </strong></p><p> Introduction and motivation  Extreme points: Maxima, minima and inflection  Polynomial optimization: The optm_poly function  Application of numerical root-finding methods to optimization  Golden-section search for maxima/minima </p><p><strong>Lecture 14: Optimization II </strong></p><p> Parabolic interpolation  Parabolic interpolation-based optimization  Matlab’s built-in optimization function: fminbnd  Gradient-based optimization method  User-defined functions grad_optm1 and grad_optm2 </p><p><strong>Lecture 15: Systems of Linear Equations I </strong></p><p> Examples of systems of linear equations: Formulation and solution  Graphical representation: Singular and ill-conditioned systems  Gauss elimination: Function gauss  Pivoting: Function guass_pivot </p><p><strong>Lecture 16: Systems of Linear Equations II </strong></p><p> <strong>LU </strong>factorization and the solution of linear algebraic equations  Matlab’s lu function and the left-division operator: \ </p><p> More on Matlab’s left-division operator </p><p> Iterative methods: Jacobi and Gauss-Seidel algorithms </p><p><strong>Lecture 17: Polynomial Interpolation </strong></p><p> Introduction  Interpolation using a single polynomial </p><p> Newton’s interpolation polynomials </p><p> Matlab built-in polynomial interpolation: polyfit  The curse of high-dimensional polynomials  Cubic spline interpolation  Matlab built-in cubic spline interpolation: spline  Interpolation using rational functions </p><p><strong>Lecture 18: Curve Fitting by Least-Squares Regression </strong></p><p> Introduction  Linear least-squares regression and the straight line model  Linearization of nonlinear models  General linear least-squares regression and the polynomial model  Polynomial regression with Matlab: polyfit  Non-linear least-squares regression  Numerical solution of the non-linear LSE optimization problem: Gradient search and </p><p>Matlab’s fminsearch function </p><p><strong>Lecture 19: Numerical Integration I </strong></p><p> Introduction  Numerical integration formulas: o Simple integration: Approximation with a constant o Midpoint rule: Another approximation with a constant o Trapezoidal Rule: Approximation with a straight line </p><p>o Simpson’s 1/3 Rule: Approximation with a parabola o Simpson’s 3/8 Rule: Approximation with a 3rd-order polynomial </p><p> Matlab built-in numerical integration from data points: trapz  Numerical integration applied to generating Chebyshev power series </p><p><strong>Lecture 20: Numerical Integration II </strong></p><p> Introduction  Richardson extrapolation &amp; Romberg integration  Gauss quadrature: Two-point Gauss-Legendre formula  Adaptive quadrature  Matlab numerical integration functions quad &amp; quadl (or integral)  Matlab polynomial and symbolic integration: polyint and int  Taylor series-based integration </p><p> Multiple integrals: dblquad (integral2) and triplequad (integral3) </p><p> Monte Carlo integration </p><p><strong>Lecture 21: Numerical Differentiation </strong></p><p> Introduction  Differentiation formulas  Richardson extrapolation  Matlab numerical differentiation functions: diff  Matlab polynomial and symbolic differentiation: polyder and diff </p><p><strong>Lecture 22: Numerical Solution of Differential Equations </strong></p><p> Introduction </p><p> Euler’s method for solving first-order ODEs  Euler’s method for higher-order ODEs  Error analysis of Euler’s method  Improving Euler’s method: Heun’s &amp; Runge-Kutta methods  Matlab’s function ode45 </p><p> Case study: Bungee jumper  Appendix: Symbolic solution of ODE’s using Matlab’s dsolve </p><p><strong>Appendix A: Numerical Solution of Some Interesting Systems of ODEs </strong></p><p> Hanging Two-Mass, Two-Spring Linear (Ideal) System  Tunnel Diode Circuit  The (Diffusion-less) Lorenz Dynamical System  Euler’s Restricted Three-Body Problem  The General (Planar) Three-Body Problem  Extremizing Functions: The suspended chain and other problems </p><p><strong>Appendix B: Summary of User-Defined and Built-in Matlab Functions Appendix C: The 10 Most Important Matlab Functions for Numerical Methods Appendix D: Numerical Methods and Vintage Programmable Calculators </strong></p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us