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 figure below shows a rectangle ABCD having diagonals AC and DB. ​
Keith_Richards [23]

Answer:  b) ΔADC ≡ ΔBCD by SAS

<u>Step-by-step explanation:</u>

Step 1: AD = BC                     SIDES are congruent

Step 2: ∠ADC ≡ ∠BCD          ANGLES are congruent

Step 3: DC = DC                    SIDES are congruent

The proof is using Side-Angle-Side (SAS)

Look at the angles in step 2.  These are the triangles you are proving congruency for: ΔADC ≡ ΔBCD

4 0
4 years ago
It must be least to greatest
stiv31 [10]
-5 1/3, 2 1/2, 3.75 that is all i can see in the picture
4 0
4 years ago
Which score is better in terms of percentages: 12 out of 15 or 23 out of 26?
Ksenya-84 [330]

Answer:

23/26 is a greater percentage, it equals around 88% while 12/15 equals 80%

Step-by-step explanation:

5 0
3 years ago
Consider the diagram.
LenaWriter [7]

Answer:

2 units is perpendicular bisector of line segment

7 0
2 years ago
there are 400 students and 4/5 have purchased tickets there needs to be 2 chaperones for every 75 students how many chaperones a
Vesna [10]

Answer:

5 chaperones are needed.

Step-by-step explanation:

400 x 4/5 = 320

320 ÷ 75 = 4.3

3 0
3 years ago
Other questions:
  • How do you know if a triangle doesnt have enough info to prove its congruent
    6·1 answer
  • Which expression represents the fourth term in the binomial expansion of (e + 2f)10?
    5·2 answers
  • A jewelry store marked up the price of its well-known necklace. The new price of the necklace is $250, which is 125% of the orig
    11·2 answers
  • Can you figure out the missing number in this sequence? Type your answer below!
    9·1 answer
  • What's is this I do find it out​
    9·1 answer
  • Simplify the expression where possible. (x^2)^4
    8·1 answer
  • Cuadrado de un binomio <br> 2<br> (7+x)
    12·2 answers
  • 17
    14·1 answer
  • My teacher saysni should know this but i dont. 2+2=?
    10·2 answers
  • Given the function f(x) = 2-4, determine the slope of the tangent line of f at
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!