Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Question: Use Euler's method with h = 0.1 to approximate x(0.2) and y(0.2), where x(t), y(t) is the solution x' = x + y of the initial value problem y' = x - y and x(0) = 1, y(0) = 2.

Short Answer

Expert verified

So, the approximate values are x(0.2)=1.62,y(0.2)=1.84.

Step by step solution

01

Definition of Euler's method

The Euler method is a first-order method, which means that the local error (error per step) is proportional to the square of the step size and the global error (error at a given time) is proportional to the step size.

02

Use Euler’s method

Given system isx'=x+y

y'=xy   x(0)=1,(0)=2

So f1(x,y)=x+y,f2(x,y)=xyLet h=0.1

Applying Euler's method successively we get

x1=x0+hf1x0,y0=x0+hx0+y0=1+0.11+2x1=1.3y1=y0+hf2x0,y0=y0+hx0y0=2+0.1(12)y1=1.9

03

Evaluation

Now for second time

x2=x1+hf1x1,y1=1.3+0.1[1.3+1.9]=1.69y2=y1+hf2x1,y1=1.9+0.1[1.31.9]y2=1.84

Thus, the required values are x(0.2)=1.62,y(0.2)=1.84.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Consider the initial-value problem y'=2y,y(0)=1. The analytic solution isy=e2x.

(a) Approximate y(0.1)using one step and Euler's method.

(b) Find a bound for the local truncation error iny1.

(c) Compare the error iny1with your error bound.

(d) Approximate y(0.1)using two steps and Euler's method.

(e) Verify that the global truncation error for Euler's method is O(h)by comparing the errors in parts (a) and (d).

In Problems 1-10use the finite difference method and the indicated value of to approximate the solution of the given boundary-value problem.

y"+(1-x)y'+xy=x,y(0)=0,y(1)=2;n=10

When \(E = 100V,R = 10ohm,L = 1h\)the system of differential equations for the currents\({i_1}(t)\) and \({i_3}(t)\) in the electrical network given in Figure\(9.4.3\) is

\(\begin{aligned}{*{20}{c}}{\frac{{d{i_1}}}{{dt}} = - 20{i_1} + 10{i_3} + 100}\\{\frac{{d{i_3}}}{{dt}} = 10{i_1} - 20{i_3}}\end{aligned}\)

where \({i_1}(0) = 0\)and\({i_3}(0) = 0\). Use the \(RK4\)method to approximate \({i_1}(t)\)and \({i_3}(t)\)at \(t\). Use \(h = 0.1\). Use a numerical solver to graph the solution for \(0 \le t \le 5\). Use the graphs to predict the behavior of\({i_1}(t)\) and\({i_3}(t)\) as\(t \to \infty \).

Figure\(9.4.3\)Network in Problem \(6\).

In Problems \(5 - 8\)use the Adams-Bashforth-Moulton method to approximate \(y(1.0)\), where \(y(x)\) is the solution of the given initial-value problem. First use \(h = 0.2\)and then use \(h = 0.1\).Use the \(RK4\) method to compute \({y_1},{y_2}\)and \({y_3}\).

\(y' = {(x - y)^2},y(0) = 0\).

In Problems 5–12 use computer software to obtain a direction field for the given differential equation. By hand, sketch an approximate solution curve passing through each of the given points.

y'=xa)y(0)=0b)y(0)=-3

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free