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
After a bicycle tire has done 10 rotations, it has traveled 879.2 inches. Write and solve an equation to find the radius of the
scZoUnD [109]

Answer:

14in approx

Step-by-step explanation:

Given data

number of rotations= 10

Distance travelled=  879.2 inches

Hence if in 10 rotations the distance covered is  879.2 inches

               in 1 rotation the distance covered will be x inches

cross multiply

10x= 879.2

x=  879.2/10

x=  87.92 inches

This means that the circumference of the  tire is 87.92 in

From

C= 2πr

Let us solve for r

87.92=2*3.142*r

87.92=6.284r

r= 87.92/6.284

r= 13.9

Hence the radius is 14in approx

8 0
3 years ago
Sum of 34908 and 12765?​
iren2701 [21]

Answer:

47,673

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
100 POINTS!! MICROSOFT EXCEL
murzikaleks [220]

Step-by-step explanation:

A new coffee shop is being built. Its location is the reflection of the arcade's coordinates across

the y-axis. Which procedure will find the correct distance between the arcade and the new coffee shop

4 0
3 years ago
Read 2 more answers
Two isosceles triangles are shown above. If b = 180-4a and a=35, What is the value of c?
Ymorist [56]

Answer:

a=35 given

b=40  

c=110

I couldn't complete see c. Please look at the picture to see what I assumed it to be.

Step-by-step explanation:

Hmmm... I guess a and b are not vertical.

We are given b=180-4a and a=35 so b=180-4(35)=180-140=40.

So b=40.

Isosceles triangles always have congruent base angles.  So let's call both of the base angles in the bottom triangle x.

That means x+x+40=180.

We need to solve this for x.

Combine like terms:

2x+40=180

Subtract 40 on both sides:

2x=140

Divide both sides by 2:

x=140/2

Simplify:

x=70

So I'm assuming that c and it's adjacent angle are sitting on a straightedge together which means 70+c=180.

70+c=180

Subtract 70 on both sides:

c=180-70

Simplify:

c=110

4 0
3 years ago
What is the value of m
Diano4ka-milaya [45]

Answer:

C

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
Other questions:
  • Help me please please please​
    8·2 answers
  • Compute.<br> 52 · 52 Please
    14·2 answers
  • Unit Test
    12·1 answer
  • <img src="https://tex.z-dn.net/?f=%20%5Cfrac%7Bx%7D%7B6.2%7D%20%3D%20-%202.1" id="TexFormula1" title=" \frac{x}{6.2} = - 2.1" al
    12·2 answers
  • Which number is not a solution to -3x + 6 &gt; 15 ?<br> A. -5<br> B. -4<br> C. -3<br> D. -2
    10·1 answer
  • Work out the size of angle z<br><br> image included
    9·1 answer
  • Please help me with 168÷45​
    12·1 answer
  • Plz anserw the question below.
    7·1 answer
  • Helppp!!!!!! :(((((((((((((((((((((((((((((
    11·1 answer
  • Here's a screenshot of my problem does someone mind helping me
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!