CSE 3802 / ECE Numerical Methods in Scientific Computation. Jinbo Bi. Department of Computer Science & Engineering

Similar documents
ECE 2100 Circuit Analysis

Single and Double Pendulum Models

Chapter 7 Response of First-order RL and RC Circuits

EEEB113 CIRCUIT ANALYSIS I

Ordinary Differential Equations

6.01: Introduction to EECS I Lecture 8 March 29, 2011

Chapter 2. First Order Scalar Equations

INDEX. Transient analysis 1 Initial Conditions 1

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

LabQuest 24. Capacitors

not to be republished NCERT MATHEMATICAL MODELLING Appendix 2 A.2.1 Introduction A.2.2 Why Mathematical Modelling?

ECE 2100 Circuit Analysis

5.2. The Natural Logarithm. Solution

EE 330 Lecture 23. Small Signal Analysis Small Signal Modelling

Chapter 8 The Complete Response of RL and RC Circuits

Math Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.

EE100 Lab 3 Experiment Guide: RC Circuits

Kinematics and kinematic functions

Voltage/current relationship Stored Energy. RL / RC circuits Steady State / Transient response Natural / Step response

Lecture 13 RC/RL Circuits, Time Dependent Op Amp Circuits

EE202 Circuit Theory II , Spring. Dr. Yılmaz KALKAN & Dr. Atilla DÖNÜK

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

8. Basic RL and RC Circuits

MATH 128A, SUMMER 2009, FINAL EXAM SOLUTION

Ordinary differential equations. Phys 750 Lecture 7

CHBE320 LECTURE IV MATHEMATICAL MODELING OF CHEMICAL PROCESS. Professor Dae Ryook Yang

Direct Current Circuits. February 19, 2014 Physics for Scientists & Engineers 2, Chapter 26 1

Announcements: Warm-up Exercise:

Elementary Differential Equations and Boundary Value Problems

Topic Astable Circuits. Recall that an astable circuit has two unstable states;

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page

Inductor Energy Storage

Electrical Circuits. 1. Circuit Laws. Tools Used in Lab 13 Series Circuits Damped Vibrations: Energy Van der Pol Circuit

HOMEWORK # 2: MATH 211, SPRING Note: This is the last solution set where I will describe the MATLAB I used to make my pictures.

Physical Limitations of Logic Gates Week 10a

IMPROVED HYPERBOLIC FUNCTION METHOD AND EXACT SOLUTIONS FOR VARIABLE COEFFICIENT BENJAMIN-BONA-MAHONY-BURGERS EQUATION

EECE251. Circuit Analysis I. Set 4: Capacitors, Inductors, and First-Order Linear Circuits

Chapter 3 Boundary Value Problem

Math 23 Spring Differential Equations. Final Exam Due Date: Tuesday, June 6, 5pm

Some Basic Information about M-S-D Systems

EE650R: Reliability Physics of Nanoelectronic Devices Lecture 9:

L07. KALMAN FILTERING FOR NON-LINEAR SYSTEMS. NA568 Mobile Robotics: Methods & Algorithms

CHE302 LECTURE IV MATHEMATICAL MODELING OF CHEMICAL PROCESS. Professor Dae Ryook Yang

4.6 One Dimensional Kinematics and Integration

MTH Feburary 2012 Final term PAPER SOLVED TODAY s Paper

First Order RC and RL Transient Circuits

Chapter 5-4 Operational amplifier Department of Mechanical Engineering

ln 2 1 ln y x c y C x

Two Coupled Oscillators / Normal Modes

Analytic Model and Bilateral Approximation for Clocked Comparator

Chapter #1 EEE8013 EEE3001. Linear Controller Design and State Space Analysis

Lecture 1 Overview. course mechanics. outline & topics. what is a linear dynamical system? why study linear systems? some examples

Phys1112: DC and RC circuits

CHAPTER 6: FIRST-ORDER CIRCUITS

Math 115 Final Exam December 14, 2017

Math 221: Mathematical Notation

Testing What You Know Now

Homework-8(1) P8.3-1, 3, 8, 10, 17, 21, 24, 28,29 P8.4-1, 2, 5

Differential Equations

Math 2214 Solution Test 1A Spring 2016

