learn how to calculate log and antilog