24.05.2018 Views

differential equation

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

464 DIFFERENTIAL EQUATIONS<br />

y<br />

that x = 0 when y = 1, in the range<br />

x = 0(0.2)1.0. [see Table 49.5]<br />

3.0<br />

Table 49.5<br />

x<br />

y<br />

2.5<br />

0 1<br />

0.2 1<br />

0.4 0.96<br />

0.6 0.8864<br />

0.8 0.793664<br />

1.0 0.699692<br />

2.0<br />

Figure 49.8<br />

0 0.1 0.2 0.3 0.4 0.5 x<br />

Euler’s method of numerical solution of <strong>differential</strong><br />

<strong>equation</strong>s is simple, but approximate. The method is<br />

most useful when the interval h is small.<br />

Now try the following exercise.<br />

Exercise 185 Further problems on Euler’s<br />

method<br />

1. Use Euler’s method to obtain a numerical<br />

solution of the <strong>differential</strong> <strong>equation</strong><br />

dy<br />

dx = 3 − y , with the initial conditions that<br />

x<br />

x = 1 when y = 2, for the range x = 1.0 to<br />

x = 1.5 with intervals of 0.1. Draw the graph<br />

of the solution in this range.<br />

Table 49.4<br />

x<br />

y<br />

1.0 2<br />

1.1 2.1<br />

1.2 2.209091<br />

1.3 2.325000<br />

1.4 2.446154<br />

1.5 2.571429<br />

[see Table 49.4]<br />

conditions<br />

2. Obtain a numerical solution of the <strong>differential</strong><br />

<strong>equation</strong> 1 dy<br />

+ 2y = 1, given the initial<br />

x dx<br />

3.(a) The <strong>differential</strong> <strong>equation</strong> dy<br />

dx + 1 =−y x<br />

has the initial conditions that y = 1at<br />

x = 2. Produce a numerical solution of<br />

the <strong>differential</strong> <strong>equation</strong> in the range<br />

x = 2.0(0.1)2.5.<br />

(b) If the solution of the <strong>differential</strong> <strong>equation</strong><br />

by an analytical method is given by<br />

y = 4 x − x , determine the percentage error<br />

2<br />

at x = 2.2.<br />

[(a) see Table 49.6 (b) 1.206%]<br />

Table 49.6<br />

x<br />

y<br />

2.0 1<br />

2.1 0.85<br />

2.2 0.709524<br />

2.3 0.577273<br />

2.4 0.452174<br />

2.5 0.333334<br />

4. Use Euler’s method to obtain a numerical<br />

solution of the <strong>differential</strong> <strong>equation</strong><br />

dy<br />

dx = x − 2y , given the initial conditions<br />

x<br />

that y = 1 when x = 2, in the range<br />

x = 2.0(0.2)3.0.<br />

If the solution of the <strong>differential</strong> <strong>equation</strong> is<br />

given by y = x2<br />

, determine the percentage<br />

4<br />

error by using Euler’s method when x = 2.8.<br />

[see Table 49.7, 1.596%]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!