Question

Consider two different initial value problems A and B on the interval [0, 2], both with...

Consider two different initial value problems A and B on the interval [0, 2], both with initial data given at t = 0. Suppose the exact solutions to these problems are φA(t) = e^−10t and φB(t) = e^−100t . Suppose you apply Euler’s method to approximate these solutions and that your goal is to keep local truncation error for (tn, yn) under > 0 when tn is near 0. To achieve this would you expect to need a smaller step size for problem A or for problem B? Explain briefly

0 0
Add a comment Improve this question Transcribed image text
Answer #1

We are given

10f A(t)e and -T00 B(t) e

Clearly, 10h 10t A(th) e10+h)e

Therefore, ΦΑ(-h)-ΦΑ) 10η 1 Ξe φ4)

while, similarly,

B(th)-B(t) 100h 1 = e Bt)

Clearly, for a given value of h>0, -10h 100h e . Therefore, the relative error in 4(t) is greater than that in B(t and to compensate for this, it is required that problem A have smaller step size than problem B.

Add a comment
Know the answer?
Add Answer to:
Consider two different initial value problems A and B on the interval [0, 2], both with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 3. Consider the initial value problem y(0) 0-105z(t Clearly, the solution to the system is y(t) e...

    Ignore crossed out questions, thanks 3. Consider the initial value problem y(0) 0-105z(t Clearly, the solution to the system is y(t) e and(t) e-10t. Suppose we tried solving the system using forward Euler. This would give us with to- 0, y(to) 1, and z(to) 1. 2.10-5 c. In general, why would you expect forward Euler to require smaller time-steps than backward Euler? 3. Consider the initial value problem y(0) 0-105z(t Clearly, the solution to the system is y(t) e and(t)...

  • Consider the initial value problem i. Find approximate value of the solution of the initial valu...

    Consider the initial value problem i. Find approximate value of the solution of the initial value problem at using the Euler method with . ii. Obtain a formula for the local truncation error for the Euler method in terms of t and the exact solution . 2,,2 5 0.1 y = o(t) 2,,2 5 0.1 y = o(t)

  • Complete using MatLab 1. Consider the following initial value problem 3t2-y, y(0) = 1 Using Euler's...

    Complete using MatLab 1. Consider the following initial value problem 3t2-y, y(0) = 1 Using Euler's Method and the second order Runge-Kutta method, for t E [0, 1] with a step size of h 0.05, approximate the solution to the initial value problem. Plot the true solution and the approximate solutions on the same figure. Be sure to label your axis and include an a. appropriate legend b. Verify that the analytic solution to the differential equation is given by...

  • Given the initial-value problem y'=2-2tyt2+1,          0 ≤t≤1,        y0=1 With exact solution yt= 2t+1t2+1 Using MATLAB use...

    Given the initial-value problem y'=2-2tyt2+1,          0 ≤t≤1,        y0=1 With exact solution yt= 2t+1t2+1 Using MATLAB use Euler’s method with h = 0.1 to approximate the solution of y

  • Consider the initial-value problem y' = 2x – 3y + 1, y(1) = 9. The analytic...

    Consider the initial-value problem y' = 2x – 3y + 1, y(1) = 9. The analytic solution is 1 2 74 e-3(x - 1). 9 3 9 (a) Find a formula involving c and h for the local truncation error in the nth step if Euler's method is used. 372²e -3(0-1) (b) Find a bound for the local truncation error in each step if h = 0.1 is used to approximate y(1.5). (Proceed as in Example 1 of Section 6.1.)...

  • 3. Consider the initial value problem y(t) = y, y(0) = 1. a. Write down (i.e.,...

    3. Consider the initial value problem y(t) = y, y(0) = 1. a. Write down (i.e., write the formula which describes one step, Yn+1 = yn + ...) the second order Taylor method with step size h for this initial value problem. b. Write down the time stepping formula Yn+1 = Yn +... for the modified Euler method 9n+1 := yn + hf(en +3.29 + s(tn, yn)), for this initial value problem. c. What is the difference between the two...

  • ///MATLAB/// Consider the differential equation over the interval [0,4] with initial condition y(0)=0. 3. Consider the...

    ///MATLAB/// Consider the differential equation over the interval [0,4] with initial condition y(0)=0. 3. Consider the differential equation n y' = (t3 - t2 -7t - 5)e over the interval [0,4 with initial condition y(0) = 0. (a) Plot the approximate solutions obtained using the methods of Euler, midpoint and the classic fourth order Runge Kutta with n 40 superimposed over the exact solution in the same figure. To plot multiple curves in the same figure, make use of the...

  • Consider the initial-value problem y' = 2x - 3y + 1, y(1) = 9. The analytic...

    Consider the initial-value problem y' = 2x - 3y + 1, y(1) = 9. The analytic solution is 1 2 74 -X + e-3(x - 1) 9 (a) Find a formula involving c and h for the local truncation error in the nth step if Euler's method is used. (b) Find a bound for the local truncation error in each step if h = 0.1 is used to approximate y(1.5). (Proceed as in Example 1 of Section 6.1.) (c) Approximate...

  • 3. Consider the initial value problem y'(t) = y2, y(0) = 1. a. Write down (i.e.,...

    3. Consider the initial value problem y'(t) = y2, y(0) = 1. a. Write down (i.e., write the formula which describes one step, Yn+1 = yn + ...) the second order Taylor method with step size h for this initial value problem. b. Write down the time stepping formula Yn+1 = Yn +... for the modified Euler method h Yn+1 := yn + hf(tn + h 2:9 » Yn + 5 f (tnYn)), for this initial value problem. c. What...

  • Consider the initial value problem given below dx -2 +t sin (x), dt x(0) 0 Use...

    Consider the initial value problem given below dx -2 +t sin (x), dt x(0) 0 Use the improved Euler's method with tolerance to approximate the solution to this initial value problem at t 1. For a tolerance of e-0.01, use a based on absolute error stopping procedure Consider the initial value problem given below dx -2 +t sin (x), dt x(0) 0 Use the improved Euler's method with tolerance to approximate the solution to this initial value problem at t...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT