Help with Understanding

Corneliusmith

New member
Joined
Feb 23, 2015
Messages
2
Hello,

I was watch a video and the following function was reduced in the following format. Can someone explain how this was done?

T(0) = 1 - known

How was this below calculated?
T(n) = T(n-1) + 3
= T(n-2) + 6
= T(n-3) + 9
 
Hello,

I was watch a video and the following function was reduced in the following format. Can someone explain how this was done?

T(0) = 1 - known

How was this below calculated?
T(n) = T(n-1) + 3
= T(n-2) + 6
= T(n-3) + 9

Do you understand the following statement

T(n) = T(n-1) + 3 →

T(n-1) = T(n-2) + 3
 
Reply

Thanks,
Subhotosh Khan,

That cleared up the whole issue. I understand how it was done now. Do you have to go through all the substitutions to find this pattern. Did the presenter just skip the intermediary steps?



 
Top