[[0.0, 1.0], [0.1, 0.9048375], [0.2, .8187309014062499]]
namely, the last point in the domain (t=0.3) is not reached because numerically 3*0.1 is a bit bigger than 0.3.
However, makelist does reach the last point in the same domain:
[0, 0.1, 0.2, 0.3]
In order to make the two programs consistent, rk should always try to reach the last point in the domain.
Log in to post a comment.