Questions tagged [astronomy]
Questions on the astronomical applications of Mathematica.
144
questions
0
votes
2
answers
240
views
Plotting a parametric solution from NDSolve
Im trying to animate multiple points around multiple parametric plots which depicts orbital motion of body around a planet. Initial conditons are;
...
1
vote
0
answers
303
views
0
votes
1
answer
861
views
Plotting elliptical orbits using Verlet method
I'm looking to solve a 2 body system consisting of the Earth and a body of mass in orbit.
I'm using the Verlet method to numerically integrate Newton's equation of motion in order to plot an ...
5
votes
1
answer
81
views
Select Specific StarData
The help menu for StarData has many examples such as
StarData[EntityClass[
"Star", {EntityProperty["Star", "DistanceFromEarth"] ->
TakeSmallest[10]}]]
...
-1
votes
2
answers
143
views
a ListAnimate problem
Thanks to @AlexTrounev, I learned how to use ListAnimate, but I still get stuck using it. Before ListAnimate everything is correct. I just cannot successfully use ListAnimate to make the plot. I have ...
0
votes
1
answer
130
views
Integrating the Planck Function over certain filter ranges [closed]
ClearAll["Global`*"]
...
0
votes
1
answer
779
views
Animate particle's trajectory
Does anyone know how to animate the trajectory of a particle, but make sure before the particle reaching a certain spot, there's nothing. I mean I want to make an animation that look like https://en....
8
votes
1
answer
3k
views
Interpreting Mathematica code on black holes
I am trying to understand the code written down on page 7 of this document (code is in Mathematica) I understand pretty much all of the code on the previous page needed to setup the page 7 code (...
1
vote
0
answers
456
views
Solving the values of Christoffel symbols from a given metric tensor
Is there any easy mathematica package by which I can solve the Christoffel symbols from a given metric tensor?
4
votes
1
answer
275
views
Creating the celestial sphere for astronomical demonstrations
Quick question: has anybody produced (and/or willing to produce and share) a nice celestial sphere with some stars and/or constellations?
I am traveling , so I cannot do it myself right now, but I ...
1
vote
0
answers
620
views
Calculating Christoffel Symbols [duplicate]
I am totally new in the astrophysics field and I need to calculate Christoffel symbols for a model. The line element for the FLRW metric and the geodesic equation is given below: ...
1
vote
2
answers
258
views
Using WhenEvent to calculate the period of an orbit
I'm having trouble trying to have Mathematica tell me when the period of the orbit of my system is. Namely, I'm trying to use Mathematica to find the orbital period of the Earth around the Sun. Here's ...
0
votes
1
answer
217
views
Plotting the orbit of the Earth around the Sun. Error: step size is effectively zero; singularity or stiff system suspected
I've been asked to plot the orbit of the Earth around the sun over a period of three years. I've copied my exact code below. When I try to run it I get a series of errors, the first being:
NDSolve:...
15
votes
1
answer
2k
views
Speed up NDSolve compared to Python (calls to LSODA)
I migrated a numerical model code from Python to Mathematica and am surprised how much faster the Python version runs. Profiling of the Python version tells me that it is about 100 times faster (120 ...
6
votes
1
answer
161
views
Does SolarEclipse only cover a limited date range?
If I use the example from the documentation for SolarEclipse and simply replace the years there with older ones, say from around Shakespeare's time,
...