I have been trying to mimic a paper's solution of some, probably not so hard, equations.
They say they solve them with 4th order Runge Kutta.
To my knowledge, I don't think this is possible, but here I show an example:
$$y'(t) = y(t) + \int_0^t \dfrac{1}{1+y(t)y(x)}dx$$
or generally a function $f(y(t),y(x))$ inside the integral.
I don't really understand how I could solve this numerically (Also, I can't bring the form of it to be an ODE.)
The following code, calculates the ODE:
$$y'(t) = -\int^t_0 y(x) dx +1$$ with $y(0)=0$
which is equivelant to $$y''(t) = -y(t)$$ with $y'(0) =1$ and $y(0)=0$
and starts out correctly, but as time goes on, integration error adds up (probably due to method)