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
Simplify the expression 2(10) + 2(x - 4)
choli [55]

Answer:

2(x+6)

Step-by-step explanation

5 0
2 years ago
There are 1096 marbles in a bag. One of the marbles is to be randomly chosen from the bag. If the probability that a red marble
erica [24]

Answer: 685 red marbles

Step-by-step explanation:

Lets set up a proportion:

x/1096 = 5/8

(For every 8 marbles, 5 of them are red)

Then we cross multiply

5480 = 8x

and divide!

so 685 marbles

6 0
3 years ago
Seven tenths simplified
Reika [66]
You cant simplify seven tenths
3 0
3 years ago
Read 2 more answers
Dana is tying 18 bows onto gift baskets each bow uses 4 feet of ribbon does Dana need to make all the bows
kotykmax [81]

Answer:

Dana needs 72 feet of ribbon to make all the bows

Step-by-step explanation:

If she needs to make all the bows, she needs a total of:

18 times 4 feet = 18 * 4 = 72 feet of ribbon

7 0
2 years ago
Which of the following points is a solution to the system of inequalities show below
yuradex [85]
Where are the inequalities?
8 0
2 years ago
Other questions:
  • Please help me please
    10·1 answer
  • Which pair of lines are perpendicular to one another ?
    5·1 answer
  • The function f(x)=x2. The graph ofg(x) is f(x) translated to the left 6 units and down 5 units. What is the functionrule for g(x
    15·1 answer
  • Sarah is paid $20 an hour at her new job. She wishes to graph her total pay T, as a function of the number of hours, h. She want
    12·1 answer
  • Choose the answer that best completes the sentence.
    12·1 answer
  • If sarah starts her chores at 10:15
    11·1 answer
  • If (3x+5)^2=ax^2+bx+c, what is the value of a+b+c?
    15·1 answer
  • If y = 18, when x = 12, find y when x = 36.
    12·1 answer
  • In the context of the passage as a whole, the first sentence of the third paragraph (“Yet . . . can do”) marks the transition be
    11·2 answers
  • HELP ME ANSWER THIS PLEASE
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!