I have numerically solved a differential equation and obtained numerical values of $\frac{dy}{dx}$ at different points of the domain space. How can I now obtain numerical values of $y$ from these values of $\frac{dy}{dx}$?
It is not possible to obtain $y$ directly from the differential equation. Finding $\frac{dy}{dx}$ itself required computation of an elliptic integral.
I don't want a computer algorithm; I want to write it myself. Just tell me the process to do it.
Hint.
If you have $f'(x_i)$ for a set of points $\{x_i|\; i=0,1,2,\cdots n\}$ and the value $f(x_0)$ you can estimate the value of the function at the same points using $f(x_i)=f(x_{i-1})+f'(x_i)(x_i-x_{i-1})$.
The approximation is good if the intervals $x_i-x_{i-1}$ are small. Possibly, interpolation methods can be used as suggested here.