Q. If a1=5,a2=0 and an=an−1−an−2 then find the value of a4.Answer:
Given Sequence and Formula: We are given the first two terms of the sequence: a1=5 and a2=0. We are also given the recursive formula for the sequence: an=an−1−an−2. To find a4, we first need to find a3 using the recursive formula.
Calculate a3: Using the recursive formula, we calculate a3 as follows:a3=a2−a1a3=0−5a3=−5
Calculate a4: Now that we have a3, we can use it along with a2 to find a4 using the same recursive formula:a4=a3−a2a4=−5−0a4=−5
More problems from Add, subtract, multiply, and divide complex numbers