The absolute magnitude M of a star is the magnitude which the star would have if it were located d0=10 pc from the observer. If we know the apartment magnitude m, we can use the following equation to determine the absolute:
M=m−5lgd0d. Convert the distance from the Earth to the sun from kilometers to parsecs:
1.5⋅10−11 km→4.848⋅10−6 pc. Then
M=−26.8−5lg104.85⋅10−6=+4.77.
Comments