Need help with numerical integration

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
Rositta
Messages
13
Reaction score
0
Would anyone 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.
 
Physics news on Phys.org
Rositta said:
Would anyone 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.
 
I like Serena said:
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?