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
Type the correct answer in each box. Use numerals instead of words. Bethany collected 200 survey responses regarding recycling b
Nimfa-mama [501]

Answer:

13% did not participate in citys recycling program not sure about the first part

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Hello, pls help me. <3
natali 33 [55]

Answer:

D. 12

Step-by-step explanation:

8 0
3 years ago
HELP ASAP 2 MORE MINUTES ON TEST!!!!!!!!!!! PLEASE YALL HELP!
Damm [24]

Answer:

Length=60in

Width= 35 in

Step-by-step explanation:

Don’t forget the unit

6 0
3 years ago
Read 2 more answers
Find the slope of the line on the graph. Write yoyur answer as a frction or a whole number, not a mixed number or decimal.
BigorU [14]
Okay, so I'm almost positive the slope is m=1/1. I know this because the line rises one and runs one. 
7 0
3 years ago
Read 2 more answers
Find the range of 83,70,21,48 and 116
jeka94

Answer:

The range is 95

Step-by-step explanation:

The range of a discrete data set is the difference between the least and the highest value.

The given date set is 83,70,21,48 and 116.

We sort it to get:

21,48,70,83,116

The range is 116-21=95

3 0
3 years ago
Read 2 more answers
Other questions:
  • Need help. Every equation I’ve thought of ends up not working out.
    11·1 answer
  • How to solve inequalities​
    8·2 answers
  • Determine the intercepts of the line. Y=6x+13
    8·2 answers
  • Let f(x) = 1/x+2 and g (x) = 1/x-3. Find (f/g) (x). Assume all appropriate restrictions to the domain. help!!!!
    5·1 answer
  • Solve the system using elimination.<br><br> 2x + 3y = 17<br> x + 5y = 19
    13·1 answer
  • What is the value of b in the equation below? 9 Superscript negative 8 Baseline times 9 Superscript negative 2 Baseline = a Supe
    6·2 answers
  • Determine whether the data set represents a direct variation, an inverse variation, or neither?
    13·1 answer
  • I only need a little bit of help. PLS HELP
    9·1 answer
  • Choose the algebraic expression that matches the phrase below. <br>h increased by 5​
    9·1 answer
  • Plesae urgent hurryy for brainlist !!!!!!!!!!!
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!