Chapter 1 Fundamental Concepts

EE 301 Lab 2 Convolution

Vehicle Arrival Models : Headway

Lecture Outline. Introduction Transmission Line Equations Transmission Line Wave Equations 8/10/2018. EE 4347 Applied Electromagnetics.

Structural Dynamics and Earthquake Engineering

R.#W.#Erickson# Department#of#Electrical,#Computer,#and#Energy#Engineering# University#of#Colorado,#Boulder#

Predator - Prey Model Trajectories and the nonlinear conservation law

Variational Iteration Method for Solving System of Fractional Order Ordinary Differential Equations

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates

Basic Circuit Elements Professor J R Lucas November 2001

) were both constant and we brought them from under the integral.

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Math 2214 Solution Test 1B Fall 2017

Embedded Systems and Software. A Simple Introduction to Embedded Control Systems (PID Control)

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

arxiv:quant-ph/ v1 5 Jul 2004

Class Meeting # 10: Introduction to the Wave Equation

EECE 301 Signals & Systems Prof. Mark Fowler

LAPLACE TRANSFORM AND TRANSFER FUNCTION

EXERCISES FOR SECTION 1.5

Fractional Method of Characteristics for Fractional Partial Differential Equations

ODEs II, Lecture 1: Homogeneous Linear Systems - I. Mike Raugh 1. March 8, 2004

6.003 Homework 1. Problems. Due at the beginning of recitation on Wednesday, February 10, 2010.

Lab 10: RC, RL, and RLC Circuits

Physics 1402: Lecture 22 Today s Agenda

Ordinary dierential equations

Multi-scale 2D acoustic full waveform inversion with high frequency impulsive source

Chemical Engineering Thermodynamics

LAB 5: Computer Simulation of RLC Circuit Response using PSpice

Chapter 5 Digital PID control algorithm. Hesheng Wang Department of Automation,SJTU 2016,03

arxiv: v1 [math.na] 23 Feb 2016

Week 1 Lecture 2 Problems 2, 5. What if something oscillates with no obvious spring? What is ω? (problem set problem)

An introduction to the theory of SDDP algorithm

Notes on Kalman Filtering

u(x) = e x 2 y + 2 ) Integrate and solve for x (1 + x)y + y = cos x Answer: Divide both sides by 1 + x and solve for y. y = x y + cos x

6.003: Signals and Systems. Lecture 1 Introduction to Signals and Systems

4.2 The Fourier Transform

EECE 301 Signals & Systems Prof. Mark Fowler

Chapter 2. Models, Censoring, and Likelihood for Failure-Time Data

8.022 (E&M) Lecture 16

Transcription:

CSE 3802 / ECE 3431 Numerical Mehods in Scienific Compuaion Jinbo Bi Deparmen of Compuer Science & Engineering hp://www.engr.uconn.edu/~jinbo 1

Ph.D in Mahemaics The Insrucor Previous professional experience: Siemens Medical Soluions Inc. Deparmen of Defense, Bioanalysis Massachuses General Hospial Research ineress: biomedical informaics, machine learning, daa mining, opimizaion, mahemaical programming, Apply machine learning echniques in medical image analysis, paien healh records analysis Resume is a hp://www.engr.uconn.edu/~jinbo 2

Class Meeings Lecures are Tuesday and Thursday, 9:30 10:45 am No specific lab ime, bu significan compuer ime expeced. Compuers are available in ITEB C25 and C27. 3

Class Assignmens Homework will be assigned once every week or wo and due usually he following week. You may collaborae on he homework, bu your submissions should be your own work. Grading: Homework 30% Exam 1 and 2 40% Final Exam 30% 4

Mahemaical Background MATH 2110Q Mulivariae Calculus Taylor series MATH 2410Q Inroducion o Differenial Equaions Inegraion Linear Algebra 5

Compuer Background Languages o be used: Malab, C, C++ CSE 1100/1010 programming experience Any OS is accepable 6

Syllabus Go over he course syllabus Course websie hp://www.engr.uconn.edu/~jinbo/fall2011_ Numerical_Mehods.hm 7

Today s Class: Inroducion o numerical mehods Basic conen of course and class expecaions Mahemaical modeling 8

