Given Information: We are given:g(1) = −5g(2) = 3And the recursive formula:g(n) = g(n−2) + g(n−1)We need to find the value of g(3).Using the recursive formula, we substitute n with 3:g(3) = g(3−2) + g(3−1)g(3) = g(1) + g(2)g(3) = −5 + 3g(3) = −2
Finding g(3): Now we need to find the value of g(4).Using the recursive formula again, we substitute n with 4:g(4)=g(4−2)+g(4−1)g(4)=g(2)+g(3)g(4)=3+(−2)g(4)=1
More problems from Evaluate recursive formulas for sequences