00:01
For this problem, i set up this table for calculating different values using oilers method.
00:06
And we know that we're given n is equal to 5 because we want to have five sub intervals.
00:12
And we know that h is going to be equal to our range, which goes from 0 to 1.
00:17
So that'll be 1 over n, which is 5.
00:22
So that's going to be 0 .2.
00:26
And from here we can go ahead and first calculate each of our x of n values.
00:31
So since our step size is 0 .2, that just means that with each increase in n by 1, we're going to increase x of n by 0 .2.
00:42
So what i mean by that is our x of ns are going to be 0 .2, 0 .4, 0 .6, 0 .8, and 1.
00:52
And next i'm going to start by calculating each of my f of x of n minus or not each of them but my first f of x of n minus 1 y of n minus 1 so to calculate for n is equal to 1 we're going to find x of 1 minus 1 so 0 y sub 0 and essentially all we have to do is plug this into our differential equation.
01:21
So that's going to tell us that y prime is equal to y squared, so that'll be 0 squared, or excuse me, 1 squared, times the natural log, i won't write that in preface, times the natural log of x plus 1, so that'll be 0 plus 1.
01:45
And this is going to end up being equal to 0.
01:49
So i'll fill that in right here.
01:51
And from here, we can go ahead and use our formula that we have from oilers ' theorem to find what y sub n is.
01:59
Y sub n is equal to y sub n minus 1 plus h times the f of x sub n minus 1, y sub n minus 1 that we found.
02:10
So this is going to be equal to y sub 0, which we said was 1, plus h, which is 0, which is 0, so that'll be equal to 1.
02:21
And i'll go ahead and do our next step in blue...