Skip to main content

Questions tagged [astronomy]

Questions on the astronomical applications of Mathematica.

1 vote
1 answer
60 views

Checking the formula for solving the Poisson equation with an integral over all of space

EDIT: According to 2.2.3 Rigorous derivation, if we find the integral $u(x,y) = \int \int G(x,y,m,n)f(m,n) dm dn$ then we obtain a function that satisfies the Poisson equation $\nabla^2u(x,y)=f(x,y)$. ...
ayr's user avatar
  • 2,444
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
4 votes
1 answer
39 views

AscendingNodeLongitude for the Moon at a given date

I have a question concerning AstronomicalData. If I want the declination of the moon for a given date, I use: ...
Werner Riegler's user avatar
2 votes
1 answer
132 views

Solving a ODE (Peeble's Equation) with initial condition a the maximum input range

I have a differential equation which is, $$ \frac{d X_e}{dz} = \frac{C_r(z)}{H(z)}\times \frac{1}{(1+z)}\Big[\frac{38\eta T^3}{25\pi^2}\alpha (T)X_e^2 - b(T)(1 - X_e) \Big] $$ Where $$ \alpha(T) = \...
Kazi Abu Rousan's user avatar
4 votes
1 answer
58 views

How do I use StarData with HR number as input?

In Mathematica 13.1, it is simple to look up star data using the star name as input, like this: StarData["Capella","EffectiveTemperature"] ...
Jason's user avatar
  • 43
4 votes
3 answers
433 views

Calculating upper culmination of the Moon

I’m completely confused by the new astronomical data system in Mathematica. For every day in some interval, I want to calculate {azimuth, altitude} of the Moon in ...
lesobrod's user avatar
  • 1,849
2 votes
0 answers
66 views

AstroPosition[] years of validity

I'm using online version 13.3(?) attempting to compute the position of Jupiter. It looks like "AstroPosition[]" only returns values for years between 1900 and 2050. Outside of these dates, ...
W. Cottee's user avatar
0 votes
0 answers
105 views

Astroposition function in wolfra cloud

I am trying to copy paste and compute the input given in this link for the movement of mars. But wolfram cloud gives error. https://reference.wolfram.com/language/ref/AstroGraphics.html When compute ...
shanrrg's user avatar
4 votes
0 answers
103 views

Entering Right Ascension in AstroPosition [closed]

In the new Mathematica 13.2 the AstroGraphics let you plot the sky, e.g. centered at a specific coordinate. However, I cannot figure out how to enter efficiently the value for {right ascension, ...
HJensen's user avatar
  • 547
5 votes
2 answers
259 views

Location of the point on Earth with the Sun at the zenith

This should be an easy question, but I don't know the correct syntax. I'm trying to create an animation based on NightHemisphere during a year. For each day, the instant correspond to the time of the ...
Antonio Gonzalez's user avatar
0 votes
1 answer
149 views

Performance improvement of array setup and processing

I need to improve the speed of the following algorithm: Take a list $x={x_1,...x_n}$. For each integer $i=1,..n$ construct the following list assuming $z=x_i$ if $i=1$ and $z=x_{i-1}$ otherwise: $X_i=...
Markus Roellig's user avatar
1 vote
0 answers
107 views

Path of moon orbiting the Earth [closed]

I'm trying to make an animation showing the path of the moon orbiting around the earth, but I'm having some trouble plotting it. For some reason, Mathematica doesn't give me any error messages but ...
Birgitt's user avatar
  • 267
0 votes
1 answer
74 views

Constructing Wolfram Alpha Query for Solar Position

When I use Mathematica calls to WolframAlpha, it clearly knows about the motion of the sun, so I can request the solar declination at any date/time: But I'm having great difficulty crafting a query ...
Michael's user avatar
  • 53
2 votes
1 answer
97 views

Charting sun location throughout the year from a specified geographic location

I'd like to chart the location of the sun (azimuth and elevation) from a given location (e.g., Chicago) throughout the year for a stated year (e.g., 2010). Here is the basic extraction of the current ...
David G. Stork's user avatar
1 vote
1 answer
57 views

Units Question for PlanetData[..]

I asked a similar question yesterday, which was answered splendidly, but I missed adding a detail. Attached is a command, its output, and the issue I have now. This outputs g/cm^3, but I'd rather have ...
fiz's user avatar
  • 734
2 votes
2 answers
104 views

Converting Units [duplicate]

I'm using MMA 12.2. Trying to put together some astronomy pages, but the output of the command below is in miles. I would rather have it in SI units instead. On my system evaluating ...
fiz's user avatar
  • 734
2 votes
1 answer
108 views

Getting error Solve::units [closed]

I'm trying to solve the following formula for i, given values for all other variables. There are two equations, the first one is a formula to show the transit ...
Nickpick's user avatar
  • 223
26 votes
1 answer
545 views

Travelling around Jupiter

Since we have soon historical conjunction of Jupiter and Saturn I have prepared code with visualization planet Jupiter and Saturn with moons. This code first been prepared for version 11.3 and with ...
Alex Trounev's user avatar
  • 46.3k
0 votes
1 answer
114 views

Quick question about "shifting x axis"

Imagine I have two lists: x={x1,x2,x3,x4,...} y={y1,y2,y3,y4,...} And I want a listplot ListPlot[Transpose[{x,y}]] Would do ...
nuwe's user avatar
  • 645
5 votes
0 answers
207 views

Fast N-Body Simulation with CUDA [closed]

There is a Mathematica code for 3 body simulation ...
vito's user avatar
  • 8,988
3 votes
1 answer
500 views

2 body orbits around a barycenter

I'm attempting to plot a barycentric orbit of the sun and Jupiter. Initial Conditions ...
isaac5122's user avatar
  • 847
6 votes
1 answer
789 views

gravitational two body problem for the orbit of the sun and jupiter around their barycenter

This is a simulation of the sun and jupiter orbiting the respective barycenter. Initial conditions ...
isaac5122's user avatar
  • 847
4 votes
1 answer
750 views

N body simulation

I'm trying to solve a 3 body problem consisting of the earth moon and sun. I'm wanting to show the earth orbiting the sun and the moon orbiting the earth as a result of the gravitational forces. ...
isaac5122's user avatar
  • 847
7 votes
1 answer
151 views

Detect sub figures and split (automatically?)

I would like to take a large figure showing a sequence of individual plots and automatically split the into series of images showing the individual sub-plots (to be exported as animated GIF later). ...
Markus Roellig's user avatar
2 votes
1 answer
141 views

NDSolve Maxsteps Reached Error

I'm trying to solve a system of Equations. The code is commented below, I am mainly conserved with the last few lines, specifically the NDSolve line. No matter what I do to the Maxsteps option, the ...
charl1e's user avatar
  • 157
4 votes
2 answers
355 views

Solar Power Calculations

Good Afternoon, I have calculated the Incident beam radiation for a given locations local sunlight hours. ...
isaac5122's user avatar
  • 847
4 votes
1 answer
84 views

StarData, Altitude/Azimuth Anomaly with TimeZones

I am trying to compute lunar parallax using the position of the star Regulus on February 19th of this year. I get different answers depending on how I specify the date. Here are the particulars: <...
Spencer Rugaber's user avatar
7 votes
1 answer
562 views

Can NDSolve address spherical gravitational collapse?

As far as I know spherical gravitational collapse -of central importance to theoretical physics- is thought to be out of the scope of Wolfram Mathematica. However there are cases, as in this article,...
user avatar
3 votes
1 answer
102 views

Finding the next total SolarEclipse over a given latitude and longitude?

What is a reasonable way to code the title question in Mathematica? Trying the following gave Polygons over GeoPositions over Lists of pairs, but just digging into these seemed inelegant. Besides, ...
ShyPerson's user avatar
  • 505
7 votes
1 answer
216 views

StarData: proper motion of a star in HelioCoordinates

I am not an astronomer, but am trying to calculate the trajectory of an interstellar space probe, for example to Proxima Centauri. The HelioCoordinates seem appropriate, as typically used within the ...
Dave M's user avatar
  • 91

15 30 50 per page
1
2 3 4 5