A simple mathematical method to determine the efficiencies of log-conical detectors