Code a 2nd-order Runge-Kutta method; function. Implement the 2nd-order Runge-Kutta method specified in formula (E.41). Use a plain function RungeKutta2 of the type shown in Appendix E.1.2 for the Forward Euler method. Construct a test problem where you know the analytical solution, and plot the difference between the numerical and analytical solution. Name of program file: RungeKutta2_func.py.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here