1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mamont248 [21]
3 years ago
15

3. Write a recursive algorithm of the sequence t(1)=1 and t(n)=n2 t(n-1) as a function.

Mathematics
1 answer:
Novosadov [1.4K]3 years ago
5 0

Answer:

int t(int n){

     if(n == 1)

          return 1;

     else

          return n*n*t(n-1);

}

Step-by-step explanation:

A recursive function is a function that calls itself.

I am going to give you an example of this algorithm in the C language of programming.

int t(int n){

     if(n == 1)

          return 1;

     else

          return n*n*t(n-1);

}

The function is named t. In the else clause, the function calls itself, so it is recursive.

You might be interested in
The first two terms of an exponential sequence are 18 and 6. What are the next three terms?
sweet [91]

Answer:

The next three terms are 54, 162, 486

Step-by-step explanation:

Exponential sequences you multiply to find the next term

6 x 3 = 18 (to find the next term you can multiply the previous term by 3)

18 x 3 = 54

54 x 3 = 162

162 x 3 = 486

7 0
2 years ago
1 of what number is 7
Kamila [148]
I hope this helps you



1=?.7


?=1/7
3 0
3 years ago
Equivalent factored form for 10x^2+15x-9=2x^2+x-14
yanalaym [24]
Factored form - x= -1/2, -5/4
3 0
3 years ago
WILL GIVE BRAINLIEST, RATING, AND THANKS!
Mashutka [201]

-10(-2)+y = 4

20 + y = 4

y = -16

----------------

-10(-1)+y = 4

10 + y = 4

y = -6

----------------

-10(0) + y = 4

0 + y = 4

y = -4

----------------

-10(1)+y = 4

-10 + y = 4

y = 14

----------------

-10(2)+y = 4

-20 + y = 4

y = 24

----------------

I hope thi helps

-ayden

6 0
3 years ago
Read 2 more answers
Name the solid figure formed by the net.<br> 1<br> A Cube<br> B Cuboid<br> c Cylinder<br> D<br> Cone
GrogVix [38]
U didn’t give a picture
4 0
3 years ago
Other questions:
  • Convert 8 milliliters to fluid ounces use 1 mL =0.034
    10·1 answer
  • Which of these is a literal equation? Choose one answer. a. ten minus six equals four b. three squared plus four equals ten plus
    12·1 answer
  • Find the slope and y intercept of the equation : 2y-5x = 4
    10·1 answer
  • 3 marker cost 5.79 which equation would help determine the cost of 13 markers
    10·1 answer
  • PLZ HELP FAST (multiple choice)​
    15·2 answers
  • A car manufacturing company produces blue and black cars only. If 54% of 85658 total
    7·1 answer
  • Mr. Miller has a 20-foot ladder, which he
    8·1 answer
  • Find the equation to this line.​
    6·2 answers
  • Julian forgot his bat when he left for baseball camp. His mother finds a box to ship it to him with the dimensions shown. If the
    8·1 answer
  • This year consumers purchased 5,234,267,990 bottles of water. Last year
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!