logarithm notes