Recapitulation of Lecture 12

Slides:



Advertisements
Similar presentations
Lecture 4 Graphic Primitives, Line. Features of a simple graphic program.
Advertisements

Numeriska beräkningar i Naturvetenskap och Teknik 1. Numerical differentiation and quadrature Discrete differentiation and integration Trapezoidal and.
Lecture 18 - Numerical Differentiation
Solving Engineering Problems by Using Computer A Case Study on Fed-Batch Bioreactor.
Chapter 5 Numerical Differentiation and Integration.
王俊鑫 (Chun-Hsin Wang) 中華大學 資訊工程系 Fall 2002 Chap 2 Numerical Methods for First-Order Differential Equations.
Numerical Solution of Ordinary Differential Equation
Area of a single trapezoid = h
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
1 Numerical Analysis Lecture 12 Numerical Integration Dr. Nader Okasha.
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
1 Numerical Integration Section Why Numerical Integration? Let’s say we want to evaluate the following definite integral:
Lecture 2 Numerical Methods for Engineering MECN 3500 Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus Dr.
Intelligent Numerical Computation1 Numerical Analysis MATLAB programming Numerical Methods Applications Contents.
ITEC 109 Lecture 11 While loops. while loops Review Choices –1 st –2 nd to ?th –Last What happens if you only use ifs? Can you have just an else by itself?
Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization.
Lecture 6: Time Response 1.Time response determination Review of differential equation approach Introduce transfer function approach 2.MATLAB commands.
ME 142 Engineering Computation I Exam 3 Review Mathematica.
Ch 8.2: Improvements on the Euler Method Consider the initial value problem y' = f (t, y), y(t 0 ) = y 0, with solution  (t). For many problems, Euler’s.
Differential Equations Linear Equations with Variable Coefficients.
ME 123 Computer Applications I Lecture 16: More Matlab Programming: Secant Method, Review 4/4/03.
Trapezoidal Rule & Simpsons Rule AP Calculus Mrs. Mongold.
AP Calculus AB 6.3 Separation of Variables Objective: Recognize and solve differential equations by separation of variables. Use differential equations.
Solving Ordinary Differential Equations
Quadrature – Concepts (numerical integration) Don Allen.
Rules of differentiation REVIEW:. The Chain Rule.
CALCULUS REVIEW BME 3510 C PO-WEI CHEN 8/19/2014.
S5.40. Module Structure 30% practical tests / 70% written exam 3h lectures / week (except reading week) 3 x 2h of computer labs (solving problems practicing.
§ 4.2 The Exponential Function e x.
Engineering Problem Solution
Lecture 19 – Numerical Integration
NUMERICAL INTEGRATION
Numerical Methods by Dr. Laila Fouad.
5.5 Trapezoidal Rule.
CHAPTER 3 NUMERICAL METHODS.
Area of a single trapezoid = h
CSE245: Computer-Aided Circuit Simulation and Verification
Section Euler’s Method
Differential Equations Separation of Variables
ME 123 Computer Applications I
ME 123 Computer Applications I Lecture 24: Character Strings 4/18/03
Numerical Solutions of Partial Differential Equations
CSE245: Computer-Aided Circuit Simulation and Verification
Area of a single trapezoid = h
WELCOME TO MY CLASS NUMERICAL METHOD Name : Masduki
Euler’s Method of Approximation and Slope Fields
Numerical Solutions of Ordinary Differential Equations
73 – Differential Equations and Natural Logarithms No Calculator
Algebra 2 Ch.3 Notes Page 15 P Solving Systems Algebraically.
ME 123 Computer Applications I Lecture 23: Advanced Graphics 4/17/03
Recapitulation of Lecture 8
Simpson’s 1/3rd Rule of Integration
Choose the differential equation corresponding to this direction field
Assignment 1: due 1/16/19 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.
Area of a single trapezoid = h
Assignment 1: due 1/17/19 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.
CPE 332 Computer Engineering Mathematics II
ME 123 Computer Applications I Lecture 25: MATLAB Overview 4/28/03
Recapitulation of Lecture 11
Recapitulation of Lecture 5
Reading Between the Lines!
ME 123 Computer Applications I
ME 123 Computer Applications I Lecture 11: More on For loop 3/27/03
Recapitulation of Lecture 13
ME 123 Computer Applications I Lecture 4: Vectors and Matrices 3/14/03
Numerical Integration
ME 123 Computer Applications I Lecture 8: System of Equations 3/21/03
ME 123 Computer Applications I Lecture 5: Input and Output 3/17/03
ME 123 Computer Applications I Lecture 7: Basic Functions 3/20/03
Presentation transcript:

ME 123 Computer Applications I Lecture 13: Numerical Integration of Simple ODE 3/31/03

Recapitulation of Lecture 12 In the last lecture, we applied the for loop structure to perform numerical integration using trapezoidal method: area under a curve; solution to a simple differential equation. Your homework was to program two more approximation methods: rectangular method; Simpson’s rule Homework feedback: Please document your program! Take advantage of the automatic indentation feature in the Matlab editor. It can help you see the for loop and if statement much better. Output statement slows down your code performance significantly! Avoid them within your calculation loop to save time. Do all the output at the end. Lecture 13 ME 123 Computer Applications I

ME 123 Computer Applications I Road Map of Lecture 13 Solutions to HW 3-4 More application problems on using the for loop: marching solution to ordinary differential equation concept of time marching: know the presence, then predict the future implementation of the Explicit Euler method Introduce the debugger: set break point step through program hover over variables to get their values Lecture 13 ME 123 Computer Applications I