From: Eric S. Raymond Date: Wed, 18 Feb 2004 10:15:41 +0000 (+0000) Subject: Use eqn character names. X-Git-Tag: 1.0~84 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=137f1c3575d88c579ec40e6a3b954598be970bb7;p=mad.git Use eqn character names. --- diff --git a/doc/mad-manual.xml b/doc/mad-manual.xml index b67c3df..419df5b 100644 --- a/doc/mad-manual.xml +++ b/doc/mad-manual.xml @@ -110,9 +110,10 @@ function-valued variables! On the other hand, there are some features of MAD which make one truly wonder what the designers were thinking — the handling of -array indexing, for example. If 1962 weren't a couple of years too -early to attribute that to an LSD overdose it would make a tempting -hypothesis. +array indexing, for example, with two different addressing systems one +of which could mutate at runtime. If 1962 weren't a couple of years +too early to attribute that to an LSD overdose it would make a +tempting hypothesis. In most of the respects we've described, however, MAD is very representative of its time. This will become apparent from a look at @@ -3049,6 +3050,32 @@ NORMAL MODE IS BOOLEAN could have been used as tthe second statement of this program instead of the BOOLEAN declaration. + +Example 3 + +Problem: To approximate +a∫b f(x) by Simpson's +Rule, for an arbitrary interval [a, b] using N equal subintervals +(where N is an arbitrary even integer). + +Analysis:By Simpson's Rule + + + + + + + + +where yi = +f(xi), and a = x0, +x1, ... xN = b are the +partition points of the interval [a,b]. +