SlideShare a Scribd company logo
1 of 8
Download to read offline
Numerical solution of ordinary and
partial dierential Equations
Module 20: Shooting methods
Dr.rer.nat. Narni Nageswara Rao
£
1 Examples
Example: Using shooting method solve the BVP
yHH = y + 1; 0  t  1
y(0) = 0; y(1) = e  1
use the Euler-Cauchy method with h = 0:25 to solve the resulting system of
rst order IVPs.
Solution: The above problem can be transfered into two IVPs by Linear
shooting method
yHH
1 = y1 + 1
y1(0) = 0
yH
1(0) = 0
yHH
2 = 1
y2(0) = 0
yH
2(0) = 1
we will solve these IVP by using Cauchy-Euler scheme.
£nnrao maths@yahoo.co.in
1
Consider
Y H
1 = Y2
Y HH
1 = Y H
2
Y H
1 = Y2
Y H
2 = Y1 + 1
IVP's are
Y (0) = 0;Y2(0) = Y H
1(0) = 0

Y1
Y2

=

Y2
Y1 + 1

;

Y10
Y20
 
0
0

Here
f1 = Y2; f2 = Y1 + 1
Yj+1 = Yj +
1
2
(K1 + K2)
K1 = hf(tj;yj); K2 = hf(tj + h;yj + k1)
)

Y1j+1
Y2j+1

=

Yij
Y2j

+
h
2

f1j
f2j

+
h
2

Y2j + hf2j
Y1j + hf1j

)

Y1j+1
Y2j+1

=

Yij
Y2j

+
h
2

Y2j
Y1j+1

+
h
2

Y2j + h(Y1j + 1)
Y1j + 1 + h(Y2j)

=

1 + h2
2 h
h 1 + h2
2
 
Yij
Y2j

+
h2
2
h

using h = 0:25

Y1j+1
Y2j+1

=

1:03125 0:25
0:25 1:03125
 
Yij
Y2j

+

0:03125
0:25

) with Y10 = 0;Y20 = 0 For j = 0;1;2;3 we get
y1(0:25) = Y11 = 0:03125;Y21 = 0:25
y1(0:5) = Y12 = 0:12598;Y22 = 0:51563
y1(0:75) = Y13 = 0:29007;Y23 = 0:81324
y1(1:0) = Y14 = 0:53369;Y24 = 1:16117
Let us consider the second system
yHH
2 = y2; y2(0) = 0; yH
2(0) = 1
2
y2 = c1et + c2e t; y2(0) = 0 A c1 + c2 = 0
yH
2(0) = c1  c2 = 1 A c1 =
1
2
;c2 =  1
2
) y2(t) =
1
2
(et  e t)
) y2(0:25) = 0:252612; y2(0:5) = 0:521095305; y2(0:75) = 0:822316731;
y2(1) = 1:184591828.
) y(t) = y1(t) +

