Skip to main content

All Questions

1 vote
1 answer
62 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....
Coti's user avatar
  • 43
1 vote
1 answer
60 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)$. ...
ayr's user avatar
  • 2,444
1 vote
2 answers
98 views

How to demonstrate the acceleration using spherical coordinates and spherical unit vectors?

I've been trying to use Mathematica to demonstrate using spherical coordinates and unit vectors the acceleration for a particle moving in a sphere. Nevertheless, I'm actually not that skilled in ...
not_aphysicsdr's user avatar
9 votes
4 answers
487 views

Poincaré section of the particle motion near the black hole horizon

I am trying to recreate the Poincaré sections given in Figure 2 of this paper. For this purpose, I use the following two methods: Method1: Using ResourceFunction["ClickPoincarePlot2D"] <...
codebpr's user avatar
  • 2,433
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}...
Soliton-104's user avatar
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]$ ...
Soliton-104's user avatar
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 =...
Soliton-104's user avatar
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 ...
Soliton-104's user avatar
1 vote
1 answer
137 views

Plot wavefronts of Laguerre-Gaussian modes

I am trying to plot wavefronts of Laguerre-Gaussian modes, and want to show the changing number of twists with the change in l values. If anyone has the code or any insights. Kindly help me about it. ...
Qubit's user avatar
  • 45
4 votes
1 answer
1k views

What are some Mathematica packages used for general relativity?

Could you suggest any Mathematica packages that are used for General relativity calculations? Id like to write code to solve the Schwarzchild Lagrangian equation.
Rishabh sharma's user avatar
1 vote
1 answer
91 views

Proving an expression from Mathematica which is clearly visible from Plots

I have the following Mathematica code: ...
codebpr's user avatar
  • 2,433
2 votes
1 answer
115 views

Eigenfunction condition of time-independent Schrödinger equation

I'm trying to get the eigenfunctions and eigenvalues of the following one-dimensional Schrodinger equation: $$ -\frac{1}{2}\frac{d^2}{dx^2}\psi(x)+V(x)\psi(x)=E\psi(x)\,,$$ where the external ...
Crazydemon92's user avatar
4 votes
0 answers
124 views

Calculate the integral of the Slater determinant

This is a Slater determinant: $$ s=\left|\begin{array}{ll} \psi_{1 s}\left(r_1\right) \alpha & \psi_{1 s}\left(r_1\right) \beta \\ \psi_{1 s}\left(r_2\right) \alpha & \psi_{1 s}\left(r_2\right)...
我心永恒's user avatar
  • 1,572
1 vote
1 answer
147 views

Never ending Integrate computation

I am studying the result of a Feynman Diagram, trying to apply the Renormalization Group to a Field theory for Active Matter. I have arrived at a point where I want to integrate with Mathematica a ...
guido cimino's user avatar
1 vote
1 answer
110 views

Linearizing equations of motion

I am given the equations of motion: $$\dot{r} = f(r)p_r,$$ $$\dot{p_r} = -\frac{V'(r)}{2f(r)}-\frac{f'(r){p_r}^2}{2}+\frac{V(r)-E^2}{2f^2(r)}f'(r)$$ Along with the conditions that $$E^2-V(r_0)=V'(r_0)=...
codebpr's user avatar
  • 2,433

15 30 50 per page
1
2 3 4 5
7