Use Eulers method to approximate y1 for the solution yt to t
Use Euler\'s method to approximate y(.1) for the solution y(t) to the 2nd order IVP y\'\'-2y\'-y=0; y(0)=1, y\'(0)=2
Solution
The given Differential Equation is
y\'\' - 2 y\' - y = 0
Integrating both sides, we get
y\' - 2y - y dx + C1 = 0
Ley y = ex
So, y dx = ex dx = ex
So, y\' - 2ex - ex dx + C1 = 0
Implies that y\' - 2ex - ex + C1 = 0
Implies that y\' - 3ex + C1 = 0 If x = 0 y\' = 2
So 2 - 3 e0 + C1 = 0 So C1 = 1
Integrating
y - 3ex + C1 x + C2 = 0
So the equation can be written as
y(x) = 3 ex - C1 x - C2
If x = 0, y = 1 So, 1 = 3e0 - C1 0 - C2 Implies that C2 = 3-1 = 2
So the equation is
y(x) = 3 ex - x - 2
So, the approximate value of y(0.1) = 3 e0.1 - 0.1 - 2 =
( ex = 1 +x + x2/2! + x3/3! + .......... = 1 + 0.1 + (0.1)22! + (0.1)/3! +.........
1 + 0.1 + 0.005 + 0.00016 +....... = 1.10516)
So, y(0.1) = 3*1.10516 -0.1 -2 = 3.31548 - 0.1 -2 = 1.21548

