log(1000000000/10000)/log(3) code example Example: log(10000000/1000) Example for finding IDF -Inverse Document Frequency