A classic text on numeric programming is "Numerical Recipes in C, second Edition" by Press, Teukolsky, Vetterling, and Flannery.
This book shows you all the major approaches to computing derivatives and integrals (plus more), and shows you the costs and benefits of each approach. If...