# Runge kutta

Hi guys

I have two points A and B (in 2 dimensions) and want to use runge kutta 4th order to give me points between these two points starting from A __> B (NOT B___> A). How can I choose the initial point then.

Cheers,

HallsofIvy
Homework Helper
Perhaps I am misunderstanding but if you want a sequence of points going from A to B, then you would start at A. Take your initial point to be A.

If I have 3 points A,B,C and want to know the points between A and B, how can I force the runge kutta to go from A to B not anywhere? I think there is a relation formula can connect A and B and consider it as an initial point. Any idea?

I don't quite understand what you are asking. Are you saying you have an interval
[A, B]
and you want to fill in the graph between these x values?

I don't see how your saying a Runge Kutta method would go "anywhere"? It has to follow the differential equations you have.

EDIT:
If I remember correctly, to apply Runge Kutta you start with the location of the given initial condition, and then iterate from there.

Last edited:
EnumaElish