View Full Version : need help with numerical integration
Rositta
Jan23-12, 08:29 AM
Would any one please suggest the best numerical method for integrating complicated integrands and singular functions? I find that Gauss quadratures are suggested by many references but I can't find a method to obtain the abscissas and weights for a general function.
I like Serena
Jan23-12, 07:03 PM
Would any one please suggest the best numerical method for integrating complicated integrands and singular functions? I find that Gauss quadratures are suggested by many references but I can't find a method to obtain the abscissas and weights for a general function.
Welcome to PF, Rositta! :smile:
My book "Numerical Recipes for C" has a chapter on integration and in particular a paragraph on the integration of improper integrals.
As I understand it, you need to find out where the singularities are, so you can calculate open-ended integrations of the sections between the singularities.
Saladsamurai
Jan23-12, 07:51 PM
Welcome to PF, Rositta! :smile:
My book "Numerical Recipes for C" has a chapter on integration and in particular a paragraph on the integration of improper integrals.
As I understand it, you need to find out where the singularities are, so you can calculate open-ended integrations of the sections between the singularities.
Hi I like Serena :smile: Do you have a link to this? I am having no problem finding "Numerical Recipes in C" but not so much "for C" or is that what you meant?
I like Serena
Jan24-12, 12:06 PM
Hi I like Serena. Do you have a link to this? I am having no problem finding "Numerical Recipes in C" but not so much "for C" or is that what you meant?
Yep. That's what I meant.
Their website is here:
http://www.nr.com/
Rositta
Feb17-12, 04:52 AM
Thaks all
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.