find out the c . i on rs . 5000 at 4 % p . a . compound half - yearly for 1 1 / 2 years ?
n0 = 5000.0
n1 = 4.0
n2 = 1.0
n3 = 1.0
n4 = 2.0
t0 = n1 / 100.0
t1 = 3.0 / n4
t2 = t0 + n2
t3 = t2**min(t1, 5)
t4 = n0 * t3
answer = t4 - n0
print(answer)