Eigenvalues of Ordinary Differential Equations Jake Blanchard University of Wisconsin.

Slides:



Advertisements
Similar presentations
Partial Differential Equations
Advertisements

1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
PART 7 Ordinary Differential Equations ODEs
Lecture 261 Nodal Analysis. Lecture 262 Example: A Summing Circuit The output voltage V of this circuit is proportional to the sum of the two input currents.
CVEN Exam 1 Review. Matlab.m files Matlab.m files Programming: FOR, WHILE, IF and FUNCTION Programming: FOR, WHILE, IF and FUNCTION Taylor Series.
Systems of Equations. I. Systems of Linear Equations Four Methods: 1. Elimination by Substitution 2. Elimination by Addition 3. Matrix Method 4. Cramer’s.
Parabolic PDEs Generally involve change of quantity in space and time Equivalent to our previous example - heat conduction.
SYSTEM OF DIFFERENTIAL EQUATIONS f(t) : Input u(t) and v(t) : Outputs to be found System of constant coefficient differential equations with two unknowns.
EXAMPLE 2 Solve a matrix equation SOLUTION Begin by finding the inverse of A = Solve the matrix equation AX = B for the 2 × 2 matrix X. 2 –7 –1.
Outline Lesson 1. Introduction to ANSYS Lesson 2. Basics Lesson 3. Solution phases Lesson 4. Modeling Lesson 5. Material Lesson 6. Loading Lesson 7. Solution.
Curve Fitting and Interpolation: Lecture (I)
Chapter 10: Graphics MATLAB for Scientist and Engineers Using Symbolic Toolbox.
MECN 3500 Inter - Bayamon Lecture 7 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
METHODS OF CIRCUIT ANALYSIS
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
MA2213 Lecture 11 PDE. Topics Introduction p Poisson equation p Visualization of numerical results p Boundary conditions p.
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 31.
Homogeneous Linear Systems with Constant Coefficients Solutions of Systems of ODEs.
Introduction Examples of differential equations and related problems Analytical versus numerical solutions Ideas of numerical representations of solutions.
Boundary Value Problems l Up to this point we have solved differential equations that have all of their initial conditions specified. l There is another.
The Configuration Factors between Ring Shape Finite Areas in Cylinders and Cones Cosmin DAN, Gilbert DE MEY.
Section 7-3 Solving 3 x 3 systems of equations. Solving 3 x 3 Systems  substitution (triangular form)  Gaussian elimination  using an augmented matrix.
Linear Algebra Diyako Ghaderyan 1 Contents:  Linear Equations in Linear Algebra  Matrix Algebra  Determinants  Vector Spaces  Eigenvalues.
1 ECE 1304 Introduction to Electrical and Computer Engineering Section 1.7 Linear Algebra with MATLAB.
Material Point Method Solution Procedure Wednesday, 10/9/2002 Map from particles to grid Interpolate from grid to particles Constitutive model Boundary.
Numerical methods 1 An Introduction to Numerical Methods For Weather Prediction by Mariano Hortal office 122.
Final Project Topics Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Linear Algebra Diyako Ghaderyan 1 Contents:  Linear Equations in Linear Algebra  Matrix Algebra  Determinants  Vector Spaces  Eigenvalues.
Chapter 7 Finite element programming May 17, 2011.
The Finite Element Method A self-study course designed for engineering students.
Differential Equations Linear Equations with Variable Coefficients.
Finishing up Chapter 5. Will this code enter the if statement? G=[30,55,10] if G
Simple Equations Brackets Consider the simple equation 5(2x+3) = 3(x+9) Remove the brackets to obtain 10x + 15 = 3x + 27 Subtract 15 from both sides.
Department of Mathematics Numerical Solutions to Partial Differential Equations Ch 12. Applied mathematics. Korea University.
Solving a System of 3 Equations with 3 Unknowns. Breakdown Step 1 Labeling Step 2 Reduce to a 2 by 2 Step 3 Substitute Back In Step 4 Check Solution.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 11. Ordinary differential equations. Boundary value problems.
Introduction to Differential Equations
Engineering Problem Solution
Chapter 12 Section 1.
Solving Linear Inequalities in One Unknown
Scientific Computing Lab
Differentiation-Discrete Functions
CHAPTER 3 NUMERICAL METHODS.
Introduction to Functions
Deflated Conjugate Gradient Method
Partial Differential Equations
Inconsistent and Dependent Systems and Their Applications
Chapter 27.
Find 4 A + 2 B if {image} and {image} Select the correct answer.
The Finite Element Method
Chapter 31.
Numerical Solutions of Partial Differential Equations
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
Chapter 11 review – radical equations
One dimensional Poisson equation
Linear Algebra Lecture 3.
Finite difference time domain
Numerical Solutions of Ordinary Differential Equations
ARRAY DIVISION Identity matrix Islamic University of Gaza
Finite element method.
Solving systems using substitution
Boundary Value Problems
Objective: To know the equations of simple straight lines.
Example 5A: Solving Simple Rational Equations
Programming assignment #1 Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
SYSTEM OF DIFFERENTIAL EQUATIONS
Multiply by 5/40 and sum with 2nd row
Home assignment #3 (1) (Total 3 problems) Due: 12 November 2018
Objective: To know the equations of simple straight lines.
Presentation transcript:

Eigenvalues of Ordinary Differential Equations Jake Blanchard University of Wisconsin

Introduction Finite Difference Techniques Matlab

Model Problem A simple eigenvalue problem Solution

Finite Difference Solution

Choosing a Mesh Divide range 0<x<1 into 8 regions This produces 9 mesh points Boundary conditions eliminate two unknowns We’re left with 7 unknowns (the 7 internal mesh points)

Matrix Equation

Code n=7; h=1/(n+1); voffdiag=ones(n-1,1); mymat=-2*eye(n)+diag(voffdiag,1)+diag(voffdiag,-1); D=sort(eig(mymat),'descend'); lam=sqrt(-D)/h; check=lam/pi; myint=(1:n)'; plot(myint,check,myint,myint) myerr=abs(check-myint)./(myint); figure semilogy(myint,myerr)

Results – n=7

Results (error) – n=7

Results – n=2000

Results (error) – n=2000