4 * log(50000/18165) code example Example: log(10000000/1000) Example for finding IDF -Inverse Document Frequency