Thread: Education: UK
View Single Post
  #39   Report Post  
Old 21-04-2003, 11:44 AM
Oz
 
Posts: n/a
Default Education: UK

Gordon Couger writes
A recurcusive soluouton that goes all the way throught to the other side of
the channel calulates the avergate and returns the area and return the area
to the incantaion that called where it is summed wiht the area of that
incantation and so on until the function fails back to the point it return
the area in the stream. It is all done with volitile variables and no house
keeping.


yes, but you has the x-y data so calculating the area is a simple
simpson's rule. NO recursion.

--
Oz
This post is worth absolutely nothing and is probably fallacious.
Note: soon (maybe already) only posts via despammed.com will be accepted.