I'm trying to solve two simultaneous differential equations using Runge-Kutta fourth order on Python, the equations are as follows:

d(f(t))/dt=H(f(t),t)

d(g(t))/dt=K(g(t),f(t),(f(t=0))

f & g are two functions depending on time t only.

initial condition of both functions f and g are known.

I need to plot both functions depending on time.

What is the algorithm to do so on Python?

Does the time step affect the result of solving such problem ?

Thank you.

More Abdeljalil Chougradi's questions See All
Similar questions and discussions