Skip to main content

All Questions

Tagged with
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
20 votes
2 answers
1k views

Visualizing gravity warping the fabric of spacetime

What is a stable way of creating a set of points that are attracted to a single moving point? I have tried the following: ...
martin's user avatar
  • 8,778
1 vote
1 answer
102 views

Vector 3d Plotting with New Mathematica Version

Hi Used to use the old version of Mathematica back in 2020. Now the new version is updated and I am trying to run the old code in the new version. My vector plots are very different. I wonder what I ...
physicsu83's user avatar
4 votes
1 answer
109 views

Building projection operators efficiently

The projection operator $P$ is defined in quantum mechanics as $$ P=\sum_i^n \vert\psi_i\rangle \langle \psi_i\vert, $$ where $\vert\psi_i\rangle$ is a column vector and $(\langle \psi_i\vert=(\...
wooohooo's user avatar
  • 319
0 votes
1 answer
119 views

Empty VectorPlot3D in Magnetic Field of Solenoid

I have been trying to plot the 3D magnetic field of a solenoid, with the below expression 1: With C, the generalised complete elliptic integral, defined as follows: I have implemented all of this in ...
Ariana Fenris's user avatar
3 votes
1 answer
157 views

Calculating power series of quantum operators on kets

I am using the "Quantum" add-on package to perform some quantum mechanical calculations using SU(1,1) generators. The code that I've developed reads ...
Shasa's user avatar
  • 1,043
0 votes
0 answers
54 views

How do I flip one of my loops of current to be in the other direction?

I'm new to Mathematica and I have two loops of current that are both going in the same direction, but I want to flip them so that they go in opposite directions... I can't figure out where I'm going ...
Jessica's user avatar
  • 11
1 vote
2 answers
503 views

How do I display magnetic field lines in 2D/3D with a stick of current?

I'm new to Mathematica (trying it out for an electromagnetism course) and struggling with plotting magnetic field lines using a line of current. Not a torturous, not a cylinder, not a circle. A line. ...
Jessica's user avatar
  • 11
1 vote
0 answers
84 views

LeviCivitaTensor contraction indices

My computer has problems when I try to perform a calculation with TensorContract. In particular, with the second answer to my previous question Contracting indices ...
FB20's user avatar
  • 73
14 votes
1 answer
4k views

How can I reproduce a beautiful 3D vector plot?

I am a Mathematica V8 user. I found a very beautiful 3D vector plot on the Internet. I don't think it was created in Mathematica, but I'd like to reproduce it with Mathematica. How to do that? ...
Sakurai.JJ's user avatar
5 votes
2 answers
1k views

What are current approaches for supporting Dirac notation for quantum mechanics?

I'd like to be able to use Mathematica to preform some basic quantum mechanics and quantum computation operations using Dirac's Bra-Ket notation. I've seen several solutions to defining basic ...
orome's user avatar
  • 12.9k
-1 votes
1 answer
2k views

Working with four-vectors (4-vectors)

Given an expression $\chi\,=\,C_{p1}\,\left[ h\,e^{- i\,p1.\,x}\,\, +\,\,h^{\dagger}\,e^{+i\,p1\,.\,x}\right]$ where $p1$ and $x$ are four-vectors; $C_{p1} = \ \frac{1}{\sqrt{(2 \pi)^3} \sqrt{2 \...
arny's user avatar
  • 79
12 votes
1 answer
1k views

multiplication of vector spaces

Original Question Disclaimer: The question motivated by the product of Hilbert spaces which arises from separate degrees of freedom which a system might contain in quantum technical system. Examples ...
Yair M's user avatar
  • 601
1 vote
1 answer
1k views

Plotting electric field of charged particle

I am trying to plot the electric field of a charged particle in (2,4). The diagram is the next: We know: $ \overrightarrow{E} = \frac{1}{4 \pi \epsilon_0} \frac{q'}{|\overrightarrow{R}|^2} \widehat{...
Nau's user avatar
  • 377
0 votes
1 answer
156 views

NDSolve and vectors [closed]

I think I can't find solution of equation below because I need use scalars, not vectors as I have tried. But I don't know how I can do express the problem with scalars. I have read Wolfram Language ...
John's user avatar
  • 573

15 30 50 per page