Skip to main content

All Questions

Tagged with
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 ...
ayr's user avatar
  • 2,444
1 vote
2 answers
126 views

How do I pull a multiple pieces of data from a while loop and put into a table

I am wanting to pull multiple pieces of data from a while loop and put it in a list. The example I have added below is a table with inputted data that I found. Im pretty sure the syntax is unrelated ...
Brad's user avatar
  • 11
2 votes
1 answer
1k views

How to add moon to orbit Earth that Orbit Sun

I want to add moon(Blue) that orbiting earth(Red). while Earth is orbiting Sun. this is my code so far that consist of earth, sun and moon. how to write a code so that Moon is orbiting earth instead ...
Nabil's user avatar
  • 513
32 votes
1 answer
2k views

Interstellar Image Effects

I'd like to know how to create this type of gravitational lensing effect in an image (here are some star fields from the hubble) "I wrote down the equations and I tested them in Mathematica by ...
M.R.'s user avatar
  • 31.6k
10 votes
1 answer
540 views

3D orbits of moons around their respective planets

I have seen a lot of solar system models (both animated and not), but I am trying to replicate the same thing with moons. Either just one planet and its lunar system or the our whole solar system with ...
Achidi's user avatar
  • 101
4 votes
1 answer
150 views

Impact Crater Sim. with added criteria

I have been trying with out success to edit this impact crater simulation script into producing a variable which calculates crater density. In addition I have been trying to figure out how to ...
Daniel's user avatar
  • 41
2 votes
0 answers
237 views

Creating an orrery

I am interested in creating an orrery, ideally with SystemModeler. I have been experimenting with the MultiBody library since that allows you to do animations. The most relevant example seems to be ...
Tyler Durden's user avatar
  • 4,102
2 votes
1 answer
631 views

Combining Newtonian 3D N-Body Simulation Output and Earth Sphere

I'm trying to figure out how to make a simulation whereby two satellites orbit Earth, but have run into a little bit of a snag. I have a solution to the system of ODEs for the n-body output, and I ...
InquisitiveInquirer's user avatar
10 votes
2 answers
592 views

Impact Crater Simulation

I have been trying to model crater formation on a given planetary surface - $500\,\textrm{km}^2$. The locations of impacts are random, however, if an impact is within $30\,\textrm{km}$ of another, the ...
Benjamin L's user avatar
32 votes
2 answers
11k views

Creating a simulation of our Solar System

As the title says, my objective is to create a simulation of the motion of the planets in our Solar System using Mathematica. All the theoretical background regarding the equations of motion of ...
Vaggelis_Z's user avatar
  • 8,790