> Although I appreciate the reason why this algorithm has been
> exposed in SOE, it is - in fact - quite inefficient due to
> all those 'sqrt' computations.

Yes, the example was meant to be pedagogical.  But if you look at
exercise 2.5, a much more efficient algorithm is outlined, based on
computing areas of trapezoids, in which no square roots are involved.

  -Paul

Reply via email to