All Questions
172
questions
0
votes
0
answers
40
views
2D Projected Stocastic GPE Equation With Vortices
I am trying to solve the Projected Stochastic Gross-Pitaevskii equation with periodic boundary conditions from this paper https://arxiv.org/pdf/1905.05263. This equation can be found in https://...
1
vote
0
answers
97
views
Computing eigenvalues and eigenvectors of large matrix and scaling of data
I am trying to plot graphs 1(a1,b1,c1) from https://arxiv.org/pdf/2404.14971 by solving Eq.1. This gives a matrix. For the energy plot, we have to find the lowest 2 eigenvalues and find the difference ...
0
votes
0
answers
67
views
Need help in plotting a graph calculated with ``NIntegrate``
This is my Mathematica code,
...
3
votes
2
answers
131
views
Plot of Density of States Using DiracDelta Function [duplicate]
I am trying to plot the density of states $$ N(E)= \frac{1}{N}\Sigma_{k} (\delta{(E - \epsilon_{k}))} $$ where $\epsilon_{k} = -2t*[cos(k_x)+cos(k_y)]$ and $k$ goes from $-\pi$ to $\pi$. For this plot,...
2
votes
1
answer
122
views
Graph of an ergoregion
I'm trying to graph the region defined by the following equation (which comes from the $g_{00}$ element of the metric (2.1) in this paper)
$$ g_{00}=-f H+H^{-1} \omega^2 r^2 \sin ^2 \theta $$
which in ...
4
votes
1
answer
143
views
Embedding plot of Minkowski
I am trying to obtain the embedding diagram of Minkowski space. I took the metric:
$$ d s^{2} = - d t^{2} + d r^{2} + r^{2} \left( d \theta^{2} + \sin^{2} \theta d \phi^{2}\right) $$
for $t =$ cte and ...
3
votes
1
answer
71
views
Peak Appearances in Plot Outputs from Optimization Routines
Dear fellow researchers and Mathematica enthusiasts,
I've been working on a computational physics problem and encountered an interesting issue regarding the appearance of peaks in my plots, which I ...
0
votes
0
answers
44
views
How to get rid of division by zero errors in a vector field?
Im currently learning Mathematica and have little to no expirence.
What im trying to do is plotting certain Fieldlines of a Dipol-Vectorfield.
I found a Method that works as long as no line aproaches ...
3
votes
2
answers
120
views
Color issue with Plot
I would like to print different graphs, and print them in different colors. However, when I use the common way to write it, it doesn't work.
For my project (physics electronic), I have created two ...
4
votes
3
answers
411
views
How to fit function with data?
I have
...
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 =...
0
votes
0
answers
71
views
How do you create a program to calculate the spectrum of a pulse of arbitrary shape?
Develop a program designed to compute the spectrum of a pulse with an arbitrary shape. My current program might not suitable for solving this problem.
...
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 ...
4
votes
1
answer
360
views
Animation of a spring pendulum
I would like to animate a spring pendulum. Below is my piece of code. The Lagrangian and equations are correct, in which I am sure, but the animation looks terrible and non-realistic.
Could someone ...