Questions tagged [physics]
Questions related to the application of Mathematica to problems in physics.
967
questions
0
votes
0
answers
24
views
Clebsch–Gordan coefficient calculation for L-S basis in system of three particles
I am trying to calculate eq (A3)
...
1
vote
1
answer
61
views
StreamPlot3d for the magnetic field of a loop
I am trying to go beyond StreamPlot in the case of a current loop that produces a magnetic field. My code works for StreamPlot, but does not end when I use the same field expressions with StreamPlot3D....
1
vote
1
answer
58
views
Checking the formula for solving the Poisson equation with an integral over all of space
EDIT: According to 2.2.3 Rigorous derivation, if we find the integral $u(x,y) = \int \int G(x,y,m,n)f(m,n) dm dn$ then we obtain a function that satisfies the Poisson equation $\nabla^2u(x,y)=f(x,y)$. ...
0
votes
0
answers
57
views
Help me figure out how to solve the gravitational lens equations [migrated]
I want to simulate gravitational lensing. In the article LENSINGGW: a PYTHON package for lensing of gravitational waves there is this fragment [page 3]:
My research: As far as I understand, this is a ...
1
vote
0
answers
88
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 ...
1
vote
0
answers
38
views
Package for calculating ADM mass for a given asymptotically flat metric tensor
I am asking for Mathematica package, such that for the input of an asymptotically flat Lorentzian metric tensor $g_{\mu\nu}$ it will give the ADM mass of the object that creates the corresponding ...
2
votes
1
answer
124
views
Mathematica package for validating effective string theory solution
I am asking for Mathematica package that given an input of:
symmetric matrix $G_{\mu\nu}$, antisymmetric matrix $B_{\mu\nu}$ and a scalar function $\Phi$
will check whether it is a solution to the one-...
0
votes
0
answers
67
views
Need help in plotting a graph calculated with ``NIntegrate``
This is my Mathematica code,
...
4
votes
1
answer
107
views
How can I combine a selections of video frames into a composite using Mathematica?
I'd like to use Mathematica to be able to turn videos of my students dropping balls into a composit image of selected frames showing the path of the ball. Like a multiple exposure image.
So far, I've ...
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
53
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
50
views
How to simplify the results of squared amplitude calculations in FeynCalc?
I want to calculate the squared amplitude of the Feynman diagram of double-pion photoproduction using FeynCalc package. Here is the code I created:
...
3
votes
2
answers
128
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,...
0
votes
1
answer
105
views
Need explanation on data[[i]][[1]]
I am trying to train a physics model and then check its profile. For this model, data for physics model is defined with:
...
2
votes
2
answers
141
views
How to solve a matrix differential equation $\frac{d X}{dt} = i(X Y- Y^\dagger X)$?
In eq (21) on page-5 of this article, we have matrix
HEP = (\[Omega]/2)*{{-2*I, 1}, {1, 0}};
and I am interested in finding matrix ...