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
Look at image it will give you the qeustion
bixtya [17]

Answer:

B

Step-by-step explanation:

I would think be because it's the only one that crosses the rest don't

3 0
3 years ago
Suppose that a particle following the given path c(t) flies off on a tangent at t = t0. Compute the position of the particle at
Svetach [21]

Answer:

(30,35,0)

Step-by-step explanation:

We are given that

C(t)=(2t^2,t^3-4t,0)

t_0=3,t_1=4

The velocity of particle,v(t)=c'(t)=(4t,3t^2-4,0)

Substitute t_0=3

C(3)=(2(3)^2,(3)^3-4(3),0))=(18,15,0)

v(3)=(4(3),3(3)^2-4,0)=(12,23,0)

The tangent line at t=3 is given by

l(t)=c(2)+(t-3)v(3)=(18,15,0)+(t-3)(12,23,0)

Now, substitute t=4

l(4)=(18,15,0)+(4-3)+(12,23,0)=(18,12,0)+(12,23,0)

l(4)=(30,35,0)

Hence, the position of particle  at t_1=4=(30,35,0)

4 0
3 years ago
What’s the angle measure?<br><br> X=18
FrozenT [24]

Answer:

Since =18 is a vertical line, there is no y-intercept and the slope is undefined.

Slope: Undefined

y-intercept: No y-intercept

Step-by-step explanation:

I hope it helpes u

6 0
3 years ago
Calculate the geometric mean of 2 and 200
kakasveta [241]
The geometric mean of 2 & 200 is *(20)*
5 0
2 years ago
The black graph is the graph of y=f(x). Choose the equation for the red graph.<br> Please Help me!!
katen-ka-za [31]

Answer:

c

Step-by-step explanation:

The red graph is the black graph translated vertically by 1 unit

Given f(x) then f(x) + c is a vertical translation of f(x)

• If c > 0 then a shift up of c units

• If c < 0 then a shift down of c units

Thus f(x) + 1

Note

y - 1 = f(x) ← add 1 to both sides

y = f(x) + 1 ← as required

The equation of the red graph is

y - 1 = f(x) → c

4 0
3 years ago
Other questions:
  • What is the slope of the line containing the points (5,4) and (5,-3)?
    14·1 answer
  • A substance has a density of 0.876 g/mL and a volume of 25.6 mL. Find its mass in grams
    14·2 answers
  • What's greater 5.05 or 5.050
    8·1 answer
  • If Mike uses a 3 to 1 ratio of beef to pork how much pork will he use with a total of 3 pounds?
    5·1 answer
  • 5^2(5^3⋅5^2) <br> What is the answer
    12·1 answer
  • Plsss i need help boys and girls lol FRL :)
    6·1 answer
  • a trapezoid has an area of 15 square feet. if the bases are 4 feet and 6feet, what is the height of the trapezoid?
    7·2 answers
  • The sum of my number and two and two thirds is seven. What is my number?
    12·2 answers
  • Mrs. Jackson​'s closet consists of two​ sections, each shaped like a rectangular prism. She plans to buy mothballs to keep the m
    13·2 answers
  • When drawing the stretchout arc for the pattern of a cone fitting, the radius should be equal to _____.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!