How is a star's apparent brightness related to its luminosity? How is this related to the inverse square law?