Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Integrate discrete data

  1. Nov 8, 2012 #1
    I have a grid and on each point on the grid I have discrete velocity data. I however donot have anyalytical function. I need to integrate the points and check where in space they will be after some time. I know it very easy to do it with runge-kutta if i have the analytical function for velocity but how can i do it just using the discrete data??

    Attached Files:

  2. jcsd
  3. Nov 8, 2012 #2


    User Avatar
    Science Advisor

    "Runge-Kutta", or any numerical integration method, sums values of f at discrete points: f(x+ nh, y+ mk), for example. Just use the given function values, choosing [itex]\Delta x[/itex], [itex]\Delta y[/itex] as the distances between the given x and y values rather than a fixed step like "x+ nh" or "y+ mk".
  4. Nov 9, 2012 #3
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook