How to Solve a Differential Equation Using the Runge-Kutta Method?

  • Thread starter Thread starter maxtor101
  • Start date Start date
  • Tags Tags
    Runge-kutta
Click For Summary
The discussion focuses on using the Runge-Kutta method to solve a specific differential equation involving variables y and r, which depend on x and t. Participants emphasize the need for clarity on how these variables interact, particularly the roles of g2, y1, y2, r1, and r2. There is a request for additional information regarding the potential existence of a simultaneous equation for dx2/dt. The complexity of the equation suggests that if all variables were constants, the solution would be straightforward. Overall, the conversation highlights the importance of understanding variable dependencies in applying the Runge-Kutta method effectively.
maxtor101
Messages
22
Reaction score
0
Hey all!

I'm trying to use the Runge-Kutta method on this differential equation but I am getting nowhere and it's starting to confuse me :S

Any help would be greatly appreciated!


\frac{dx_{1}}{dt} = g_{2} \frac{y_{2} - y_{1}}{{|r_{2} - r_{1}|}^2}
 
Physics news on Phys.org
Give us a clue: tell us how {y}_{1}, y_2, r_1, r_2, and g_2 depend on x_1 and t.

(If they were all constants, the solution is rather trivial!)
 
Last edited:
In addition to AlephZero's question, is there a simultaneous equation for dx2/dt ? (If not, why is there subscript on x?)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 65 ·
3
Replies
65
Views
7K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K