From the derived equations and given parameters, the central finite difference equations are
as such:
d 2 y y i−1−2 y i+ y i+1
= …Second derivative application
d ❑2 ∆❑2
dy − y i−1 + y i +1
= …First derivative application
d 2∆
d y 1 −3 y 1+ 4 y 2− y3
= =0=F 1
d 2∆
Interior nodes: combining the finite difference equations with the ODE:
Fi at node N where boundary condition y N+1 = 1, this condition was applied such that the
above equation developed with respect to N.
y N−1−2 y N +1 2 − y N−1 +1 ( γβ ( 1− y N ) )
FN =
∆❑ 2
+
❑
.[ 2∆
2
]
−∅ y N exp
1+ β(1− y N )
=0
The ODE obtained as above indicates an ODE of a non-linear nature hence the algebraic
equation cannot be solved using linear algebra but rather an iterative process using the
Newton-Raphson technique, the simplifications thus far applies to the Newton-Raphson
technique and for further solving, the Jacobian matrix was needed.
Partial differential equation were determined from the functions above for the nodes i-1,i,
i+1:
[ )]
2
∂ F i −2 γβ ( 1− y i ) γβ ( 1− y i ) −γβ ( 1+ β ( 1− y i ) ) + ( γ β ( 1− y i ) )
=
∂ y i ∆❑2
2
−∅ exp
(
1+ β ( 1− y i ) )
+ y i exp
(
1+ β ( 1− y i) )( ( 1+ β ( 1− y i ) )
2
❑ = ❑− ❑
❑ ❑ ❑
❑ =❑ + ❑
❑ ❑ ❑