- #1
ch2kb0x
- 31
- 0
Homework Statement
e^(x) + y = dy/dx, [-1,1], y(0) = 1, N = 4.
Homework Equations
The Attempt at a Solution
h = b-a / N = 0.5
x0= 0, y0 =1
x1= 0.5, y1 = 2.472
x2= 1, y2 = 5.433
x3= 1.5, y3= 11.195
x4=2, y4= 22.146
=====================
These were the values I got for the x's and y's. However, I would like to know if it is possible to do a reverse (backwards) runge kutta to [-1,1] range. If so, how do I compute this? (what would be my starting x0, y0).