Solving Systems of ODE’s Dr. Mohammed Alsayed. Again we need the dsolve function. Example: For the system y 1 ' = y 2, y 2 ' = -y 1 + sin(5 t) with the.

Slides:



Advertisements
Similar presentations
Differential Equations Prof. Muhammad Saeed Mathematical Modeling and Simulation UsingMATLAB (Plus Symbolic Mathematics) 1.
Advertisements

Polaris Coordinates of a Vector How can we represent a vector? -We plot an arrow: the length proportional to magnitude of vector the line represents the.
CHAPTER 8 RESPONSE OF SECOND ORDER RLC CIRCUITS
ECE 471/571 - Lecture 13 Gradient Descent 10/13/14.
Beginning Programming for Engineers
Dr. Guy Tel-Zur Computational Physics Differential Equations Autumn Colors, by Bobby Mikul, Mikul Autumn Colors,
Eng Ship Structures 1 Hull Girder Response Analysis
Trigonometric Identities
Differential Equations Math Review with Matlab: Finding Solutions to Differential Equations S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department.
Calculus S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Taylor’s Series.
13.6 – The Tangent Function. The Tangent Function Use a calculator to find the sine and cosine of each value of . Then calculate the ratio. 1. radians2.30.
Polar Differentiation. Let r = f( θ ) and ( x,y) is the rectangular representation of the point having the polar representation ( r, θ ) Then x = f( θ.
Section 2.9 Linear Approximations and Differentials Math 1231: Single-Variable Calculus.
Trig Graphs. y = sin x y = cos x y = tan x y = sin x + 2.
Example: Obtain the Maclaurin’s expansion for
Trig – Section 4 Graphing Sine and Cosine Objectives: To graph sine and cosine curves To find amplitude, period and phase shifts.
Write the following trigonometric expression in terms of sine and cosine, and then simplify: sin x cot x Select the correct answer:
EXAMPLE 3 Simplify an expression Simplify the expression cos (x + π). Sum formula for cosine cos (x + π) = cos x cos π – sin x sin π Evaluate. = (cos x)(–1)
Simplify an expression
EXAMPLE 4 Solve a multi-step problem Write an exponential growth model giving the number n of incidents t years after About how many incidents were.
MTH 112 Elementary Functions Chapter 6 Trigonometric Identities, Inverse Functions, and Equations Section 5 Solving Trigonometric Equations.
Trigonometric equations
How do you simplify? Simple Complicated.
Parametric Equations Lesson 6.7. Movement of an Object  Consider the position of an object as a function of time The x coordinate is a function of time.
Intersection of Graphs of Polar Coordinates Lesson 10.9.
Linear Equations, Inequalities, and Absolute Value
5.5 Multiple-Angle and Product-Sum Formulas. Find all solutions in.
This is the graph of y = sin xo
Trigonometric Equations Edited by Mr. Francis Hung Last Updated: 2013–03–12 1http:///
Solving Trigonometric Equations Involving Multiple Angles 6.3 JMerrill, 2009.
Term 3 : Unit 1 Trigonometry (Part B) Name : ____________ ( ) Class : ______ Date :________ 1.3 Simple Identities 1.4 Trigonometric Equations.
Periodic Functions And Applications III
Algebra I Chapter 10 Review
Trigonometric Equations Edited by Mr. Francis Hung Last Updated:
Kristina Anderson March 25, EXIT FactorSimplifyFind xPotpourri
Separation of Variables Solving First Order Differential Equations.
CHAPTER Continuity Implicit Differentiation.
1 Chapter 11 Solution of Differential Equations with MATLAB MATLAB has some powerful features for solving differential equations of all types. We will.
Trig Review. 1.Sketch the graph of f(x) = e x. 2.Sketch the graph of g(x) = ln x.
Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics General Education Department Mathematics.
Precalculus Parametric Equations graphs. Parametric Equations  Graph parametric equations.  Determine an equivalent rectangular equation for parametric.
Simple Trigonometric Equations The sine graph below illustrates that there are many solutions to the trigonometric equation sin x = 0.5.
Trigonometric Equations 5.5. To solve an equation containing a single trigonometric function: Isolate the function on one side of the equation. Solve.
Practice Evaluate each of the following.
Trig Identities in Equations Brought to you by Seamus and Lucas.
Sum and Difference Formulas...using the sum and difference formula to solve trigonometric equation.
Problem w = w0 cos px 2L y For the beam and loading shown, (a) write the equations of the shear and bending-moment curves, (b) determine the magnitude.
Notes Over 7.6 Solving a Simple Radical Equation Solve the equation. Check your solution.
C2: Trigonometrical Identities
Simplify the following trigonometric expression as much as possible: cos B + sin B tan B Select the correct answer:
Chapter Review Beat the Clock! 6k + 2 = 26 Distribute Moving equal sign Simplify Solve.
Sin x = Solve for 0° ≤ x ≤ 720°
Pg. 407/423 Homework Pg. 407#33 Pg. 423 #16 – 18 all #9 tan x#31#32 #1x = 0.30, 2.84#2x = 0.72, 5.56 #3x = 0.98#4No Solution! #5x = π/6, 5π/6#6Ɵ = π/8.
5.7 – Curve Fitting with Quadratic Models
Curves Dr Duxbury.
BACK SOLUTION:
Solve: 1. 4<
Find all solutions of the equation
Solving Systems of Equations using Substitution
Objective The student will be able to:
What is an equation? An equation is a mathematical statement that two expressions are equal. For example, = 7 is an equation. Note: An equation.
Objective The student will be able to:
Week 6 If sin θ= 5 13 and θ is acute, find the value of cos θ
Who Wants to be an Equationaire?. Who Wants to be an Equationaire?
POWER CHALLENGES Several Ways To Solve 7 CHALLENGES.
Objective The student will be able to:
½ of 6 = 3.
Objective The student will be able to:
Objective The student will be able to:
Presentation transcript:

Solving Systems of ODE’s Dr. Mohammed Alsayed

Again we need the dsolve function. Example: For the system y 1 ' = y 2, y 2 ' = -y 1 + sin(5 t) with the initial conditions y 1 (0) = 1 y 2 (0) = 0

Solution type sol = dsolve('Dy1=y2','Dy2=-y1+sin(5*t)','y1(0)=1','y2(0)=0','t') sol = y1: [1x1 sym] y2: [1x1 sym]

sol.y1 Gives -2/3*sin(t)*cos(t)^4+1/2*sin(t)*cos(t)^2+1/6*sin(t)+cos(t). This can be simplified by typing s1 = simple(sol.y1) which gives -1/24*sin(5*t)+5/24*sin(t)+cos(t). For the second component y2 of the solution we proceed in the same way: Typing s2 = simple(sol.y2) gives -sin(t)-5/24*cos(5*t)+5/24*cos(t). To plot the solution curves use ezplot: ezplot(sol.y1, [0,20]) hold on ezplot(sol.y2, [0,20]) hold off