Professional Documents
Culture Documents
given from boundary conditions. The second order method gives the following system of equations.
1
Uj-1 – 2uj + uj+1 = (uj2), j= 1,2
6
1
For j =1, u0 – 2u1 + u2 = 6 u12
1
For j =2, u1 – 2u2 + u3 = u22
6
Where
D = (2u1(k) + 12) (2 u2(k) + 12) - 36
Taking u1(0) = 2 and u2(0) = 1.5, we get
u1(1) = 2.3014706, u2(2) = 1.4705882
u1(2) = 2.2950429, u2(2) = 1.4679491
u1(3) = 2.2950399, u2(3) = 1.4679474