0% found this document useful (0 votes)
256 views3 pages

Shooting Method for Boundary Value Problems

The document discusses solving a boundary value problem using the RK1 method (Runge-Kutta method of order 1) with 4 sub-intervals. The problem involves the partial differential equation d2y/dx2 = f(x,y) with boundary conditions y(2)=2 and y(6)=6. Euler's method is applied at each sub-interval to solve the initial value problem numerically. The solution converges to y(2.5)=5.9039 after two iterations of updating the initial guess.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
256 views3 pages

Shooting Method for Boundary Value Problems

The document discusses solving a boundary value problem using the RK1 method (Runge-Kutta method of order 1) with 4 sub-intervals. The problem involves the partial differential equation d2y/dx2 = f(x,y) with boundary conditions y(2)=2 and y(6)=6. Euler's method is applied at each sub-interval to solve the initial value problem numerically. The solution converges to y(2.5)=5.9039 after two iterations of updating the initial guess.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Initial Value Problem Using Euler's Method
  • Solution of Partial Differential Equations

Dor

Pag

M-MaMi-M

M Mt/-B2[M-M
Ba-B
Or
M- M4 + -84 M-Mi
t6-B

Solve -he boundary value prablem usSing hootingmethod hu


dividing theintervalinto Four 9ub-iokevals emplouing kuledå
RK1mehod y=Co9n tby-y with YI21=2Qnd yl:6
So1
Leaylzz: Flay.2

Go, =co9t-y
Cos ac 13y-Z=ol2y,z)
Boundary condition9
y2)=2 y3)6

No of gub -interValgLnl= 4 i
SEep-91ze =b-a =7-2 =025
n
4
letus ag99ume y' (2)z2=2.5=Ma
So he ioitial value: problem i9
FlcyzZ0
( ,y z o9 +3y-z
Ehiniti od condliton 9 = 2 o -2, Zo 2:5 Ma
value_
Hpplyin9 Euler'g Vekhod Eo he above initral
pro biem
+0:254¥p
Xy: A co9X+ 3Y- M B Y
MX0.25):D: M*lAKO7 . i1Z;)
PlTyz:) it1 Zi+1
;th itmh 7+lh
2-5 3-0838 2.252.625 3 2?0
2-25 2625 3.2709 3-2709 3.9759 2.53.4427 4:24
96 3.4427 42648 42649 5.2621 275 45029 5: 5 5802
5202
5 4.5039 6 5803 5.5803 7:0220 5.903913358
Here y3l=5.9039 B
BtBlG
et ug [Link] take another guegg
y'21=z21=26
Haain applying Euler'a method
Zi m
3.535 9.26 2-25 2.g75 40209
225 2-975 4-0209 4:0209 2-6 2.5 .2802 5.0149
2-5
3.8802 -0449 50149 275 975
275 6.1339 .4709 64 709 3 51339 6.4409
3
6.75168-4725
Here 3 E 67516 =B2
e heLoseck patimale_afyl2)=zl2)=M
Now
M M LMa -Ma - 82
8,-81
9.5+ 9.5-2-5)6-6:7516
E2.6134 67546 -5-9039
Again applying tuler'g metho.d
T
4i Z m OCi+1 i t 1 Zit1
2 2-613
4 26134 2-97042-26265335 335 0
26 26935 3-3560 3:35603.9758 25 ,349235 4-2499
.549295 4:3499 4-3499 5.3260 2.75 4 5 798 540 14
0.5 45t98 6.6814 5.6814 713363 6 7 Q648

Hen ce the 0l ig
y 225 1=2:65335 y'2.25= 9.36 60
u 12:51=3:4923 5y2-514:3499
12-75 4:5798, y 2:75)-5.6814

hapler- ol of Parhial_d1teren tial tQuakian

farhia di-ferenbial [Link])


ditterenhial eghwhichinvolvegkuo ormoro ndependent vanables.
nsofca on of/ndorder PoEg ,
he general Pde eg of the 2nd orolerin hwo inde pendent vanahle
19i He form_of
SF
o2+b 82 t0 S SSy
y 0
Ch Qpde ig gad to be :
1Elliphe, if b-4ao <0 -
2
Paabolreif b2-4ac =0
4-Hypecbolic, if b2-4a 0

Dor 
Pag 
M-MaMi-M 
M 
Mt/-B2[M-M 
Ba-B 
Or 
M- M4 + -84 
M-Mi 
t6-B 
Solve -he boundary value prablem usSing hooting method
Xy: 
A co9X+ 3Y- M B Y +0:254¥p 
MX0.25):D: M*lAKO7 
. i1Z;) 
Z 
it1 
i+1 
itmh 
7+lh 
2-5 
3-0838 2.252.625 3 2?0 
2-25 2625
Again applying tuler'g metho.d 
4i 
Z 
m 
OCi+1 it1 Zit1 
2-613 4 26134 
2-97042-26265335 335 0 
T 
2 
3:35603.9758 25 ,34923

You might also like