Given initial condition and recursive formula: We are given the initial condition and the recursive formula for the function g(n):g(1)=5g(n)=−1×g(n−1)−4To find g(2), we need to use the value of g(1) in the recursive formula.
Substitute n=2 into recursive formula: Substitute n=2 into the recursive formula to find g(2): g(2)=−1×g(2−1)−4 g(2)=−1×g(1)−4 Now we use the initial condition g(1)=5.
Use initial condition g(1)=5: Perform the substitution and calculation:g(2)=−1×5−4g(2)=−5−4g(2)=−9
More problems from Evaluate recursive formulas for sequences