Given the following ODE, y' + 5y = sin(x) a. Approximate by hand y (0.03) using 4th order Runge-Kutta with h=0.01 and y(0)=0. b. Using the previous results use Adam-Bashforth three step explicit method to approximate y (0.05) with h=0.01 c. Use MATLAB to approximate and plot the solution from x=0 to x=1 using 4th order Runge-Kutta with h=0.01 and y (0) =1.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter14: Numerical Methods
Section14.3: Refinements To The Bisection Method
Problem 4E
icon
Related questions
Question
Given the following ODE, y' + 5y = sin(x)
a. Approximate by hand y (0.03) using 4th order Runge-Kutta with h=0.01
and y(0)=0.
b. Using the previous results use Adam-Bashforth three step explicit method
to approximate y (0.05) with h=0.01
c. Use MATLAB to approximate and plot the solution from x=0 to x=1 using
4th order Runge-Kutta with h=0.01 and y (0) =1.
Transcribed Image Text:Given the following ODE, y' + 5y = sin(x) a. Approximate by hand y (0.03) using 4th order Runge-Kutta with h=0.01 and y(0)=0. b. Using the previous results use Adam-Bashforth three step explicit method to approximate y (0.05) with h=0.01 c. Use MATLAB to approximate and plot the solution from x=0 to x=1 using 4th order Runge-Kutta with h=0.01 and y (0) =1.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole