1 2 3
-- v2.15 P2.5 (5.2): math.log accepts optional base. print(math.log(100, 10)) -- ~2 print(math.log(8, 2)) -- 3