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

How did nationalism affect Europe after the Congress of Vienna and 1815?
Which of the following best describes rhetoric? a. the art of manipulation b. the effective use of language to persuade c. speaking and writing to convince t
Mechanical....... to Heat (Thermal) Light Sound Chemical to… Electrical Heat (Thermal) Light Sound Electrical to… Electrical Heat (Thermal) Light Sound EXAPMLE
Where should the dashes be placed? Basketball which has long been thought to be an inner city game is extremely popular in the suburbs.
One of the first steps in determining a poem's form is _____. counting the number of lines determining its author determining its rhyme scheme visualizing its i
G/4-8 least than or equal to -10
What specifically was Minoan success based on
What major Allied country refused to join the League of Nations? Great Britain Germany Japan United States
The decision in Marbury v. Madison (1803) was significant because it established that the supreme court?
if p=-2 find the value -2p³-3p²+4p+7