Question: 1. Code in Python. The output should print 3 columns, including the name of the object, the apparent and absolute magnitudes. A general relationships between

 1. Code in Python. The output should print 3 columns, including

1. Code in Python. The output should print 3 columns, including the name of the object, the apparent and absolute magnitudes. A general relationships between magnitudes and luminosities of two stars is: M M2 -2.5 log 10 L L2 where M7 and M2 are the absolute magnitudes of objects, and L1 and L2 are the luminosities of the two respective objects. Object m (mag). d[pc]. 1.246 x 10-8 - 12.5 -2.5 -4.4 Full Moon New Moon Venus Jupiter Sirius Supernova 1987A -2.94 -1.5 3.03 1.2315 x 10-6 2.9338 x 10-5 2.64014 51509.0342 Calculate the absolute magnitude M of the objects in the table using a for loop and the following expression: -M 1005 where m is the apparent magnitude, M is the absolute magnitude, and d is the distance to the object in units of parsec (pc). 2. Use a for loop to calculate the luminosity of the given objects in units of solar luminosities LoThe output of your script should print 3 columns, including the name of the object, the apparent magnitude, and the luminosity (in units of solar luminosity). The luminosity of the Sun is L. = 3.83 1026 Watts. The apparent magnitude of the Sun is mo = -26.74 mag, while the absolute magnitude is M. = 4.83 mag

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!