Given two stars with angles of declination and right ascension (d1, a1) and (d2, a2), the angle

Question:

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

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: