All Questions
Tagged with physics numerical-integration
85
questions
0
votes
0
answers
67
views
Need help in plotting a graph calculated with ``NIntegrate``
This is my Mathematica code,
...
1
vote
0
answers
69
views
Why is NDSolve ignoring two PDEs out of three ones I am solving?
I am solving the following coupled system of 3 PDEs modelling a 1D membrane coupled to a 1D fluid flow field underneath.
However, on putting them into NDSolveValue (and trying with FEM), it says the &...
0
votes
0
answers
54
views
Stabilise equations for motion of Inextensible string subject to spatially non-uniform forces
I would like to simulate the motion of an inextensible membrane in 1D as an inextensible string subject to spatially-dependent body forces. For now, I would like it to be constrained at both ends. I ...
1
vote
0
answers
83
views
How to decrease the computation timing while using NIntegrate?
I'm trying to calculate the $A$ and $F$ values by using this code,
...
0
votes
1
answer
50
views
Trying to use NIntegrate and my code works intermittently - Throws one error consistently, but only gives me a partial result [closed]
I'm trying to do some calculations/simulations of pulse autocorrelations of non-integer orders and when I try to use NIntegrate it only works intermittently, and when it does work it only gives me a ...
1
vote
1
answer
77
views
Integrating Over a Conditional Time-Dependent Region
I'm experimenting with integrating over regions so I can check some physics simulations. Here's the rundown of what I'm attempting to do.
I have a rectangle that I'm rotating with a parameter:
...
1
vote
1
answer
105
views
Plot after applying NIntegrate
I'm trying to integrate and graph $I$ vs $b$ the following integral (eq. 24 in this paper) in wolfram mathematica
$$ I = \int_{2}^{\infty} \frac{g_i^3 \mathcal{K}_t \mathrm{~d} r}{r^2\left|\mathcal{K}...
0
votes
1
answer
103
views
Change of variable of a numerically solved integral
I have the following function that numerically integrates a function on the interval $\left[ 2, 100 \right]$
...
1
vote
0
answers
84
views
Intensity pattern [closed]
I'm trying to get the following intensity pattern from this paper
In the Newtonian case, the equations for the intensity (eq. 9 and 10 in the article), I put them in Mathematica with the change $b^2 =...
1
vote
1
answer
266
views
Plot solution of an integral with parameter
In this article, they solve the following integral
$$ \mathcal{I}_{o b s}\left(\nu_0\right)=\int_{\gamma_i} \frac{(A(r))^{3 / 2}}{r^2} \sqrt{\frac{1}{A(r)}+r^2\left(\frac{d \varphi}{d r}\right)^2} d r ...
1
vote
1
answer
145
views
Non Linear Oscillation Spring-Pendul
In a previews thread, I asked about how can I solve coupled PDEs. The problem I had was the following one:
What I was given were the following:
$\vec r_1(t)=l_f(t)(sin(\phi_1(t)),-cos(\phi_1(t)))$
$\...
4
votes
1
answer
199
views
NDSolveValue gives up without warning or solution on PDEtoODE system
I have the following pair of PDEs that I want to solve in the half-space x>=0:
I followed this post to decompose the 4th-order height equation into two 2nd-order ones to respect the hyperbolic ...
4
votes
1
answer
208
views
Optimizing Code N-Body Simulation
below is my code for a gravitational n-body problem. I know Mathematica has a n-body simulation function however I am programming this to learn Mathematica more and programming numerical techniques. ...
1
vote
1
answer
106
views
Plot The Magnetization
I have a problem with plotting a function M(T).
The matrix is the following:
...
0
votes
0
answers
59
views
Problems with plotting NIntegrate and speeding up NIntegrate
I'm trying to plot a function $E_{01}(p)=0.5^{2}(-8+6p)+\frac{1}{N}\displaystyle\sum_{\mathbf{k}}(\sqrt{A_{\mathbf{k}}^{2}-B_{\mathbf{k}}^{2}}-A_{\mathbf{k}})$
where $A_{\mathbf{k}}=0.5(8-6p(1-\frac{1}...