logarithmic function | QuizWhizzer