Question: Create a PYTHON code that gives you the solutions of the initial value problem with the methods of: 1. Euler and 2. Modified Euler and
Create a PYTHON code that gives you the solutions of the initial value problem with the methods of:
1. Euler and
2. Modified Euler and
3. Heun and
4. Fourth Order Runge-Kutta
EDO: y' = 1 + y/ t+ (y/t)^2
EXACT SOLUTION: y(t) = t tg(ln(t))
INTERVAL FOR T: [1,3]
INITIAL CONDITION: y(1) = 0
With those results, creata a table comparing the solutions. For the 1st table use h = 0.1 and for the 2nd use h = 0.05 (to set the interval partitions for t)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
