All Questions
Tagged with integration numerical-integration
9 questions
0
votes
0
answers
50
views
handling symbolical and numerical nested integrals
I'm working on reproducing a calculation from this paper https://arxiv.org/abs/1712.03972 for my thesis but I'm struggling with how to properly implement the nested integrals in Python, specifically ...
1
vote
0
answers
78
views
Numerical integration over part of a sphere
I want to numerically compute the surface integral,
$$
\int_0^{2\pi} d\phi \int_{\theta_0}^{\theta_1} d\theta \sin{\theta} f(\theta,\phi)
$$
Is there a clever transformation from this integral over ...
3
votes
0
answers
60
views
Quadrature on an interval $[0,h]$ for $f\in C^3$ vanishing at zero
Cross-posted at Math SE
I am studying for an exam and I would like to receive feedback on my solution to a past problem on numerical integration and/or receive suggestions about how to improve my ...
2
votes
0
answers
100
views
Calculating Debye functions to high accuracy (hundreds of bits), is it possible to be faster than generic quadrature?
The Debye functions are defined like so: ${D_n\left(x\right)} = {\frac{n}{x^n} \cdot {\int_0^x{\frac{t^n}{e^t - 1}dt}}}$.
I'm trying to evaluate the functions for $n$ from one to four and for $\left\...
0
votes
0
answers
117
views
How to minimize a numerical integration in python?
I need some help to minimize a numerical integration. It's about a classical problem in physics (hydrogen atom). It can be solved analytically but I need to solve it numerically in Python.
We have an ...
0
votes
0
answers
136
views
Am I doing leapfrog integration correctly?
I wrote this minimal example to examine the Leapfrog integration algorithm.
However, I am not sure it is the correct algorithm, and the listing is giving the correct output.
Is this the Leapfrog ...
2
votes
2
answers
1k
views
Understanding leapfrog integration algorithm
The leapfrog.cpp is an implementation of leapfrog integration algorithm where f() function is being integrated:
leapfrog.cpp
<...
0
votes
0
answers
41
views
Matching the limits of integration with the proper variables in a complicated case when using scipy.integrate.nquad
I need to integrate expressions containing powers of the function:
...
0
votes
1
answer
48
views
'Integral2' error in MATLAB for invalid integrand
Here is the code that I am trying to run:
...