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

solve 2(4x-3) = 5(2x-5)
PLEASE HELP!! 50 POINTS!!!!!
If the assessment rate is 46% and the tax rate is $37.84 per $1,000 of assessed value, the property tax on a house with a market value of $170,000 is
I need help on Question 1.
Will give 50 points for answer to this question
the product of two numbers is 16/9. if one of the numbers is 5/2, find the other number
What is a representative government? A government run by a king or queen A government where leaders are appointed by the wealthy A government run by people w
Which form of energy is converted to electrical energy in a voltaic cell?.
Express your answer in simplest a+ bi form. (8+5i)(3+2i)-(4+i)(4-i)
Milo is a dynamic character, one who changes and grows. Explain how Milo changes as a character throughout the course of the play. What characters or events hel