A practical and analytical approach to solving gearbox failures