#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(
int argc,
char *argv[]) {
int i;
double jd_ut, jd_ut1, jd_tt, ra, dec, dist, sa, w, n[3], p[3], e[3], v_e[3];
double j[3], light_t, lat, lon, f, a, b;
printf("The current Julian Date in UT1 is %0.5f.nn", jd_ut1);
printf("Here are the planets' data (all geocentric):n");
printf(" -------------------------------------------------------------------"
"-------n");
printf(" Planet R. Ascension Declination Sub-lat.(°) "
"S.-Ang.(arcsec^2)n");
printf(" -------------------------------------------------------------------"
"-------n");
continue;
&dec, NULL);
}
pan.r_mean = 17.2;
pan.r_eq = 10.4;
pan.r_pole = 9.1;
pan.pole_ra = 40.6;
pan.pole_ra_t = -0.036;
pan.pole_dec = 83.5;
pan.pole_dec_t = -0.004;
pan.w = 48.8;
pan.w_d = 626.044;
pan.w_d_sq = 0;
light_t = 0;
for (i = 0; i < 2; i++) {
}
a = pan.r_eq;
printf("n");
printf("Here are some data on Saturn's moon Pan:n");
printf(
" Ra/dec: " ae_hms_fmt ", " ae_dms_fmt
"n",
printf(" Distance: %.3f AUn", dist);
printf(" Light-travel time: %.2f minn", light_t * 24.0 * 60.0);
printf(" North-pole coords: [%.2f %.2f %.2f]n", n[0], n[1], n[2]);
printf(" Sub-obs. lon/lat: %.1f, %.1f (deg)n", lon, lat);
printf(" Projected axes: %.1f, %.1f (km)n", a, b);
printf(
" Solid angle: %.2g arcsec^2n", sa *
AE_RTS *
AE_RTS);
return 0;
}