SlideShare a Scribd company logo
1 of 13
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
System of Initial Value
Problems
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Objectives
• The need for a system of ODE’s will be
clarified
• Transforming a higher order linear ODE
into a set of 1st
order ODE’s
• Applying the techniques of solution to a
set of 1st
order ODE’s
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Second Order Initial Value
Problems
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Transformation!
• Most of the numerical methods of solving
initial value problems handle 1st
order
initial value problems
• Most of the realistic problems involve 2nd
order initial value problems!
• A transformation must be performed!!!
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Example
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Current in an LRC circuit
( )tE
C
q
Ri
dt
di
L =++
2
2
dt
qd
dt
di
dt
dq
i =⇒=Where:
Giving: ( )tE
C
q
dt
dq
R
dt
qd
L =++2
2
OR:
( )tE
C
q
qRqL =++ 
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Introducing new variables:
• Let:
• Which gives:
• In matrix form:
qxqx == 21 &
( )tEx
LC
x
L
R
x
xx
+−−=
=
122
21
1


( )





+














−−
=






tEx
x
L
R
LC
x
x 0
1
10
2
1
2
1


ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
In Matrix Form
{ } [ ]{ } { }uxAx +=
( )





+














−−
=






tEx
x
L
R
LC
x
x 0
1
10
2
1
2
1


ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Applying the Numerical
Techniques
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Euler Method (No Excitation)
• The equation is:
• Applying Euler
method:
• Or:
{ } [ ]{ }xAx =
{ } { } [ ]{ }tttt xAtxx ∆+=∆+
ttt
x
x
L
R
LC
t
x
x






















−−
∆+





=






∆+ 2
1
2
1
1
10
10
01
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
R-K 2nd
Order Method
• The equation is:
• Applying R-K 2nd
order method:
• Finally:
{ } [ ]{ }xAx =
{ } [ ]{ }txAk =1
{ } { }( )21
2
1
2
1
2
kk
t
x
x
x
x
ttt
+
∆
+






=






∆+
{ } [ ] { } { }( )12 ktxAk t ∆+=
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Summary
• Revise the numerical solution of initial
value problems
• Rewriting the second order ODE as a set
of two 1st
order ODE’s
• Applying the numerical solution
techniques to a set of 1st
order ODE’s
ENEM602 Spring 2007
Dr. Eng. Mohammad Tawfik
Homework #9
1. Derive the Euler
formula for a system
of initial value
problems of the
form:
2. Use the above
formula to write
down the Euler
solution of excited
circuit in matrix form
{ } [ ]{ } { }uxAx +=
( )tEq
LC
q
L
R
q =++
1


More Related Content

What's hot (20)

Lyapunov stability
Lyapunov stability Lyapunov stability
Lyapunov stability
 
G031201040042
G031201040042G031201040042
G031201040042
 
3 handouts section3-1
3 handouts section3-13 handouts section3-1
3 handouts section3-1
 
Hidden Markov Models with applications to speech recognition
Hidden Markov Models with applications to speech recognitionHidden Markov Models with applications to speech recognition
Hidden Markov Models with applications to speech recognition
 
Hidden Markov Models
Hidden Markov ModelsHidden Markov Models
Hidden Markov Models
 
Viterbi algorithm
Viterbi algorithmViterbi algorithm
Viterbi algorithm
 
HIDDEN MARKOV MODEL AND ITS APPLICATION
HIDDEN MARKOV MODEL AND ITS APPLICATIONHIDDEN MARKOV MODEL AND ITS APPLICATION
HIDDEN MARKOV MODEL AND ITS APPLICATION
 
Lyapunov stability analysis
Lyapunov stability analysisLyapunov stability analysis
Lyapunov stability analysis
 
Secant Method
Secant MethodSecant Method
Secant Method
 
FEM: Stationary Functional Approach
FEM: Stationary Functional ApproachFEM: Stationary Functional Approach
FEM: Stationary Functional Approach
 
Lec7
Lec7Lec7
Lec7
 
Grid Zero
Grid ZeroGrid Zero
Grid Zero
 
Lect20
Lect20Lect20
Lect20
 
Secant method
Secant methodSecant method
Secant method
 
Hidden markov model
Hidden markov modelHidden markov model
Hidden markov model
 
Selection sort
Selection sortSelection sort
Selection sort
 
Monads
MonadsMonads
Monads
 
Lect19
Lect19Lect19
Lect19
 
Lect16
Lect16Lect16
Lect16
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
 

Similar to 11 initial value problems system

09 numerical integration
09 numerical integration09 numerical integration
09 numerical integrationMohammad Tawfik
 
08 numerical integration
08 numerical integration08 numerical integration
08 numerical integrationMohammad Tawfik
 
Finite element method.ppt
Finite element method.pptFinite element method.ppt
Finite element method.pptdaniel627861
 
09 numerical differentiation
09 numerical differentiation09 numerical differentiation
09 numerical differentiationMohammad Tawfik
 
08 numerical integration 2
08 numerical integration 208 numerical integration 2
08 numerical integration 2Mohammad Tawfik
 
08 interpolation lagrange
08 interpolation   lagrange08 interpolation   lagrange
08 interpolation lagrangeMohammad Tawfik
 
Numerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsNumerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsMeenakshisundaram N
 
Schrodinger equation in QM Reminders.ppt
Schrodinger equation in QM Reminders.pptSchrodinger equation in QM Reminders.ppt
Schrodinger equation in QM Reminders.pptRakeshPatil2528
 
Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrencesMegha V
 
Time Domain Specifications
Time Domain SpecificationsTime Domain Specifications
Time Domain SpecificationsRamkumareg
 
L5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shapeL5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shapeSam Alalimi
 

Similar to 11 initial value problems system (20)