2  y1(b)
y2(b)
y2(t)
y(0:25) = y1(0:25) +
e  1  0:53369
1:175201
0:252612
= 0:03125 + 0:254630578
= 0:285880578
y(0:5) = y1(0:5) +
(e  1  0:53369)
1:175201
0:521095305
= 0:12598 + (1:007990827)0:521095305
= 0:651239287
y(0:75) = 0:29007 + (1:007990827)0:822316731
= 1:118957723
y(1) = 0:53369 + (1:184591828)1
= 1:7182818
More accurate results can be obtained by using smaller step length h.
tj Exact: y(tj) Numerical: yj
0.25 0.28403 0.28588
0.5 0.64872 0.65123
0.75 1.11700 1.11895
1.0 1.71828 1.71828
Table 1: Solution of the Example
3
2 The shooting method for Nonlinear prob-
lems
The shooting technique for the nonlinear second-order boundary-value prob-
lem
yHH = f(t;y;yH); a t b;y(a) = 
1;y(b) = 
2 (1)
is similar to the linear technique, except that the solution to a nonlinear
problem can not be expressed as a linear combination of the solutions to two
initial-value problems. Insted, we approximate the solution to the boundary-
value problem by using the solutions to a sequence of initial-value problems
involving a parameter . These problems have the form
yHH = f(t;y;yH); a t b;y(a) = 
1;yH(a) =  (2)
we do this by choosing the parameters  = k in a manner to ensure that
lim
k3I
y(b;k) = y(b) = 
2
where y(t;k) denotes the solution to the IVP (2) with  = k, and y(t)
denotes the solution to the B.V.P (1).
This technique is called a shooting method, by analogy to the procedure
of
ring objects at a stationary target (see Figure 1).
We start with a parameter 0 that determines the initial elevation at
which the object is
red from the point (a;
1) and along the curve described
by the solution to the IVP:
yHH = f(t;y;yH); a t b;y(a) = 
1;yH(a) = 0
If y(b;0) is not suciently close to 
2, we correct our approximation by
choosing elevations 1, 2 and so on, until y(b;k) is suciently close to
hitting 
2.(see Figure 2).
To determine the parameters k, suppose a BVP of the form (1) satis
es
the hypothesis of theorem (1)(module 19). If y(t;) denotes the solution to
the IVP (2), we next determine  with
y(b;)  
2 = 0 (3)
This is a nonlinear equation, so a number of methods are available.
4

More Related Content

What's hot

3 capitulo-iii-matriz-asociada-sem-14-t-l-d
3 capitulo-iii-matriz-asociada-sem-14-t-l-d3 capitulo-iii-matriz-asociada-sem-14-t-l-d
3 capitulo-iii-matriz-asociada-sem-14-t-l-dFernandoDanielMamani1
 
Gamma beta functions-1
Gamma   beta functions-1Gamma   beta functions-1
Gamma beta functions-1Selvaraj John
 
Shahjahan notes:Mathematicsinphysicstheorysampleproblematc
Shahjahan notes:MathematicsinphysicstheorysampleproblematcShahjahan notes:Mathematicsinphysicstheorysampleproblematc
Shahjahan notes:MathematicsinphysicstheorysampleproblematcShahjahan Physics
 
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IIEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IIRai University
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTPanchal Anand
 
Applied numerical methods lec12
Applied numerical methods lec12Applied numerical methods lec12
Applied numerical methods lec12Yasser Ahmed
 
Solved exercises line integral
Solved exercises line integralSolved exercises line integral
Solved exercises line integralKamel Attar
 
Sistem pertidaksamaan kuadrat 2 variabel
Sistem pertidaksamaan kuadrat 2 variabelSistem pertidaksamaan kuadrat 2 variabel
Sistem pertidaksamaan kuadrat 2 variabelAlya Titania Annisaa
 
B.tech ii unit-3 material multiple integration
B.tech ii unit-3 material multiple integrationB.tech ii unit-3 material multiple integration
B.tech ii unit-3 material multiple integrationRai University
 
Gamma & Beta functions
Gamma & Beta functionsGamma & Beta functions
Gamma & Beta functionsSelvaraj John
 
Differential equations and its applications
Differential equations and its applicationsDifferential equations and its applications
Differential equations and its applicationsDr.Jagadish Tawade
 

What's hot (17)

Ma2002 1.13 rm
Ma2002 1.13 rmMa2002 1.13 rm
Ma2002 1.13 rm
 
Maths digital text
Maths digital textMaths digital text
Maths digital text
 
3 capitulo-iii-matriz-asociada-sem-14-t-l-d
3 capitulo-iii-matriz-asociada-sem-14-t-l-d3 capitulo-iii-matriz-asociada-sem-14-t-l-d
3 capitulo-iii-matriz-asociada-sem-14-t-l-d
 
Gamma beta functions-1
Gamma   beta functions-1Gamma   beta functions-1
Gamma beta functions-1
 
