i need complete answer and clear plz Consider the following
i need complete answer .................and clear plz
Consider the following recursive sequence: x_n = 3x_n-1 n = 1, 2, 3... where x*_0 = 0.995(an estimate of x_0 = 1). Verify that the recursive sequence has the solution x_n = 3^n by showing that is satisfies the recursive equation. Let x_n = x*_n + epsilon_n, where x*_n is the appropriate obtained from the recursive formula and starting from x*_0 = 0.995, and epsilon_n is the error at the nth step. Show that epsilon_n = 3 epsilon_n-1 calculate the error propagated at the 6-th step of the scheme, i.e., epsilon_6, using 3-digit roundingSolution
It is given in the question that, xn = 3 * xn-1 -------(1)
Let`s replace \'n\' in the equation with \'n-1\' which gives xn-1 = 3 * xn-2 -------(2)
combining both (1) and (2), we get xn = 3 * 3 * xn-2 (or) xn = 32 * xn-2 -------(3)
This can again be reduced to xn = 3 * 3 * 3 * xn-3 (or) xn = 33 * xn-3 -----------(4)
From (1), (3), (4) we get a generalised expression for xn = 3i * xn-i , i<=n
let i=n , then the equation becomes xn = 3n * x0 = 3n
xn = x\'n + en
==> x0 = x\'0 + e0
==> x0 - x\'0 = e0
Therefore e0 = 1 - 0.995 = 0.005 --------- (5)
since x\'n is an approximation obtained from the recursive formula, we can write x\'n = 3 * x\'n-1
Thus, en = xn - x\'n can be written as en = (3 * xn-1 - 3 * x\'n-1) = 3 * (xn-1 - x\'n-1) = 3 * en-1
So, en = 3 * en-1 ---------------------b(i)
e6 = 3 * e5 = 3 * 3 * e4 = 3 * 3 * 3 * e3 ...................... = 3 * 3 * 3 * 3 * 3 * 3 *e0
==> e6 = 36 * e0 = 729 * 0.005 = 3.65 --------------- b(ii)
