hisankitsuneounjbo hisankitsuneounjbo
  • 14-08-2017
  • Mathematics
contestada

Given the following definition, compute Q(5). Q(n) = 0 if n = 0 2 if n = 1 4 if n = 2 Q(n − 1) + Q(n − 2) + Q(n − 3) if n > 2

Respuesta :

Ilyes39
Ilyes39 Ilyes39
  • 26-08-2017
We have 
[tex]Q(0)=0\\ Q(1)=2\\ Q(2)=4[/tex]
and [tex]Q(n)=Q(n-1)+Q(n-2)+Q(n-3)\mbox{ when } n\ \textgreater \ 2.[/tex]
So 
[tex]Q(3)=Q(2)+Q(1)+Q(0)=4+2+0=6\\ Q(4)=Q(3)+Q(2)+Q(1)=6+4+2=12\\ Q(5)=Q(4)+Q(3)+Q(2)=12+6+4=22. [/tex]
Answer Link

Otras preguntas

as you enter text in the word document window, you must press the enter key when the insertion point reaches the right margin. true false
If f'(x) is (x-4)(4-2x) , what is f(x)?
7.5% of what is 7.38?
Which of the following accurately recounts the impeachments of presidents andrew johnson and bill clinton? (1 point) the senate impeached them and the vice pres
Please help on number 7.
the scientist who discovered the laws of motion was _____.
Which of the following factors increases iron absorption
If angle a is equal to the angle be in the supplement of angle B has a measure of 22° then what is angle a equal to
What is a commission in art
a disease that you can not catch is