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

The function f(x) is shown on the graph. -181x 15 12- Hr) -9- 6- 3- -3 T 3 9 12- 10 18+ If f(x) = 0, what is x? O 0 only O -6 only O-2, 1, or 3 only O-6, -2, 1,
What kind of music might you expect from a group that called themselves "The Entropics"?
In a story what does theme do
Read the excerpt from Julius Caesar and answer the question that follows. Brutus It must be by his death, and for my part I know no personal cause to spurn at h
is say irregular verb
write Six times a number w is at least -24​ as an inequality
*WILL GIVE BRAINLIEST* The table below contains partial data points of Red Bird's trajectory.
Select the correct answer. A charity's outreach program is working to provide food and medicine to the people affected by a hurricane. The members drive in a tr
Tanya planted seedlings in her garden over the weekend. The instructions that came with the seedlings stated that they need to be planted 0.2 meters apart. Tany
Prescription medications prescribed to relieve pain and include the illegal? drug heroin O Inhalants Opioids Depressants Cannabinoids