[plt-scheme] HtDP Exercise 23.4.1

From: Thomas Chust (chust at web.de)
Date: Mon Feb 9 20:33:59 EST 2009

2009/2/10 David Yrueta <dyrueta at gmail.com>:
> [...] Still don't really understand how this relates to the question of computing the
> "area of each trapezoid," though. [...]


http://en.wikipedia.org/wiki/Trapezoidal_rule has some figures that
may make the idea behind this integration method more clear: The graph
of the function is approximated by a polyline -- in the special case
of Kepler's rule a very coarse one with only two edges; the
approximation of the integral is the area of the polygon bounded by
this polyline, the two integration interval boundaries and the
coordinate axis of the integration variable.


When C++ is your hammer, every problem looks like your thumb.

Posted on the users mailing list.