Cách tính logarit thỏa mãn điều kiện cho trước