Solution Found!
As in Exercises 3.6, for some problems you will
Chapter 3, Problem 8E(choose chapter or problem)
Use the fourth-order Runge-Kutta subroutine with \(h=0.25\) to approximate the solution to the initial value problem
\(y{\prime}=1-y\), \(y(0)=0\),
at \(x=1\). Compare this approximation with the one obtained in Problem 6 using the Taylor method of order
Equation Transcription:
Text Transcription:
h=0.25
y'=1-y
y(0)=0
x=1
Questions & Answers
QUESTION:
Use the fourth-order Runge-Kutta subroutine with \(h=0.25\) to approximate the solution to the initial value problem
\(y{\prime}=1-y\), \(y(0)=0\),
at \(x=1\). Compare this approximation with the one obtained in Problem 6 using the Taylor method of order
Equation Transcription:
Text Transcription:
h=0.25
y'=1-y
y(0)=0
x=1
ANSWER:
Solution:
Step 1:
In this problem we need to approximate the solution to the initial value problem at x = 1 by using the fourth-order Runge kutta subroutine with h = 0.25 and we have to compare these approximation with fourth order taylor approximation.