Inroducion Wha are numerical mehods? echniques by which mahemaical problems are formulaed so ha hey can be solved wih arihmeic operaions. (Chopra and Canale) Wha ype of mahemaical problems? Roos, Inegraion, Opimizaion, Curve Fiing, Differenial Equaions, and Linear Sysems 9

Inroducion How do you solve hese difficul mahemaical problems? Example: Wha are he roos of x 2-7x+12? Three general non-compuer mehods Analyical Graphical Manual 10

Analyical Soluions This is wha you learned in mah class Gives exac soluions Example: x 7x + 12 Roos a 3 and 4 2 = ( x 3)( x 4) No always possible for all problems and usually resriced o simple problems wih few variables or axes The real world is more complex han he simple problems in mah class 11

Graphical Soluion 12

Manual Soluion Using pen and paper, slide rules, ec. o solve an engineering problem Very ime consuming Error-prone 13

Numerical Mehods Wha are numerical mehods? echniques by which mahemaical problems are formulaed so ha hey can be solved wih arihmeic operaions. (Chopra and Canale) Arihmeic operaions map ino compuer arihmeic insrucions Numerical mehods allow us o formulae mahemaical problems so hey can be solved numerically (e.g., by compuer) 14

Course Overview Wha is his course abou? Using numerical mehods o solve mahemaical problems ha arise in engineering Mos of he focus will be on engineering problems 15

Basic Maerials Inroducion Programming Mahemaical Modeling Error Analysis Mahemaical Problems Roos, Inegraion, Opimizaion, Curve Fiing, Differenial Equaions, and Linear Sysems 16

Mahemaical Modeling A mahemaical model is he formulaion of a physical or engineering sysem in mahemaical erms. Empirical Theoreical 17

Mahemaical Modeling Dependen variable = f ( independen variables, parameers, forcing funcions ) In an elecrical circui, I = V/R; The curren, I, is dependen on resisance parameer, R, and forcing volage funcion, V. 18

Example 1 Wha is he velociy of a falling objec? Firs sep is o model he sysem Newon s second law F dv F = ma a = = m d Toal force is graviy and air resisance F m F = F Graviy + F Air = mg cv 19

Example 1 dv d = F m = mg cv m = g c m v Firs order differenial equaion Analyical soluion v( ) = gm c (1 e mc ) 20

Example 1 m=68.1kg, c=12.5 kg/s 21

Example 1 Wha if we can find an analyical soluion? How do you ge a compuer o solve he differenial equaion? Use numerical mehods 22

Euler s Mehod Use he finie divided difference approximaion of he derivaive dv d = v( i+ 1 ) ( i) i+ 1 v i The approximaion becomes exac as Δ 0 23

Using Euler s mehod, we can approximae he velociy curve Euler s Mehod ) ( ) ( ) ( 1 1 i i i i i v m c g v v d dv = = + + + = + + ) ( ) ( ) ( ) ( 1 1 i i i i i v m c g v v 24

Euler s Mehod Assume Δ=2 v( 0) = 0 c v( 2) = v(0) + 2 g v(0) = 19.6 m c v( 4) = v(2) + 2 g v(2) = 32.0 m 25

Euler s mehod 26

Euler s Mehod Avoids solving differenial equaion No an exac approximaion of he funcion Ges more exac as Δ 0 How do we choose Δ? Dependen on he olerance of error. How do we esimae he error? 27

Example 2 Find i() swich resisor Vol supply capacior 28

Example 2 V i( ) dv d = Ri( ) + v ( ) dvc = C d 1 = ( V RC Analyical soluion c c v v c( ) V 1 e i( ) c = RC dvc = C d 29 = ( )) V R e RC

Example 2 Numerical soluion V = Ri( ) + v ( ) di 0 = R + d di 0 = R + d c dvc d i( ) C di d = 1 RC i( ) 30

Example 2 di d 1 = i( j ) RC = i( i( ) i( ) ( 1 j+ 1 = j j+ j+ 1 ) ( j ) j+ 1 j i j i( j ) ) RC Iniial value of i()=v/r i (0) = V R i(0) V 2 i(2) = i(0) 2 = 1 RC R RC.. 31

Nex class Programming and Sofware Read Chapers 1 & 2 32