2. Use the (a) Euler and (b) Heun (without iteration) methods to solve dy dr -1+ y = 0 where y(0) = 2 and y'(0)=0. Solve
Posted: Wed Apr 27, 2022 8:28 pm
2. Use the (a) Euler and (b) Heun (without iteration) methods to solve dy dr -1+ y = 0 where y(0) = 2 and y'(0)=0. Solve from x = 0 to 4 using h=0.1. Compare the methods by plotting the solutions. The second-order ODE is transformed into a pair of first-order ODEs as in == yo)-2 dy di dz di =ty 2(0) = 0 山