175
Engineering analysis Control of Medical System Engineering Third year 2016/2017 Dr Safanah Mudheher

Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Engineering analysis

Control of Medical System Engineering

Third year

2016/2017

Dr Safanah Mudheher

Page 2: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Course Description:

• This course provides students with the mathematical foundation for the System Engineering Program.

• It will address the fundamentals of mathematical tools that are part of the System Engineering Program.

• The topics covered are Higher Order Ordinary Differential Equations, Matrix Algebra, Curve-Fits, Interpolation, Eigenvalue and Eigenvector Problems, Partial Differential Equations.

Page 3: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Class Participation

• There will be discussion boards for students to discuss among themselves different aspects of the course, and I will participate in the discussions when it is appropriate.

• I encourage people to work together on homework assignments. Use the discussion board to post your questions and to read the responses from your classmates.

• Exams are on an individual basis. Any questions on exams should be directed to me. I will add information to the exams if there many students are experiencing particular problems.

Page 4: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Policy on late/missing assignments

• It is important that students maintain the proper pace in this course. For that reason, homework and other assignments are expected to be submitted on time. Homework will be accepted up to one week late with a 50% penalty.

• Work submitted after one week will not be accepted. Exception may be made for extraordinary circumstances, but these are on an individual basis and must be approved by me in advance of the due date for the homework. Examples of circumstances include illness and family emergencies.

Page 5: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Assessment / Grading

• Homework

• Exams

Page 6: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Part-1 Ordinary Differential Eqautions Review First-Order ODEs

• Understanding the basics of ODEs requires solving problems by hand.

• The process of setting up a model, solving it mathematically, and interpreting the result in physical or other terms is called mathematical modeling or, briefly, modeling.

• a model is very often an equation containing derivatives of an unknown function. Such a model is called a differential equation.

Page 7: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Some applications of differential equations

Page 8: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 9: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 10: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Geometric Meaning of y ‘= f (x, y) Direction Fields, Euler’s Method

Page 11: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 12: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 13: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Linear ODEs. Bernoulli Equation. Population Dynamics

• A first-order ODE is said to be linear if it can be brought into the form

• by algebra, and nonlinear if it cannot be brought into this form.

• p and r may be any given functions of x.

• If in an application the independent variable is time, we write t instead of x.

Page 14: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 15: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

We multiply (1) by F(x), obtaining

Page 16: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 17: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 18: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 19: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 20: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 21: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Homogeneous Linear ODEs of Second Order

Page 22: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 23: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 24: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 25: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Homogeneous Linear ODEs with Constant Coefficients

the solution of the first-order linear ODE with a constant coefficient k

Page 26: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 27: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 28: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 29: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 30: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 31: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 32: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 33: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 34: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Thank you

Page 35: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Homogeneous Linear Higher Order Constant Coefficient Equations

Engineering Analysis

2016/2017

Lecture 2

Page 36: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Undetermined Coefficients: Particular Integrals

• Like the nonhomogeneous second order constant coefficient differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential equation

• (53)

is a solution of the equation that does not contain arbitrary constants, so

Page 37: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• The complementary function yc(x) associated with (53) is the general solution of the homogeneous form of the equation

• It follows from the definitions of yc(x) and yp(x) and the linearity of the equation that the general solution y(x) of (53) can be written

Page 38: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example: Find the general solution of

Page 39: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 40: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 41: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example:

Page 42: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 43: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 44: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 45: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 46: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 47: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 48: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example:

Page 49: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 50: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 51: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Theorem:

Page 52: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example:

Page 53: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 54: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 55: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Engineering analysis

Control of Medical System Engineering

Third year

2015/2016

Dr Safanah Mudheher

Page 56: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Exact, Least-Squares, and Cubic Spline Curve-Fits

• Engineers conduct experiments and collect data in the laboratories. To make use of the collected data, these data often need to be fitted with some particularly selected curves.

• For example, one may want to find a parabolic equation y = c 1+ c2x + c3x^2.

• which passes three given points (x i,y i ) for i = 1,2,3.

• This is a problem of exact curvefit.

Page 57: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• In case that we may want express this straight line by the equation y = c 1+ c2x for the stress and strain data collected for a stretching test of a metal bar in the elastic range, then the question of how to determine the two coefficients c1 and c2 is a matter of deciding on which criterion to adopt.

• The Least-Squares method is one of the criteria which is most popularly used. The two cases cited are the consideration of adopting the two and three lowest polynomial terms, x(0), x(1), and x(2),and linearly combining them.

Page 58: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

EXACT CURVE FIT

let us consider the problem of finding a parabolic equation

y = c 1+ c2x + c3x^2 which passes three given points

Page 59: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 60: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

GENERALIZED LEAST-SQUARES CURVEFIT

Page 61: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 62: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 63: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 64: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 65: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 66: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Fitting a Straight Line

Page 67: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 68: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

example

Page 69: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 70: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 71: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Exercises

• Given five points (1,1), (2,3), (3,2), (4,5), and (5,4), calculate the coefficients c1 and c2 in the linear equation y = c1 + c2x which fits the five points by the least-squares method.

