Question: Consider the initial value problem given by y' (t) = sin(t), defined on the interval [0, 20], with initial condition y (0) = 3. Use

 Consider the initial value problem given by y' (t) = sin(t),
defined on the interval [0, 20], with initial condition y (0) =

Consider the initial value problem given by y' (t) = sin(t), defined on the interval [0, 20], with initial condition y (0) = 3. Use ODE45 to estimate the value of y(8) and let a, be the estimate. Then use Euler's method to estimate the value of y (8) using the step size h = 0.1 and let a2 be the estimate. What's the difference between these two estimates? (i.e. al - a2.) Round your answer to 4 decimal places. (e.g., 3.14159 rounded to 4 decimal places is 3.1416). You don't need to worry about the rounding errors caused by the computations in MATLAB. [Hint: you can set the right interval_length when applying Euler or ODE45 so that it's easy to estimate values of the solution.]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!