22.01.2014 Views

download searchable PDF of Circuit Design book - IEEE Global ...

download searchable PDF of Circuit Design book - IEEE Global ...

download searchable PDF of Circuit Design book - IEEE Global ...

SHOW MORE
SHOW LESS

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

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

18 Some Fundamental Numerical Methods<br />

least six decimal places <strong>of</strong> true value. The value for In 2 in Figure 2.5 is <strong>of</strong>f in<br />

the ninth place.<br />

2.3.4. Simpson's Integration Rule. The order <strong>of</strong> truncation errors for repeated<br />

linear interpolation is shown in the top row <strong>of</strong> Figure 2.5. The j = 0<br />

column is the trapezoid rule, and the j =I column happens to be the wellknown<br />

Simpson rule. The other columns represent increasing orders <strong>of</strong> accuracy,<br />

but they do not coincide with other frequently used methods, such as<br />

Weddle's rule (see Ley, 1970, p. 246). Simpson's rule is to Ge applied in<br />

Section 4.6, where independently incremented function data will be integrated.<br />

Therefore, it will be convenient to obtain a closed formula for Simpson's rule,<br />

comparable to (2.19) for the trapezoid rule. Recall that the area in Figure 2.3<br />

is an estimate <strong>of</strong> an integral <strong>of</strong> f(x) from a to b; call it To.,' From Figures 2.3<br />

and 2.5, To.o=h(f, +fb). So, with i=O in (2.26), T,.o becomes<br />

where<br />

T,.o=~(f,+4fHh+fb)' (2.28)<br />

h ~ b-a 2 . (2.29)<br />

This is Simpson's three-point rule.<br />

The general formula for Simpson's rule can be recognized by first finding<br />

the five-point rule, namely, Tl,p using h, = h/2. Extending the analysis<br />

evident in Figure 2.3, the five-point trapezoid rule is<br />

h ( I I )<br />

To., = 1 If,+fHh/,+fah+f'+3h/'+ lfb .<br />

Substituting (2.30) and (2.28) into (2.26), with i= I, yields<br />

(2.30)<br />

h/2<br />

T,., = -3-(f,+4f'+h/' + 2fa+h +4f'+3h/' + f b ). (2.31)<br />

Deducing Simpson's rule from (2.29) and (2.31) and putting it into standard<br />

form, using variable t, we obtain<br />

r'"<br />

where n is even and<br />

at<br />

J", f(t)db 3 (f o+4f,+2f,+ ... +4f n _,+f n ),<br />

(2.32)<br />

t _L<br />

at= _n_'1) • (2.33)<br />

n<br />

Recall that errors in the trapezoid rule were proportional to (M)'. Simpson's<br />

rule errors are proportional to (at)4.<br />

2.3.5. Summary <strong>of</strong> Integration. Romberg integration is based on numerically<br />

stable trapezoidal integration. The number <strong>of</strong> trapezoid sections neces-

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

Saved successfully!

Ooh no, something went wrong!