Calculate apparent magnitude, absolute magnitude, and distance for stars. Convert between different magnitude scales, compare star brightnesses, and determine distances using the cosmic distance modulus.