From: "A.Appleyard" To: djgpp AT delorie DOT com Date: Mon, 29 Jan 1996 08:30:30 GMT Subject: Re: Integrals/Derivatives in C Message-ID: <11FAA9707EF@fs2.mt.umist.ac.uk> ohd AT msn DOT com (David Oh) wrote (Subject: Integrals/Derivatives in C):- > [I want] a simple C code fragment to find the (numeric & symbolic) > derivative or integral of a function. ... You need far more than "a simple code fragment" to work out integrals and differential coefficients (= derivatives) accurately numerically. I have written C functions to work out integrals by Gauss's method and Kutta-Merson's method. Accurate numeric integration is complicated. For a start, for good accuracy, don't try to makeshift with the trapezoid method or Simpson's rule.