### Instruction: an investment compounds annually at an interest rate of 33.34 % what is the smallest investment period by which time the investment will more than triple in value ? Let's write a Python program to solve it.### Response: import math
n0 = 33.34
t0 = n0 / 100.0
t1 = math.log(max(1e-5, 3.0), 2)
t2 = t0 + 1.0
t3 = math.log(max(1e-5, t2), 2)
t4 = t1 / t3
t5 = math.floor(t4)
answer = t5 + 1.0
print(answer)