Simpson's Rule for Approximating Integrals This rule is one of the most incredibly tedious (read: BORING) things you can ever learn in a calculus class. Unfortunately, there are many functions for which you cannot use the Fundamental Theorum of Calculus to integrate, and these will pop up sooner or later in class, in homework, or on a test (never in the real world). If you're anything like me, you find it hard to remember which coefficient goes where, and find the entire process to be busy-work. For all of us slackers, I've written this program that will, provided that you know the function, lower and upper bounds (A and B), and the number of divisions (N), calculate the area under the curve with Simpson's rule, sparing you all of the work. And that's a lot of spare time to go on to other questions. ----------------------------------- To use, first enter the function (carefully, and if any variable other than "x" is used, change it to x. sorry about that.), then the lower and upper bounds, and finally, the number of divisions (which is N). If N is odd, then the program will not work. Simpson's rule only works if N is even. After everything is entered, just wait, and your calc will spit the right answer (assuming the right data is entered) in no time flat! Enjoy! -Malaclypse April 10, 2001 liszt@beethoven.com