Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
A recursive function is shown below:
f(1) = 4 and f(n) = f(n - 1) - 8; n > 1
Which of the following lists the terms in the sequence defined by this recursive function?
4, -4, -12, -20, -28, ...
4, 4, 12, 20, 28, ...
4, 12, 20, 28, 36, ...
4, -12, -20, -28, -36, ...
Not the answer you are looking for? Search for more explanations.
no explain mor3 @lokeshh
oh wait yes so the answer would be what? > that is why i am not understanding.
Let's first calculate f(2).
We use this formula: f(n) = f(n - 1) - 8; n > 1
In this formula we substitute n to 2, then we have
f(2) = f(2 - 1) - 8 = f(1) -8
Now since we know f(1) = 2, this gives us f(2) = 4 - 8 = -4
Do you understand how I computed f(2)?
i got a
Now can you calculate f(3) by substituting n = 3?
i got a
You meant you got it?
yes i do for the answer i believe its a :)
Yeah, that's the correct answer. You can further check by calculating f(3) and f(4). They will be -12 and -20 respectively.