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
I need help with this problem please 2/5 divided by 1/7
mylen [45]
<span>0.05714285714 hope this helps you</span>
5 0
3 years ago
Read 2 more answers
A newspaper reports says a company made £700.00 profit llast year. It was 12% more than last year work out how much profit the c
IgorLugansk [536]

Answer:

£616

Step-by-step explanation:

700 - 12% = 616

616 is 12% less than 700

8 0
3 years ago
It took Fabian 40 minutes to dig 5 post holes. If he continues at this rate, how long will it take him to dig 20 post holes?
Artyom0805 [142]

Answer:

13.33 hours

Step-by-step explanation:

plz give brainliest

7 0
3 years ago
Is 5 to 4 and 35 to 28 porportional
kirill115 [55]
Yes, it is
hope this helped
7 0
3 years ago
Read 2 more answers
What number decreased by 23% is equals 123?
vredina [299]

Answer: Lets call the number x

decreased means subtraction.  If x is decreased bt 23% then the result is

x-23%(x)  =  x-(23/100)x    or x-.23x

x-.23x=539

.77x=539

x=539/.77

x=700

check:  700-.23(700)=539

           700-161=539

           539=539

           Our answer is correct

Step-by-step explanation:

hope this helps❤️❤️❤️

7 0
3 years ago
Other questions:
  • The scatter plot shows the ages of children and how many stuffed animals they own.
    7·1 answer
  • młodzież wyjechała autokarem na obóz o godzinie 7.00.Dojechali na miejsce o godzinie 12.00. autokar jechał ze średnia 55km/h. ja
    11·1 answer
  • How many times does 12 go into 19
    6·2 answers
  • 16 POINTS <br> THANK YOU SM WHOEVER ANSWERS THIS
    10·1 answer
  • Two trains leave Stations 396 miles apart at the same time and travel towards each other. One train travels at 95 mph while othe
    8·1 answer
  • A store offers customers two ways to pay for a new TV.
    10·1 answer
  • What is the slope of the line through (-5, -10) and (-1, 5)?
    10·1 answer
  • These are the means and standard deviations for samples of prices from two different brands of shoes. Brand A Brand B Mean: $50
    8·1 answer
  • Find the slope of the line that passes through the points (4, 3) and (2,7).
    9·1 answer
  • Please answer the question in the picture <br><br> No links please
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!