Chapter 17 Boundary Value Problems. Standard Form of Two-Point Boundary Value Problem In total, there are n 1 +n 2 =N boundary conditions.

Slides:



Advertisements
Similar presentations
Lecture 5 Newton-Raphson Method
Advertisements

Numerical Solution of Nonlinear Equations
Line Search.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Computational Methods in Physics PHYS 3437
Optimization methods Review
Asymptotic error expansion Example 1: Numerical differentiation –Truncation error via Taylor expansion.
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
Lecture 18 - Numerical Differentiation
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
CSCE Review—Fortran. CSCE Review—I/O Patterns: Read until a sentinel value is found Read n, then read n things Read until EOF encountered.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Revision.
CVEN Exam 1 Review. Matlab.m files Matlab.m files Programming: FOR, WHILE, IF and FUNCTION Programming: FOR, WHILE, IF and FUNCTION Taylor Series.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
Lagrange interpolation Gives the same results as Newton, but different method.
Chapter 6 Numerical Interpolation
Differential Equations and Boundary Value Problems
Chapter 3 Root Finding.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM.
Computational Methods in Physics PHYS 3437 Dr Rob Thacker Dept of Astronomy & Physics (MM-301C)
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Lecture 19 - Numerical Integration CVEN 302 July 22, 2002.
Introduction to Numerical Analysis Using MATLAB
1 Chapter 7 NUMERICAL INTEGRATION. 2 PRELIMINARIES We use numerical integration when the function f(x) may not be integrable in closed form or even in.
Chapter 15 Modeling of Data. Statistics of Data Mean (or average): Variance: Median: a value x j such that half of the data are bigger than it, and half.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
EE 3561_Unit_1(c)Al-Dhaifallah EE 3561 : - Computational Methods in Electrical Engineering Unit 1: Introduction to Computational Methods and Taylor.
Introduction to Numerical Analysis I MATH/CMPSC 455 Fall 2011 Instructor: Xiaozhe Hu (Shawn)
Application of Differential Applied Optimization Problems.
Lecture 22 - Exam 2 Review CVEN 302 July 29, 2002.
Review Taylor Series and Error Analysis Roots of Equations
Lecture 8 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Integration of 3-body encounter. Figure taken from
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Curve-Fitting Regression
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
Ch. 3: Geometric Camera Calibration
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Introduction Course Outline.
CHAPTER 3 NUMERICAL METHODS
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
Data Modeling Patrice Koehl Department of Biological Sciences National University of Singapore
Chapter 10 Minimization or Maximization of Functions.
1 Chapter 6 General Strategy for Gradient methods (1) Calculate a search direction (2) Select a step length in that direction to reduce f(x) Steepest Descent.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 27.
Curve Fitting Introduction Least-Squares Regression Linear Regression Polynomial Regression Multiple Linear Regression Today’s class Numerical Methods.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
ESO 208A/ESO 218 COMPUTATIONAL METHODS IN ENGINEERING.
INTRO TO OPTIMIZATION MATH-415 Numerical Analysis 1.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Quadrature – Concepts (numerical integration) Don Allen.
Assignment 1: due 1/19/16 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 21 Numerical Differentiation.
CHAPTER 3 NUMERICAL METHODS.
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Chapter 23.
Numerical Analysis Lecture 45.
Computers in Civil Engineering 53:081 Spring 2003
Chapter 10. Numerical Solutions of Nonlinear Systems of Equations
Numerical Integration:
ANSWER THE FOLLOWING BRIEFLY BUT COMPREHENSIVELY.
Introduction CSE 541.
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Presentation transcript:

Chapter 17 Boundary Value Problems

Standard Form of Two-Point Boundary Value Problem In total, there are n 1 +n 2 =N boundary conditions.

Example, Eigenvalue Problem is also unknown.

Shooting Method Use Newton- Raphson to get the target

The Shooting Method (start) At the starting point x 1 we have n 1 conditions to satisfy, thus we have n 2 =N-n 1 freely variable starting parameters Let be the initial values of y which is parametrized by n 2 V-values without constraint.

The Shooting Method (discrepancy) Using any standard ODE solver to find the solution at x 2. Compute a difference between the required boundary condition and actual value: Our objective is to search the root of F with respect to V.

Newton-Raphson for Root

An Example

Relaxation Methods Work with finite differences

Difference Method Consider Discretize the interval x j =a+jh and equation The difference equations form a linear system Ay = b if the equation is linear.

Reviews Errors in numerical calculations Linear systems Interpolations Integrations of definite integrals and differential equations Random number and Monte Carlo Least squares and optimizations Root finding Sorting, computational complexity FFT

Topics not Covered Eigenvalue problems, Ax= x Evaluation of special functions Integral equations Partial differential equations (PDE)

Review Problem 1 Mix and Match Problems Solve Ax = b Det(A) Approximate f(x) by polynomial Integrate Fit a straight line Find minima Solve ODE or PDE Estimate error of fit Compute condition number Traveling salesman Nonlinear equation Methods Crout’s Newton-Raphson Relax Gaussian quadrature Trapzoidal rule Romberg method LU SVD FFT Lagrange formula Neville’s shooting Gauss-Jordan elimination Euler Back/forward substitution Bulirsch-Stoer Spines Steepest descent Symplectic Conjugate gradient Secant Metropolis Golden section Bisection Heapsort Simulated annealing Bit-reversal Wavelet Variance Normal equation Levenberg-Marquardt Runge-Kutta

Review Problem 2 Error in numerical calculation, catastrophic cancellation Discuss the pitfalls of solving the quadratic equation by the standard formula Read the IEEE 754 webpage article “What every computer scientist should know about floating-point arithmetic”.

Review Problem 3 To interpolate or extrapolate with polynomials, we do Neville’s algorithm with Lagrange interpolation formula. Discuss what is required (computationally) if we consider rational functions (This is known as Padé approximation).

Review Problem 4 Work out the steps for Conjugate Gradient and Steepest Descent for minimum of the following function The minimum is at (2,2).

Review Problem 5 Discuss the general features (trajectories in phase space) of the ordinary differential equation of a pendulum. What method should be best used to solve it numerically?

Other Routine Problems Gauss elimination Solve LU decomposition with Crout’s Do interpolation with Neville’s The errors in well-known integration rules Do quick sort or heap sort on data Newton Raphson iteration formula Normal equation for least-square Euler/midpoint methods for ODE

Conceptual Type of Problems Existence of solutions O(N ? ) of an algorithm, why fast or slow Accuracy of methods O(h ? ) Basic analysis techniques (e.g. Taylor series expansion) Key idea in an algorithm or a method (e.g., conjugate gradient, gaussian quadrature, Romberg, quick sort, FFT, etc)