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

Help with Double integration

  1. May 2, 2008 #1
    I need to do a double integration of the form

    int{ int{ f(x(t1),y(t2)) dt1 dt2 } } limit over t1 {0 : pa} and over t2 {o:pb}.

    Now i have a data set for x for equal spaced t1 values varing from 0 to pa .
    and for y for equal spaced t2 values varing from 0 to pb.

    I will be very happy if any one could help me ?
  2. jcsd
  3. May 2, 2008 #2


    User Avatar
    Homework Helper

    There may be better methods but the only way I solved differential equations with software was via the Runge-Kutta method:


    The issue here is you need an initial state, for example for ballistics, you'd need the initial position and velocity. These would be used to calcuate accelerations, and the Runge Kutta method would be used to predict a new position and velocity after a very small period of time had passed. This process is repeated until the path is "completed".

    For the first few steps, some type of feedback loop is needed to make the initial predictions more accurate.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?