• 2. For a given set of data (1,–2), (2,0), (3,1), and (4,3), two equations have been suggested to fit these points. They are Y = X–2 and Y = (-X^2 + 7X–10)/2. Based on the least-squares criterion, which equation should be chosen to provide a better fit? Explain why?

• 3. During a tensile-strength test of a metallic material the following data (Xi,Yi) for i = 1,2,…,7 where X and Y represent strain (extension per unit length) and stress (force per unit area), respectively, have been collected:

Page 72: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 73: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 74: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 75: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 76: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 77: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 78: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 79: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 80: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 81: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

exercises

Page 82: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 83: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 84: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 85: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 86: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

•Thank you

Page 87: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Series Solutions of

Differential Equations

Page 88: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 89: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 90: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 91: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 92: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

A General Approach to Power Series Solutions of Homogeneous Equations

Page 93: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 94: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 95: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 96: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 97: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 98: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Legendre’s equation • An important application of the power series method of solution is to

the Legendre differential equation

Page 99: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 100: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Similar to previous example

Page 101: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 102: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 103: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• As the solutions y1(x) and y2(x) are not proportional, they must be linearly independent solutions of the Legendre equation (10). We leave as an exercise the task of showing that each series is convergent in the interval −1 < x < 1, so the general solution (12) has this same interval of convergence.

• Examination of the recurrence relation (11) shows that if α = n is a nonnegative integer, the terms an+2 = an+4 = an+6 = · · · all vanish. Thus, if α = n is even, the series y1(x) will reduce to a polynomial of degree n in even powers of x, whereas if α = n is odd the series y2(x) will reduce to a polynomial of degree n in odd powers of x.

Page 104: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 105: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Legendre polynomials

Page 106: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 107: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• Results (15a, b) provide a general definition for a Legendre polynomial of any order, though when only a few low order polynomials are required it is often more convenient to generate them by means of the following recurrence relation that

Page 108: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 109: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Singular Points of Linear Differential Equations

• Previously, the power series method was used to find a solution of a homogeneous variable coefficient differential equation of the form

• Expressed differently, when (19) is written in the standard form

Page 110: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• the power series method can be applied to develop a solution about any point x0 at which the functions P(x) and Q(x) are analytic.

• Points regular and singular where P(x) and Q(x) are analytic are called regular points of the differential equation, and points where at least one is not analytic are called singular points.

• Equation (20) will be said to have a regular singular point at x0 if the functions

• are analytic at x0, and so have Taylor series expansions about x0. If at least one of these functions is not analytic at x0, the point will be said to be an irregular singular point.

Page 111: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Eigenvalues, Eigenvectors

Control and System Engineering Dept./Branch of

Control of Medical Engineering Systems

Third year

2016/2017

Page 112: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

We can write (12) as

Page 113: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

For n=2

Page 114: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 115: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 116: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 117: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 118: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 119: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Systems of ODEs as Models in Engineering Applications

• Mixing Problem Involving Two Tanks

• A mixing problem involving a single tank is modeled by a single ODE.

• The model will be a system of two first-order ODEs.

• Tank and in Fig. contain initially 100 gal of water each. In the water is pure, whereas 150 lb of fertilizer are dissolved in . By circulating liquid at a rate of and stirring (to keep the mixture uniform) the amounts of fertilizer in and in change with time t.

• How long should we let the liquid circulate so that T1 will contain at least half as much fertilizer as there will be left in T2?

Page 120: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 121: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 122: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 123: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 124: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Electrical Network

• Find the currents I1 and I2 in the network. Assume all currents and charges to be zero at t=0, the instant when the switch is closed.

• Solution. Step 1. Setting up the mathematical model. The model of this network is obtained from

Kirchhoff’s Voltage Law,

• Let I1(t) and I2(t) be the currents

Page 125: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 126: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 127: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 128: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 129: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 130: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 131: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 132: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 133: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 134: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 135: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

COMPLEX ANALYSIS Analytic Functions

Control of Medical System Engineering/

Third year

Control & System Engineering Dept.

2016-2017

Page 136: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Complex Functions and Mappings

• A typical example of a complex function is the nth degree polynomial

where the coefficients a0, a1, . . . , an are complex numbers and z = x + iy is an arbitrary complex variable.

• an arbitrary complex function w = f (z) can be introduced by considering two complex planes, one the z-plane containing the points z = x + iy and the other the w-plane containing the points w = u + iv, as shown in Fig. 13.1

Page 137: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

To develop this idea further, let a set of points D in the z-plane be such

that to each point z in D there corresponds a unique complex number w belonging

to another set of points in the w-plane.

Then the set D is said to be mapped onto the set by a single-valued function of

the complex variable z.

A point w0 in the w-plane corresponding to a point z0 in the z-plane is called the image of z0.

Page 138: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• The term single-valued is used because, by hypothesis, each point of D corresponds to one and only one point of Ω , and the name mapping is used because an arbitrary curve in D will correspond (be mapped) to a corresponding curve in Ω , with each point of the curve in the image of a point in D.

• The relationship between the points in D and the corresponding points in Ω is shown by the usual functional notation

• Set Dis called the domain of definition of the complex function f (z), and set is called its range.

Page 139: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• A set G will be said to be connected if every pair of points in G can be joined by an unbroken path with the property that every point of the path also belongs to G. Here, the path may be either a curve or a set of straight line segments joined end to end.

• A neighborhood of a point z0 in G is defined as all the points of a set contained strictly inside a circle of arbitrarily small radius with its center at z0. A point z0 is called an interior point of Gif a neighborhood of z0 only contains points of G.

• If a neighborhood of z0 contains no points of G, the point z0 is called an exterior point of G. When any neighborhood of z0 contains both interior and exterior points of G, the point z0 is called a boundary point of G.

Page 140: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 141: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• A set G that contains no boundary points is called an open set.

• If every boundary and connectivity point of set G belongs to G, then G said to be closed.

• The name domain is given to an open connected set, while the more general term region is used to describe a connected set of points that may contain none, some, or all of its boundary points.

• A typical open connected set G is the disc |z| < 1 in the z-plane.

• The set is connected because every point in G can be joined to every other point in G by a curve lying entirely inside G,

• a neighborhood of z0 can always be found that only contains points of G.

• This becomes a closed set if the relation |z| < 1 is replaced by |z| ≤ 1, because then the boundary of G formed by the circle |z| = 1 belongs to the set.

• These ideas are illustrated in Fig. 13.2.

Page 142: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• The complex function (2) can be written in its cartesian form as

• where u(x, y) and v(x, y) are real functions of the real variables x and y denoted by

Page 143: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 144: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 145: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 146: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 147: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 148: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 149: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 150: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 151: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 152: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• Setting z= x + iy in w = 2z+ 1 gives w = u + iv = 2x + 1 + 2iy, so u = 2x + 1 and v = 2y. The top boundary of the area in the z-plane in Fig. 13.5 is −1 < x < 1, y = 2, so using these results in the mapping shows the image of this boundary in the w-plane to be given by u = 2x + 1, with −1 < x < 1, and v = 4.

• A repetition of this form of argument applied to the other three sides of the rectangle establishes that the image in the w-plane of the rectangle in the z-plane is the one illustrated on the right of Fig. 13.5.

• A general point (x, y) inside the rectangle in the z- plane maps to the point (2x + 1, 2y) in the w-plane with−1 < x < 1,−2 < y < 2, and this point is seen to lie inside the rectangular boundary in the w-plane.

• Consequently, all points inside the rectangle in the z-plane map to points inside the image rectangle in the w-plane.

• Inspection of Fig. 13.5 shows that the geometrical effect of this mapping is first to scale the rectangle in the z-plane uniformly by a factor 2 in both the x and y directions, and then to shift the origin parallel to the real axis.

Page 153: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

exercises

Page 154: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Scalar and Vector Fields, Limits,

Continuity, and Differentiability Control of Medical System Engineering/

Third year

Control & System Engineering Dept.

2016-2017

Page 155: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• A scalar function F(x, y, z) defined over some region of space D is a function that assigns to each point P0 in D with coordinates (x0, y0, z0) the number F(P0) = F(x0, y0, z0).

• The set of all numbers F(P) for all points P in D are said to form a scalar field over D. If P has position vector r, we can write the scalar field F(x, y, z) in the form F(P) = F(r) to emphasize the fact that a scalar value F(r) is associated with the position vector r in D.

• In physical problems P is usually a point in space, and in addition to depending on P, the function F often also depends on the time t, so then F(P, t) = F(x, y, z, t) and in this case we can write F(P, t) = F(r, t).

• A typical example of a time dependent scalar field is provided by the temperature distribution throughout a block of metal heated in such a way that the temperatures on its sides vary with time.

Page 156: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

• vector field defined by a vector fields function F(x, y, z) over some region of space D that assigns to each point P0 in D with coordinates (x0, y0, z0) the vector F(P0) = F(x0, y0, z0) with its tail at P0.

• Functions of this type are called either vector functions or vector-valued functions, and if P has position vector r we can write F(P) = F(r) to emphasize the fact that in this case a vector F(P) is associated with each position vector r in D.

• Like scalar fields, vector fields over D often depend on both position and the time t, so then F = F(x, y, z, t), and in this case we can write F(P, t) = F(r, t).

• An example of a time dependent vector field is provided by the fluid velocity vector in the unsteady flow of water around a bridge support column, because there the velocity depends on both the position vector r in the water and the time t at which the velocity is observed.

• In general, in terms of the unit vectors i, j, and k, a time-dependent vector-valued function can be defined by setting

Page 157: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

example

In order to perform calculus on vectors it is necessary to introduce the idea of

a vector as a function. The simplest example of this kind is a vector F(t) of a single real variable t, which in terms of cartesian coordinates can be written

Page 158: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

example

Page 159: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

example

Page 160: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 161: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 162: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 163: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 164: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 165: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 166: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 167: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

example

Page 168: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 169: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 170: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 171: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 172: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 173: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Example

Page 174: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential
Page 175: Engineering analysis - University of Technology, Iraq · differential equation, a particular integral yp(x) of the nonhomogeneous linear higher order constant coefficient differential

Exercises