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
20 Points!
lianna [129]
The answer is (3,5)
3 0
3 years ago
Read 2 more answers
Simplify −(3p53q3)−5.
arsen [322]

Answer: -3p^53q^3-5

Step-by-step explanation:

7 0
3 years ago
How do I find the area of a triangle and a circle??
Salsk061 [2.6K]

Answer:

<em>Area</em><em> </em><em>of</em><em> </em><em>triangle</em><em> </em><em>=</em><em>1</em><em>/</em><em>2</em><em>×</em><em>base</em><em>×</em><em>height</em>

<em>Area</em><em> </em><em>of</em><em> </em><em>circle</em><em> </em><em>=</em><em> </em><em>pie</em><em> </em><em>×</em><em> </em><em>radius</em><em> </em><em>^</em><em>2</em>

3 0
3 years ago
a bread recipe calls for ⅓ cup of butter you want to make ½ of a batch. how much butter do you need?​
Reil [10]

Answer:

1/6

Step-by-step explanation:

if 1/3 is for a whole batch and you want to make a half batch. So, divide 1/3 by 2.

4 0
3 years ago
the length of a rectangle is five times the width. if the area of the rectangle is 125 square inches, find the length and width​
Mekhanik [1.2K]
Length: 25
Width: 5
25 divided by 5=5
25x5=125
3 0
3 years ago
Other questions:
  • Can anyone solve this for me please?
    6·1 answer
  • Lainey bought a set of 20 markers for $6 what is the cost of one market
    9·1 answer
  • Kevin has traveled 42, 1/2 miles on his trip. That is 1/3 of the total distance, how far is his trip?
    5·1 answer
  • If f(x) = 5x + 40, what is f(x) when x = -5?<br> оооо
    11·1 answer
  • S n o g is ann01ng it w4rn3d me for asking a normal question i had because of my h0m3w0rk
    5·2 answers
  • Emily, Andrew, and Isaiah had a challenge to see who could bike the farthest in one day. Emily biked 13 miles, Andrew biked 4 ti
    7·1 answer
  • A big bag of starbursts has 96 pieces. Some are pink and the rest are yellow. There is one yellow starburst for every 15 pink st
    12·2 answers
  • Find the value of x<br> What’s the missing angle?
    12·1 answer
  • Find the slope of the line that passes through the points (-2 3 )and( 4 3)​
    11·2 answers
  • Rewrite in simplest terms: -2(5d-9f)+7f-10(-9f-7d)
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!