for recursive formula index value
1 view (last 30 days)
I was coding the formual
The summation runs for l=0 to k
I write the following code :
Here my code is: Now I have asumr T(2) as 0 but when it display T it is showing 2.
Prince Kumar on 13 Aug 2021
From my understanding T(2) is getting updated after running the program but you have assumed T(2) to be 2 at the staring of the program.This might be because in this line
you are changing T(2) for i=2 and k=2.
Hence T(2) is getting updated from 0 to some other value.