Physics, Python Programming, Runge Kutta.
k3 to k4. #This loop also appends that values, starting with the initial values, to the empty arrays that we've initialized earlier. while (x >= xf ): xaxis = np.append(xaxis, x) psi = np.append(psi, r[0]) psiprime = np.append(psiprime, r[1]) k1 = h*deriv(r,x) k2 = h*deriv(r+k1/2,x+h/2) k3 =