- #1
Ready2GoXtr
- 75
- 0
Every single example i have seen of eulers method starts with a range of 0 to some number, what if you had it going from like 2 to some number?
for example
if we had
x'=2x^2 + tx x(2)=1
and our range was
2 <= t <= 2.5 with h = .25
would I do this?
x(2.25)=x(2)+f(x(2),0)*.25 = 1.5
or would i do this
x(2.25)=x(2)+f(x(2),2)*.25 = 2
for example
if we had
x'=2x^2 + tx x(2)=1
and our range was
2 <= t <= 2.5 with h = .25
would I do this?
x(2.25)=x(2)+f(x(2),0)*.25 = 1.5
or would i do this
x(2.25)=x(2)+f(x(2),2)*.25 = 2