By comparing this known luminosity to an object 's observed brightness , the distance to the object can be computed using the inverse square law .
By comparing the known luminosity of the latter to its observed brightness , the distance to the object can be computed using the inverse square law .