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
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
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...

Similar threads

Back
Top