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.

- - -------------------------------<br />

Program 82-3.<br />

Romberg Integration<br />

9000 REM R~B,I8" SCI3,P298.TRCI0/79<br />

9010 EP=lE-5<br />

9020 ND=11<br />

9022 DIH AU(ND><br />

9025 PRINT"LOWER,UPPER LIMITS =";:lNPUT XL,.XU<br />

9040 XX=XL:GOSUBl0000:FL=FC<br />

9050 XX=XU:GOSUBl0000:FU=FC<br />

9060 AU(1)~(FL+FU)/2<br />

9070 H=XU-XL<br />

9080 IF(ND-l) 1£-5 DUE TO ROUNDING"<br />

9470 Y=H'Y<br />

9480 00109440<br />

10000 REM INTEGRAND. FC(XX).<br />

10010 FC=I/XX<br />

10020 RETURN<br />

15000 END<br />

42\

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

Saved successfully!

Ooh no, something went wrong!