Shahjahan notes:Mathematicsinphysicstheorysampleproblematc
Shahjahan notes:MathematicsinphysicstheorysampleproblematcShahjahan notes:Mathematicsinphysicstheorysampleproblematc
Shahjahan notes:Mathematicsinphysicstheorysampleproblematc
 
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IIEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-II
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPT
 
Bender schmidt method
Bender schmidt methodBender schmidt method
Bender schmidt method
 
Applied numerical methods lec12
Applied numerical methods lec12Applied numerical methods lec12
Applied numerical methods lec12
 
Sol75
Sol75Sol75
Sol75
 
Solved exercises line integral
Solved exercises line integralSolved exercises line integral
Solved exercises line integral
 
Sistem pertidaksamaan kuadrat 2 variabel
Sistem pertidaksamaan kuadrat 2 variabelSistem pertidaksamaan kuadrat 2 variabel
Sistem pertidaksamaan kuadrat 2 variabel
 
B.tech ii unit-3 material multiple integration
B.tech ii unit-3 material multiple integrationB.tech ii unit-3 material multiple integration
B.tech ii unit-3 material multiple integration
 
Ma2002 1.16 rm
Ma2002 1.16 rmMa2002 1.16 rm
Ma2002 1.16 rm
 
Gamma & Beta functions
Gamma & Beta functionsGamma & Beta functions
Gamma & Beta functions
 
Differential equations and its applications
Differential equations and its applicationsDifferential equations and its applications
Differential equations and its applications
 
Optimal Finite Difference Grids
Optimal Finite Difference GridsOptimal Finite Difference Grids
Optimal Finite Difference Grids
 

Similar to Ma2002 1.20 rm

Similar to Ma2002 1.20 rm (20)

Ma2002 1.7 rm
Ma2002 1.7 rmMa2002 1.7 rm
Ma2002 1.7 rm
 
Ma2002 1.14 rm
Ma2002 1.14 rmMa2002 1.14 rm
Ma2002 1.14 rm
 
Ma2002 1.19 rm
Ma2002 1.19 rmMa2002 1.19 rm
Ma2002 1.19 rm
 
Ma2002 1.23 rm
Ma2002 1.23 rmMa2002 1.23 rm
Ma2002 1.23 rm
 
Ch03 2
Ch03 2Ch03 2
Ch03 2
 
FUNCIONES DE GREEN
FUNCIONES DE GREENFUNCIONES DE GREEN
FUNCIONES DE GREEN
 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical Analysis
 
Ma2002 1.10 rm
Ma2002 1.10 rmMa2002 1.10 rm
Ma2002 1.10 rm
 
Ecuaciones diferenciales c1
Ecuaciones diferenciales c1Ecuaciones diferenciales c1
Ecuaciones diferenciales c1
 
Calculus of variation problems
Calculus of variation   problemsCalculus of variation   problems
Calculus of variation problems
 
Ch03 1
Ch03 1Ch03 1
Ch03 1
 
Ma2002 1.9 rm
Ma2002 1.9 rmMa2002 1.9 rm
Ma2002 1.9 rm
 
Term project
Term projectTerm project
Term project
 
Automatic Control Via Thermostats Of A Hyperbolic Stefan Problem With Memory
Automatic Control Via Thermostats Of A Hyperbolic Stefan Problem With MemoryAutomatic Control Via Thermostats Of A Hyperbolic Stefan Problem With Memory
Automatic Control Via Thermostats Of A Hyperbolic Stefan Problem With Memory
 
Ch03 3
Ch03 3Ch03 3
Ch03 3
 
Ch02 5
Ch02 5Ch02 5
Ch02 5
 
Controllability of Linear Dynamical System
Controllability of  Linear Dynamical SystemControllability of  Linear Dynamical System
Controllability of Linear Dynamical System
 
Ch06 4
Ch06 4Ch06 4
Ch06 4
 
Analysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving beltAnalysis of a self-sustained vibration of mass-spring oscillator on moving belt
Analysis of a self-sustained vibration of mass-spring oscillator on moving belt
 
On Laplace Transform.ppt
On Laplace Transform.pptOn Laplace Transform.ppt
On Laplace Transform.ppt
 

More from Ramakrishna Paduchuri (19)

M 1.5 rm
M 1.5 rmM 1.5 rm
M 1.5 rm
 
M 1.5 p4.s
M 1.5 p4.sM 1.5 p4.s
M 1.5 p4.s
 
M 1.5 p4.q
M 1.5 p4.qM 1.5 p4.q
M 1.5 p4.q
 
M 1.5 p3.s
M 1.5 p3.sM 1.5 p3.s
M 1.5 p3.s
 
M 1.5 p3.q
M 1.5 p3.qM 1.5 p3.q
M 1.5 p3.q
 
M 1.5 p2.s
M 1.5 p2.sM 1.5 p2.s
M 1.5 p2.s
 
M 1.5 p2.q
M 1.5 p2.qM 1.5 p2.q
M 1.5 p2.q
 
M 1.5 p1.s
M 1.5 p1.sM 1.5 p1.s
M 1.5 p1.s
 
M 1.5 p1.q
M 1.5 p1.qM 1.5 p1.q
M 1.5 p1.q
 
M 1.4 rm
M 1.4 rmM 1.4 rm
M 1.4 rm
 
M 1.4 ap1
M 1.4 ap1M 1.4 ap1
M 1.4 ap1
 
M 1.3 rm
M 1.3 rmM 1.3 rm
M 1.3 rm
 
M 1.1 rm
M 1.1 rmM 1.1 rm
M 1.1 rm
 
M 1.3 ap1
M 1.3 ap1M 1.3 ap1
M 1.3 ap1
 
Ma2002 1.22 rm
Ma2002 1.22 rmMa2002 1.22 rm
Ma2002 1.22 rm
 
Ma2002 1.18 rm
Ma2002 1.18 rmMa2002 1.18 rm
Ma2002 1.18 rm
 
Ma2002 1.17 rm
Ma2002 1.17 rmMa2002 1.17 rm
Ma2002 1.17 rm
 
Ma2002 1.12 rm
Ma2002 1.12 rmMa2002 1.12 rm
Ma2002 1.12 rm
 
Ma2002 1.6 rm
Ma2002 1.6 rmMa2002 1.6 rm
Ma2002 1.6 rm
 

Recently uploaded

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

