Mail Archives: djgpp/1996/01/29/03:41:54
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.
- Raw text -