Assignment Msg389
Assignment Msg389
using the multistep method
)
with . Calculate the starting values using third order Taylor series
method with the same step length,
[40 marks]
SOLUTION 2(b)
Initial value problem,
Using the multistep method,
For starting values, using third order Taylor series method :
We have :
For h=0.1,
Then, use multistep method,
For :
For :
For :
SOLUTION 1(a)
(
)(
) (
) (
) (
i) Jacobi Iteration Method
K=0
K=1
K=2
( )
K=3
( )
K=4
( )
K=5
( )
K=6
( )
OR
k
0 0 0 0
1 1.333333 0.25 0.2
2 1.316667 -0.466667 0.366667
3 1.611111 -0.50 0.276667
4 1.592222 -0.624722 0.722222
5 1.782315 -0.726667 0.806352
6 1.844340 -0.842746 0.847130
ii) Gauss-Seidel Method
K=0
K=1
K=2
( )
K=3
( )
K=4
( )
K=5
( )
K=6
( )
OR
k
0 0 0 0
1 1.333333 -0.416667 0.633333
2 1.683333 -0.75 0.836667
3 1.862222 -0.890278 0.928556
4 1.939611 -0.951945 0.968700
5 1.973548 -0.978949 0.986289
6 1.988413 -0.990779 0.993994
SOLUTION 3(a)
(
)(
) (
) (
) (
)
Gauss-Seidel Method :
K=0
K=1
K=2
K=3
OR
k
0 1 3 5
1 -2.833333 -1.433333 -1.972727
2 1.495959 -0.904646 -0.849146
3 0.906663 -1.011503 -1.024290
Additional Questions.
Compute the solution of
with initial values
Therefore, we got
] [
] , where [
]
The formula for Runge Kutta 4
th
order method
z
i+1
= z
i
+ (h/6)(k
1
+ 2k
2
+ 2k
3
+ k
4
) where
k
1
= f( t
i
, z
i
)
k
2
= f( t
i
+ (h/2) , z
i
+ (hk
1
)/2 )
k
3
= f( t
i
+ (h/2) , z
i
+ (hk
2
)/2 )
k
4
= f( t
i
+ h , z
i
+ hk
3
)
For ,
] [
] [
] [
]
[
]
[
] [
]
[
]
[
] [
] [
]
[
]
[
]
So,
] +
] [
] [
] [
] ) = [
]
For ,
(__,[
]
[
]
[
(__,[
]+
[[
]]) = (__,[
])
[
]
[
(__,[
]+
]) = (__,[
])
[
]
[
(__,[
]+ [
]) = (__,[
])
[
]
[
]
So,
]+
] [
] [
] [
])
[
]
For ,
(__,[
]
[
]
[
(__,[
]+
]) = (__,[
])
[
]
[
(__,[
]+
[ [
]]) = (__,[
])
[
]
[
(__,[
]+ [[
]]) = (__,[
])
[
]
[
]
So,
]+
] [
] [
]
[
] )
[