This document compares the Euler method and Runge-Kutta method for numerically solving differential equations. It shows the results of applying each method to the differential equation y' = y with initial value y(0) = 1 over intervals of x from 0 to 10. For the Euler method, the error increases significantly at each step compared to the exact solution. For the Runge-Kutta method, the error remains small even out to x = 10.
This document compares the Euler method and Runge-Kutta method for numerically solving differential equations. It shows the results of applying each method to the differential equation y' = y with initial value y(0) = 1 over intervals of x from 0 to 10. For the Euler method, the error increases significantly at each step compared to the exact solution. For the Runge-Kutta method, the error remains small even out to x = 10.
This document compares the Euler method and Runge-Kutta method for numerically solving differential equations. It shows the results of applying each method to the differential equation y' = y with initial value y(0) = 1 over intervals of x from 0 to 10. For the Euler method, the error increases significantly at each step compared to the exact solution. For the Runge-Kutta method, the error remains small even out to x = 10.