Answer:
a) t1 = 2 , t2 = 6
b) t3 = 14
c) recurrence relation ( Tn ) = 2Tn-1 + 2
Step-by-step explanation:
Tn = minimum number of moves needed
2n disks is moved from one pole to another
a) determine the value of t1 and t2
let n = 1
2n moves = 2 * 1 = 2
∴ t1 = 2
let n = 2
2n moves = 2*2 = 4
∴ t2 = 4 + t1 = 4 + 2 = 6
b) determine value of t3
let n = 3
2n moves = 2 * 3 = 6
∴ t3 = t1 + t2 + 6
= 2 + 6 + 6 = 14
c) Determine th recurrence relation
let n ≥ 2 i.e. n - 1 ≥ 1
number of disk required to be moved = 2n
number disks as follows : 1 to 2n
the recurrence relation = sum of number of moves in each step
Tn = Tn-1 + 2 + Tn -1
hence recurrence relation ( Tn ) = 2Tn-1 + 2 when all integers n ≥ 2