Home
Evaluations
Tags
Lectures
Sandbox
About
Contribute
Evaluations
Tags
Lectures
About
Back
1 . Consider the following recursive function:
$f(0) = $
$-17,$
$f(n) = $
$f(n - 1) + 8n - 2\; \ \text{for all}$ $\text{integers}\ n \geq 1.$
Which of the following is true?
(a)
for all $n \geq 0$: $f(n) = 4n^{2} + 2n - 17$
(b)
for all $n \geq 0$: $f(n) = 4n^{2} - 2n - 17$
(c)
for all $n \geq 0$: $f(n) = 3n^{2} + n - 17$
(d)
for all $n \geq 0$: $f(n) = 3n^{2} - n - 17$
Submit
Refresh