Professional Documents
Culture Documents
shudh (JNEC)
PCM
MEStru2k1617
1 / 12
DiffEq1
Introduction to terminology
Given a differential equation
!
d2 y dy
, , y, x = 0,
dx2 dx
(1)
!
dy
, y, x = a = 0
dx
F2
!
dy
, y, x = b = 0
dx
PCM
MEStru2k1617
2 / 12
DiffEq1
shudh (JNEC)
y(xn+1 ) = B
PCM
MEStru2k1617
3 / 12
Collocation Method
Assume that
y=
n
X
i xi .
i=0
dy X
=
i i xi1 ,
dx
i=0
and
d2 y X
=
i(i 1)i xi2
dx2
i=0
shudh (JNEC)
PCM
MEStru2k1617
4 / 12
Collocation Method
i=0
n
X
i i xi1 + Q(x)
i=0
n
X
i xi = R(x).
i=0
Thus giving,
n
X
h
i
i i(i 1)xi2 + ixi1 P(x) + xi Q(x) = R(x)
i=0
h
i
i i(i 1)xji2 + ixji1 P(xj ) + xij Q(xj ) = R(xj ), j = 2, . . . , n
i=0
shudh (JNEC)
PCM
MEStru2k1617
5 / 12
Collocation Method
i xi1 = A
i=0
n
X
i xin+1 = B
i=0
shudh (JNEC)
PCM
MEStru2k1617
6 / 12
Collocation Method
x1
x21
1
..
..
.
...
.
1
xn+1
x2n+1
...
...
...
...
...
xn1
0
n
n1
n2
n
n1
n2
[n(n 1)xn + nP(xn )xn + xn Q(xn )] n1
n
n
xn+1
R(x2 )
.
= ..
R(xn )
The solution can then be achieved by any of the standard methods like Gauss-Siedel,
Gaussian Elimination or Gauss-Jordan Elimination.
shudh (JNEC)
PCM
MEStru2k1617
7 / 12
Collocation Method
shudh (JNEC)
PCM
MEStru2k1617
8 / 12
Collocation Method
We have
dy
= 1 + 22 x + 33 x2
dx
d2 y
= 22 + 63 x
dx2
Substituting these in the given differential equation, we have
22 + 63 x 0 1 x 2 x2 3 x3 =
0 1 x + (2 x2 )2 + (6x x3 )3 =
PCM
(2)
MEStru2k1617
9 / 12
Collocation Method
(3)
0.25
0.25
(4)
0.5
0.5
shudh (JNEC)
PCM
MEStru2k1617
(5)
10 / 12
Collocation Method
1
1 1 0
1
0.5
1.75
2.875 3
0.5
(6)
shudh (JNEC)
PCM
(7)
MEStru2k1617
11 / 12
Collocation Method
Thank you!
shudh (JNEC)
PCM
MEStru2k1617
12 / 12