Question: Solve y' = -y In y using Euler, Runge-Kutta order 2 and Runge-Kutta order 4. You can either test in one python code or separately

Solve y' = -y In y using Euler, Runge-Kutta order 2 and Runge-Kutta order 4. You can either test in one python code or separately for each method. Test the accuracy with the exact solution over an interval [0,1]. Use xo = 3 as initial guess and step size, h = 8. The exact solution for this function is y(x) = e(In 3)ex. Plot your results (Euler, RK2, RK4 and exact function) and do error analysis for this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
