In a certain murder investigation, it was important to discover whether the victim was long-sighted or short-sighted. How could a detective decide by examining his spectacles?

The examination of the spectacles can be done by determining the type of lens used in it. If spectacle lenses are convex, the person was long-sighted but if spectacle lenses are concave, then the person was short-sighted.