As of May 31, 2023, we have updated our Code of Conduct.

# Questions tagged [numerical-integration]

Questions on the use of numerical functions NIntegrate and NDSolve.

3,358 questions
Filter by
Sorted by
Tagged with
23 views

### ParallelTable stuck

I have Mathematica 12.1. I generate a data dat in the form x1, x2, x3, x4, func[x1,x2,x3,x4], then interpolate it obtaining a ...
344 views

### How can I speed up calculation of the integral?

Is it possible to speed up the calculation of the Kx integral? ...
44 views

1 vote
171 views

### Mathematica cannot NIntegrate

I want to evaluate a numerical integral: NIntegrate[ Exp[-2*Pi*I*Integrate[EllipticTheta[3, (-Pi)*u, 0.4], {u, 0, t}]]* Exp[2*Pi*I*t], {t, 0, 1}] Then, error ...
72 views

### Why two the same integrals give different values?

Why two the same integrals give different values? ...
72 views

### Plotting No-Fermi scaling function

Given the function below How can one plot with x in the horizontal and g(x) in the vertical axis for different values of ...
50 views

### How to solve boundary value problem?

Is it possible to solve a boundary value problem like this? ...
62 views

### Solving coupled system with nonlinear 3rd order ODEs, over range from zero to infinity

I need help solving this system with the fifth-order Runge Kutta Fehlberg integration scheme. my code is  ...
146 views

### How to numerically solve a differential equation which has integration in it?

I am trying to solve the following differential equation which has integration in it. It is not giving any results. Can anyone help? ...
159 views

### When p ranges from 0 to infinity, S is obtained by numerical integration

The parameters and functions are loaded as follows: ...
1 vote
119 views

### Integration over region yields wrong answer?

From an electricity and magnetism question, I want to evaluate: \begin{equation} E = \frac{k}{4 \pi \epsilon_0} \int_{-d}^{d} \int_{-d}^{d} \frac{-y^2}{(x^2 + y^2 + z^2)^{3/2}} dx dy \end{equation} ...
1 vote
161 views

### Speeding up the time of integration calculation

I am going to integrate from Chebyshev orthogonal functions that is in the form of: ...
50 views

### NIntegrate MonteCarlo with phase-space constraints

I wanted to use NIntegrate in Mathematica to perform a multi-dimensional Monte-Carlo integration numerically. I am a physics student, and I want to calculate probabilty (cross-section) of a high ...
29 views

### Why occur a giant increasing of absolute value of minimal eigenvalue with rise of the basis functions number?

I have the following code: code 1 ...
1 vote
151 views

### Post-process NDSolveValue result

For example, after solving the Poisson equation $-\nabla^2 T = 1$ on the unit circle using NDSolveValue and the following code ...
59 views

72 views

### Calculating Length of an Elliptical Arc [closed]

I am trying to calculate the arclength of a section of an ellipse, given the correspoding parametrization angle $\phi$. While doing so, I am running into problems with elliptic integrals. The ...
1 vote
117 views

### Wolfram Mathematica Monte Carlo for integrals approximation

I wanted to implement the Monte Carlo method for multiple integrals approximation in Wolfram Mathematica. Namely I wanted to let the user insert as input the dimension of the integral and the number ...
174 views

### NIntegrate a discrete data set with uncertainties

Consider a data set with some numerical uncertainty in the y-values, such as the following ...
27 views

### How to span a non-zero parameter space for integral?

https://github.com/adeelaafzal/Effective_degrees_of_freedom/find/main I am working on the following code, ...
56 views

### Bessel Function Numerical Integration: Invalid Limit of Integration

I am new to the Mathematica and trying to compute numerically value that involves Bessel function and its derivate. Here ae+- (in code it's Xplus and ...
143 views

### Find trajectory of particle solving ODE containg integral

Please suggest how to solve below linear ODE (I want to plot the r vs t graph), I am trying using Integrate: ...
216 views

### Plot all real and imaginary roots of FindRoot (2)

Following the comment of our friend @Bob Hanlon's in my post Plot all real and imaginary roots of FindRoot vrs k`, which I would like to thank again for the assistance it gave, I'm creating a new ...
1 vote
105 views

### Creating a variable-length list of integral equations using a loop

I need to automatically form a list of equations that later will be used in FindRoot. The number of equations (NN) is variable, so I need to use a For loop. When I ...
49 views

### Numerical integration of complicated multivariable expression with divergencies

I've been working on a weird case for some time now and I'm stumped. Any help would be appreciated. The problem I'm trying to calculate a 5-dimensional integral of a pretty complicated function (which ...
52 views

### Can you plot the expressions in a list without Evaluate[]?

Plot is forcing me to choose between two bad options. I have a function g that is a numerical integral which I want to plot for multiple values of a parameter. <...
1 vote