example of calculating a logarithm with a different base