Need help with numerical integration

AI Thread Summary
The discussion centers on finding effective numerical methods for integrating complicated integrands and singular functions. Gauss quadratures are frequently recommended, but there is a challenge in determining the abscissas and weights for general functions. A reference to "Numerical Recipes for C" is made, highlighting its chapter on integration, particularly for improper integrals. It is emphasized that identifying singularities is crucial for performing open-ended integrations between these points. A participant seeks clarification on the book's title, confirming that "Numerical Recipes in C" is indeed the correct reference. A link to the book's website is provided for further exploration.
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.
 
Technology 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?
 
Saladsamurai said:
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/
 
Thaks all
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Back
Top