Ma2002 1.20 rm

  • 1. Numerical solution of ordinary and partial dierential Equations Module 20: Shooting methods Dr.rer.nat. Narni Nageswara Rao £ 1 Examples Example: Using shooting method solve the BVP yHH = y + 1; 0 t 1 y(0) = 0; y(1) = e  1 use the Euler-Cauchy method with h = 0:25 to solve the resulting system of
  • 2. rst order IVPs. Solution: The above problem can be transfered into two IVPs by Linear shooting method yHH 1 = y1 + 1 y1(0) = 0 yH 1(0) = 0 yHH 2 = 1 y2(0) = 0 yH 2(0) = 1 we will solve these IVP by using Cauchy-Euler scheme. £nnrao maths@yahoo.co.in 1
  • 3. Consider Y H 1 = Y2 Y HH 1 = Y H 2 Y H 1 = Y2 Y H 2 = Y1 + 1 IVP's are Y (0) = 0;Y2(0) = Y H 1(0) = 0 Y1 Y2 = Y2 Y1 + 1 ; Y10 Y20 0 0 Here f1 = Y2; f2 = Y1 + 1 Yj+1 = Yj + 1 2 (K1 + K2) K1 = hf(tj;yj); K2 = hf(tj + h;yj + k1) ) Y1j+1 Y2j+1 = Yij Y2j + h 2 f1j f2j + h 2 Y2j + hf2j Y1j + hf1j ) Y1j+1 Y2j+1 = Yij Y2j + h 2 Y2j Y1j+1 + h 2 Y2j + h(Y1j + 1) Y1j + 1 + h(Y2j) = 1 + h2 2 h h 1 + h2 2 Yij Y2j + h2 2 h using h = 0:25 Y1j+1 Y2j+1 = 1:03125 0:25 0:25 1:03125 Yij Y2j + 0:03125 0:25 ) with Y10 = 0;Y20 = 0 For j = 0;1;2;3 we get y1(0:25) = Y11 = 0:03125;Y21 = 0:25 y1(0:5) = Y12 = 0:12598;Y22 = 0:51563 y1(0:75) = Y13 = 0:29007;Y23 = 0:81324 y1(1:0) = Y14 = 0:53369;Y24 = 1:16117 Let us consider the second system yHH 2 = y2; y2(0) = 0; yH 2(0) = 1 2
  • 4. y2 = c1et + c2e t; y2(0) = 0 A c1 + c2 = 0 yH 2(0) = c1  c2 = 1 A c1 = 1 2 ;c2 =  1 2 ) y2(t) = 1 2 (et  e t) ) y2(0:25) = 0:252612; y2(0:5) = 0:521095305; y2(0:75) = 0:822316731; y2(1) = 1:184591828. ) y(t) = y1(t) + 2  y1(b) y2(b) y2(t) y(0:25) = y1(0:25) + e  1  0:53369 1:175201 0:252612 = 0:03125 + 0:254630578 = 0:285880578 y(0:5) = y1(0:5) + (e  1  0:53369) 1:175201 0:521095305 = 0:12598 + (1:007990827)0:521095305 = 0:651239287 y(0:75) = 0:29007 + (1:007990827)0:822316731 = 1:118957723 y(1) = 0:53369 + (1:184591828)1 = 1:7182818 More accurate results can be obtained by using smaller step length h. tj Exact: y(tj) Numerical: yj 0.25 0.28403 0.28588 0.5 0.64872 0.65123 0.75 1.11700 1.11895 1.0 1.71828 1.71828 Table 1: Solution of the Example 3
  • 5. 2 The shooting method for Nonlinear prob- lems The shooting technique for the nonlinear second-order boundary-value prob- lem yHH = f(t;y;yH); a t b;y(a) = 1;y(b) = 2 (1) is similar to the linear technique, except that the solution to a nonlinear problem can not be expressed as a linear combination of the solutions to two initial-value problems. Insted, we approximate the solution to the boundary- value problem by using the solutions to a sequence of initial-value problems involving a parameter . These problems have the form yHH = f(t;y;yH); a t b;y(a) = 1;yH(a) = (2) we do this by choosing the parameters = k in a manner to ensure that lim k3I y(b;k) = y(b) = 2 where y(t;k) denotes the solution to the IVP (2) with = k, and y(t) denotes the solution to the B.V.P (1). This technique is called a shooting method, by analogy to the procedure of
  • 6. ring objects at a stationary target (see Figure 1). We start with a parameter 0 that determines the initial elevation at which the object is
  • 7. red from the point (a; 1) and along the curve described by the solution to the IVP: yHH = f(t;y;yH); a t b;y(a) = 1;yH(a) = 0 If y(b;0) is not suciently close to 2, we correct our approximation by choosing elevations 1, 2 and so on, until y(b;k) is suciently close to hitting 2.(see Figure 2). To determine the parameters k, suppose a BVP of the form (1) satis
  • 8. es the hypothesis of theorem (1)(module 19). If y(t;) denotes the solution to the IVP (2), we next determine with y(b;)   2 = 0 (3) This is a nonlinear equation, so a number of methods are available. 4
  • 9. y a b t y(t;0) (b;y(b;0)) Slope 0 y(b;0) 2 1 (a; 1) Figure 1: Nonlinear shooting method. To use the secant method to solve the poroblem, we need to choose initial approximations 0 and 1, and then generate the remainig terms of the sequence by k = k 1   (y(b;k 1)   2)(k 1  k 2) y(b;k 1)  y(b;k 2) ; k = 1;2;¡¡¡ To use the more powerful Newton's method to generate the sequence fkg, only one initial approximation 0 is needed. However the iteration has the form k = k 1   y(b;k 1)   2 dy d(b;k 1) (4) and it requires the knowledge of dy d(b;k 1). This presents a diculty since an explicit representation for y(b;) is not known, we know only the values y(b;0), y(b;1);¡¡¡ ;y(b;k 1). Suppose we rewrite the initial value problem (2), emphasizing that the solution depends on both t and the parameter . yHH(t;) = f(t;y(t;);yH(t;)); a t b y(a;) = 1;yH(a;) = (5) 5
  • 10. y a t 1 (a; 1) b 2 y(b;3) y(b;2) y(b;1) y(b;0) y(t;2) y(t;1) y(t;0) y(t;3) Figure 2: Nonlinear shooting method. Since we need to determine dy d(b;) when = k 1, we
  • 11. rst take the partial derivative of (5) w.r.t. . This implies that @yHH @ (t;) = @f @ (t;y(t;);yH(t;)) = @f @t (t;y(t;);yH(t;)) @t @ + @f @y (t;y(t;);yH(t;)) @y @ (t;) + @f @yH(t;y(t;);yH(t;)) @yH @ (t;) Since t and are independent @t @ = 0 and @yHH @ (t;) = @f @y (t;y(t;);yH(t;)) @y @ (t;) + @f @yH(t;y(t;);yH(t;)) @yH @ (t;) (6) for a t b. The initial conditions give @y @ (a;) = 0 and @yH @ (a;) = 1 6
  • 12. If we simplify the notation by using z(t;) to denote @y @(t;) and assuming that the order of dierentiation of t and can be reversed, (6) with the initial conditions becomes the initial-value problem zHH(t;) = @f @y (t;y;yH)z(t;) + @f @yH(t;y;yH)zH(t;) a t b; z(a;) = 0; zH(a;) = 1 (7) ) Newton's method requires that two IVPs be solved for each iteration, (5) and (7). Then from Equation(4) k = k 1   y(b;k 1)   2 z(b;k 1) (8) Example: Consider the boundary value problem yHH = 1 8 (32 + 2t3  yyH);1 t 3;y(1) = 17;y(3) = 43 3 which has exact solution y(t) = t2 + 16=t Solution: yHH = 1 8 (32 + 2t3  yyH); 1 t 3;y(1) = 17;yH(1) = k and zHH = @f @y z + @f @yHzH =  1 8 (yHz + yzH) 1 t 3 z(1) = 0;zH(1) = 1 Take initial guess as 0 = 2   1 b  a = 43 3  17 3  1 = 43  51 3:2 =  8 6 =  4 3 at each step in the iteration. If the stopping technique requires jy(k)  y(3)j 10 5 Then we need four iterations and 4 =  14:000203. The results obtained for this value of are in the Table 2. 7
  • 13. ti yi(Numerical) y(ti)Exact jyi  y(ti)j 1:0 17:000000 17:000000 1:2 14:773389 14:773333 5:60 ¢10 5 1:4 13:388629 13:388571 5:71 ¢10 5 1:6 12:560046 12:560000 4:64 ¢10 5 1:8 12:128923 12:128889 3:14 ¢10 5 2:0 12:000023 12:000000 2:32 ¢10 5 2:2 12:112741 12:112727 1:40 ¢10 5 2:4 12:426673 12:426667 6:68 ¢10 6 2:6 12:913847 12:913845 9:17 ¢10 7 2:8 13:554282 13:554286 3:46 ¢10 6 3:0 14:333327 14:333333 6:69 ¢10 6 Table 2: Solution of the Boundary Value Problem 8