Questions tagged [numerical-integration]
Questions on the use of numerical functions NIntegrate and NDSolve.
3,648 questions
-3
votes
0
answers
32
views
Integration by the trapezoid method of an integral with coinciding limits
Please tell me what needs to be changed in my code so that manual numerical integration works the same way as the built-in integration function?
Code with built-in numerical integration:
https://www....
3
votes
1
answer
100
views
NDSolve of a beautiful Integro-differential equation
I have a problem when I want to solve this integro-differential equation where the $\chi' (U)$ appears in the integrand. If statement gives the $chiIntegral=0$ for $umax=20$ since the upper bound of ...
0
votes
0
answers
35
views
The connection between the number of terms N of the Fourier series and the NIntegrate parameter [closed]
Please tell me, ideas what dependencies of N on any parameter of NIntegrate can be made? N is the number of terms of the Fourier series from which the integral is taken. I tried to connect N with ...
-1
votes
0
answers
141
views
A function specified as an integral with a variable upper limit [closed]
I create a new function in the form of an integral with a variable upper limit. I add it to the array of functions. I make an animation - I output the obtained functions in order. Please explain what ...
2
votes
1
answer
108
views
Integrate and Plot
I have a function which I want to integrate and then plot. The function is a complicated one and getting an error SystemException["MemoryAllocationFailure"]. Can any one fix this? The code ...
3
votes
1
answer
233
views
Speed up a Table involving Integrate, then ListDensityPlot
Actually I don't know what is the problem, but the program doesn't give me a result. The last time I ran the program, it has been counting for 5 hours. Maybe I should give the program more time to end....
1
vote
1
answer
132
views
Nested NIntegrate Iterations
I'm working on finding the limit of a function that involves nested integration.
I've written the code, and it's running an iterative procedure.
However, each iteration currently takes about 24 hours ...
0
votes
0
answers
72
views
How to monitor intermediate values of `NIntegrate`?
I know several examples Monitor, EvaluationMonitor and IntegrationMonitor but cannot ...
0
votes
1
answer
184
views
How to avoid singularity during integration? [closed]
I applied the recommendations from my previous question, the calculation time was reduced. Thank you very much!
Now I have a question regarding the calculation of some matrix elements, for example <...
4
votes
3
answers
223
views
Plottting a Table of InterpolatingFunction's over distinct ranges
I have a Table of interpolated functions that are generated as parametric solutions via NDSolve. I want to plot all of them, but ...
1
vote
0
answers
108
views
Possible ways to increase the speed of integral calculations
The code below is used to calculate the matrix elements He. However, the calculation of each element takes a very long time.
Question: How can the speed of these ...
2
votes
1
answer
310
views
How can I be sure NIntegrate does not jump across a branch cut in this case?
I'm working with numerical integrations of multi-valued functions which have integration limits at a branch cut and I don't want the integration "jumping" the branch cut into the next branch ...
3
votes
2
answers
234
views
Solution to a two-dimensional integration equation
I was hoping to solve a two dimensional integration equation, which is actually a simplified Schrodinger equation in momentum space:
$$ (x^2-3)f(x,y)-\int_0^\infty du\int_0^{\pi}dv\frac{u^2\sin{v}f(...
7
votes
1
answer
220
views
Possible error in gaussian quadrature formula for tetrahedron
Bug introduced in 14.2 or earlier and persisting through 14.2.1.
Mathematica is able to give the 15 gaussian integration points and weights for a Tetrahedron[]
<...
1
vote
0
answers
101
views
Looking for Gaussian quadrature rules for triangle and tetrahedron
edited
The gaussian quadrature rules are very helpful in solving many numerical problems.
Unfortunately Mathematica only provides the one dimensional rules in the package ...