Posted by Shelly on 10/23/07 22:09
"Zayde" <phdfromic@yahoo.com> wrote in message
news:1193169920.488290.289670@q3g2000prf.googlegroups.com...
> Is there a package of functions to do numerical integration in PHP ?
>
"differential equations" has much more to the subject than simply doing an
integration. However, for evaluating an integral (now it is called an
"anti-derivative" for some strange reason, it is pretty easy to do a
Simpson's rule. You have all your points in an array and simply march
through it appropriately (1-4-2-4-2........-4-1) and multiply the product
properly. No big deal.
Shelly
[Back to original message]
|