Skip to main content

Questions tagged [astronomy]

Questions on the astronomical applications of Mathematica.

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; ...
isaac5122's user avatar
  • 847
1 vote
0 answers
303 views

Numerical integration for equations of motion

...
Isaac's user avatar
  • 11
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 ...
isaac5122's user avatar
  • 847
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]}]] ...
Mockup Dungeon's user avatar
-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 ...
Consideration's user avatar
0 votes
1 answer
130 views

Integrating the Planck Function over certain filter ranges [closed]

ClearAll["Global`*"] ...
Michael's user avatar
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....
Consideration's user avatar
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 (...
user61882's user avatar
  • 359
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?
Photon's user avatar
  • 31
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 ...
magma's user avatar
  • 5,290
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: ...
Photon's user avatar
  • 31
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 ...
sangstar's user avatar
  • 111
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:...
A. Clark's user avatar
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 ...
Markus Roellig's user avatar
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, ...
orome's user avatar
  • 12.9k

15 30 50 per page
1 2
3
4 5
10