03 open methods
03 open methods03 open methods
03 open methods
 
Ep 5512 lecture-02
Ep 5512 lecture-02Ep 5512 lecture-02
Ep 5512 lecture-02
 
13 weightedresidual
13 weightedresidual13 weightedresidual
13 weightedresidual
 
09 numerical integration
09 numerical integration09 numerical integration
09 numerical integration
 
08 numerical integration
08 numerical integration08 numerical integration
08 numerical integration
 
04 gaussmethods
04 gaussmethods04 gaussmethods
04 gaussmethods
 
Finite element method.ppt
Finite element method.pptFinite element method.ppt
Finite element method.ppt
 
07 interpolation
07 interpolation07 interpolation
07 interpolation
 
09 numerical differentiation
09 numerical differentiation09 numerical differentiation
09 numerical differentiation
 
08 numerical integration 2
08 numerical integration 208 numerical integration 2
08 numerical integration 2
 
08 interpolation lagrange
08 interpolation   lagrange08 interpolation   lagrange
08 interpolation lagrange
 
ODE.pdf
ODE.pdfODE.pdf
ODE.pdf
 
NPDE-TCA
NPDE-TCANPDE-TCA
NPDE-TCA
 
Numerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential EquationsNumerical Solution of Ordinary Differential Equations
Numerical Solution of Ordinary Differential Equations
 
Schrodinger equation in QM Reminders.ppt
Schrodinger equation in QM Reminders.pptSchrodinger equation in QM Reminders.ppt
Schrodinger equation in QM Reminders.ppt
 
Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrences
 
Time Domain Specifications
Time Domain SpecificationsTime Domain Specifications
Time Domain Specifications
 
numerical.ppt
numerical.pptnumerical.ppt
numerical.ppt
 
EC3492 -1.10.pptx
EC3492 -1.10.pptxEC3492 -1.10.pptx
EC3492 -1.10.pptx
 
L5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shapeL5 determination of natural frequency & mode shape
L5 determination of natural frequency & mode shape
 

More from Mohammad Tawfik

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Mohammad Tawfik
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionMohammad Tawfik
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsMohammad Tawfik
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementMohammad Tawfik
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision makingMohammad Tawfik
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introductionMohammad Tawfik
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management BasicsMohammad Tawfik
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation SkillsMohammad Tawfik
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - MarketingMohammad Tawfik
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - IntegrationMohammad Tawfik
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkMohammad Tawfik
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionMohammad Tawfik
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind EnergyMohammad Tawfik
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-DMohammad Tawfik
 

More from Mohammad Tawfik (20)

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - Introduction
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - Logistics
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory Management
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision making
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introduction
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management Basics
 
DISC Personality Model
DISC Personality ModelDISC Personality Model
DISC Personality Model
 
Training of Trainers
Training of TrainersTraining of Trainers
Training of Trainers
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation Skills
 
Train The Trainer
Train The TrainerTrain The Trainer
Train The Trainer
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - Marketing
 
Stress Management
Stress ManagementStress Management
Stress Management
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - Integration
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The Framework
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - Introduction
 
The Creative Individual
The Creative IndividualThe Creative Individual
The Creative Individual
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind Energy
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-D
 
Future of Drones ITW'16
Future of Drones ITW'16Future of Drones ITW'16
Future of Drones ITW'16
 

Recently uploaded

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

11 initial value problems system

  • 1. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik System of Initial Value Problems
  • 2. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Objectives • The need for a system of ODE’s will be clarified • Transforming a higher order linear ODE into a set of 1st order ODE’s • Applying the techniques of solution to a set of 1st order ODE’s
  • 3. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Second Order Initial Value Problems
  • 4. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Transformation! • Most of the numerical methods of solving initial value problems handle 1st order initial value problems • Most of the realistic problems involve 2nd order initial value problems! • A transformation must be performed!!!
  • 5. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Example
  • 6. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Current in an LRC circuit ( )tE C q Ri dt di L =++ 2 2 dt qd dt di dt dq i =⇒=Where: Giving: ( )tE C q dt dq R dt qd L =++2 2 OR: ( )tE C q qRqL =++ 
  • 7. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Introducing new variables: • Let: • Which gives: • In matrix form: qxqx == 21 & ( )tEx LC x L R x xx +−−= = 122 21 1   ( )      +               −− =       tEx x L R LC x x 0 1 10 2 1 2 1  
  • 8. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik In Matrix Form { } [ ]{ } { }uxAx += ( )      +               −− =       tEx x L R LC x x 0 1 10 2 1 2 1  
  • 9. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Applying the Numerical Techniques
  • 10. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Euler Method (No Excitation) • The equation is: • Applying Euler method: • Or: { } [ ]{ }xAx = { } { } [ ]{ }tttt xAtxx ∆+=∆+ ttt x x L R LC t x x                       −− ∆+      =       ∆+ 2 1 2 1 1 10 10 01
  • 11. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik R-K 2nd Order Method • The equation is: • Applying R-K 2nd order method: • Finally: { } [ ]{ }xAx = { } [ ]{ }txAk =1 { } { }( )21 2 1 2 1 2 kk t x x x x ttt + ∆ +       =       ∆+ { } [ ] { } { }( )12 ktxAk t ∆+=
  • 12. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Summary • Revise the numerical solution of initial value problems • Rewriting the second order ODE as a set of two 1st order ODE’s • Applying the numerical solution techniques to a set of 1st order ODE’s
  • 13. ENEM602 Spring 2007 Dr. Eng. Mohammad Tawfik Homework #9 1. Derive the Euler formula for a system of initial value problems of the form: 2. Use the above formula to write down the Euler solution of excited circuit in matrix form { } [ ]{ } { }uxAx += ( )tEq LC q L R q =++ 1 