Q. If f(1)=1,f(2)=0 and f(n)=2f(n−1)−3f(n−2) then find the value of f(4).Answer:
Calculate f(3): To find f(4), we need to first find f(3) using the given recursive formula f(n)=2f(n−1)−3f(n−2). We know f(2)=0 and f(1)=1, so we can calculate f(3) as follows: f(3)=2f(3−1)−3f(3−2)=2f(2)−3f(1)=2×0−3×1=−3
Calculate f(4): Now that we have f(3), we can use it to find f(4) using the same recursive formula:f(4)=2f(4−1)−3f(4−2)=2f(3)−3f(2)=2∗(−3)−3∗0=−6−0=−6
More problems from Find the roots of factored polynomials