Skip to main content

All Questions

Tagged with
1 vote
1 answer
163 views

Animating a double spring spherical pendulum

I want to make an animation of a double spring spherical pendulum. The first mass is connected to the ceiling with a spring, and the second mass is attached to the first one with a spring too. The ...
Denis D. Bavrin's user avatar
1 vote
1 answer
192 views

Animation of double pendulum with a spring (3DOF)

I've got a problem with animating a double pendulum where the first mass is connected with a ceiling with a bar and the second mass is connected with the first one with a spring. Below is my code ...
Denis D. Bavrin's user avatar
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 ...
Denis D. Bavrin's user avatar
1 vote
0 answers
152 views

Help with gravitational waves plot/animation with Schwarzschild metric using xAct package and ListPlot3D

Update: I have now successfully derived the gravitational wave equation. I used this template with slight modifications. The screenshot of success is shown below, followed by the code. Now I need help ...
cows's user avatar
  • 165
2 votes
1 answer
235 views

Plotting / Animating a test planet around a star

I am trying to plot/animate the motion of a test planet around a star using Mathematica in the framework of general relativity. In fact, I want to see the perihelion shift. I am using as inspiration ...
cows's user avatar
  • 165
3 votes
1 answer
84 views

Using WhenEvent to stop N objects at a boundary

I am attempting to implement an event into my simulation which makes any moving particle in an electric field completely stop at the instant they pass some specified threshold. I was trying to utilize ...
Zach's user avatar
  • 373
0 votes
1 answer
111 views

create an animation of a string

I'm trying to create an animation of motion of a physical string, it should demonstrate a "jumping rope", but I don't know what function to use, I've tried parametric plot and vector plot. I ...
TTT's user avatar
  • 57
8 votes
0 answers
246 views

How can we improve transonic flow visualization?

With this code we can make 2D FEM simulation of transonic flow around airfoil NACA 0012 at Mach number of 0.925. It takes about 5 minutes on the XENIA-15 laptop of 32 GB memory with processor Intel ...
Alex Trounev's user avatar
  • 46.3k
3 votes
1 answer
191 views

Missing pendulum snake patterns

Hello, I wanted to do a pendulum simulation and be able to replicate the patterns that are created by creating several pendulums at once. But for some reason after the first seconds, I cant see them. ...
Leonardo Flores's user avatar
1 vote
1 answer
170 views

How to make specific physics animation

I'm thinking about adding some animations in Mathematica to my last Physics assignment and I don't quite know where to start. Id like to make somthing like this image: which I made using PowerPoint ...
Pablo's user avatar
  • 23
4 votes
1 answer
748 views

Merging two 2D wave animations into one 3D animation?

I have an electric field, Elec[d_, w_, q_, r_, t_] = -((q accel)/(4 \[Pi] Subscript[\[Epsilon], 0] r c^2)) Subscript[\[Epsilon], 0] := 8.85*10^-12 c := 3*10^8 ...
chae lim's user avatar
1 vote
0 answers
61 views

Having issues trying to animate an electric and magnetic field of a moving point charge [duplicate]

I'm currently trying to plot an electric and magnetic field using Mathematica, but I'm quite new to the program and I've run into a wall. I start out with a moving point charge, and this is what I've ...
chae lim's user avatar
1 vote
2 answers
552 views

Plotting the electric field from a moving charge in 3D

I want to show a 3D electric field changing with time in response to the path of a moving charged particle. I have an animation of a particle traveling along a helical path using the parametrization ...
Brennan Rodgers's user avatar
5 votes
1 answer
572 views

Trying to understand Electromagnetism using mathematica

I was wondering if there was a possible way to animate electric and magnetic field lines using Mathematica? I'm currently doing a physics major and taking an upper level electromagnetism course. I'm ...
Aiden Duggan's user avatar
1 vote
1 answer
93 views

How can I animate two beads each sliding on its own frictionless rail? [closed]

I am told to animate two beads sliding on rails in Mathematica, but I am very confused on how to get a mass on a rail and it move up and down the rail.
AlphaCentrui25's user avatar

15 30 50 per page