Given two stars with angles of declination and right ascension (d 1 , a 1 ) and (d 2 , a 2 ), the angle they subtend is given by the formula where a 1 and a 2 are angles between -180 and 180 degrees,...


Given two stars with angles of declination and right ascension (d1, a1) and (d2, a2), the angle they subtend is given by the formula


where a1
and a2
are angles between -180 and 180 degrees, d1
and d2
are angles between -90 and 90 degrees, a = a2
- a1, and d = d2
- d1. Write a program to take the declination and right ascension of two stars as command-line arguments and print the angle they subtend. Hint: Be careful about converting from degrees to radians.



Nov 27, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here