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
solmaris [256]
2 years ago
10

An algorithm takes 5 seconds for input size 200. How long will it take for input size 1000 if the running time is linear (assume

low-order terms are negligible)?
Mathematics
1 answer:
tankabanditka [31]2 years ago
8 0

The running time for an input size of 1000 will be 25 seconds.

To calculate the runtime of the Algorithm we need to know what an Algorithm is and how its runtime works.

<h3>What is the runtime of an Algorithm?</h3>

A finite sequence of rigorous instructions, used to solve a critical problem of a specific class or for computational purposes is called an Algorithm. The time taken to complete the said task is called the runtime of an Algorithm.

Let us now solve the question about linear running time of an algorithm.

Input size(N_{1})=200

Time taken(T_1)=5 seconds

Final input size(N_2)=1000

Let the final time taken be T.

Now we know that: \frac{N_1}{T_1}=\frac{N_2}{T_2}

Substituting the values we get T_2=25 seconds .

Therefore the linear running time for an input size of 1000 is 25 seconds.

To know more about Algorithm:

brainly.com/question/17780739

#SPJ4

You might be interested in
The figures below are similar; explain what you know about the sides.
borishaifa [10]

The figures are similar, so the corresponding sides are proportional.

For example, the ratio of BD to HF could be 2:1 meaning BD is twice as long as HF. We could have BD = 10 and HF = 5 for instance.

The other sides would be in the same proportion to keep the figures similar. So another example would be ND/TH = 2/1

4 0
4 years ago
The temperature in London is 4 degrees Celsius on Monday. The temperature in Moscow is -12 degrees Celsius. What is the differen
VashaNatasha [74]

4 - (-12) = 16

difference = 16 degrees celcius.

<em>request: please mark brainiest, and click the thanks button if correct <3</em>

<em />

4 0
3 years ago
50pts and brainliest to whoever can solve this problem TWO ways: 3/7(x + 9)=12, 3/7 being a fraction
Mnenie [13.5K]

x = 19

Step-by-step explanation:

\begin{aligned}\frac{3}{7}\left(x+9\right)&=12\\3\left(x+9\right)&=12\times 7\\3x+27&=84\\3x&=84-27\\3x&=57\\x&=\frac{57}{3}\\ x&=\underline{\underline{\bf 19}}\end{aligned}

7 0
3 years ago
Easy Points! Explain Well!
ddd [48]

Answer:

I am guessing it is 67 as for maybe the whole thing is 180 degrees. So 180 subtracted by 67 and 46 equals 67!!!

5 0
3 years ago
Read 2 more answers
Jonathon saves $4,000 at the end of each quarter for 10 years. Assume 12% compounded quarterly and find the present value.
charle [14.2K]

Answer:

Results are below.

Step-by-step explanation:

1. <u>First, we need to calculate the Future Value:</u>

FV= {A*[(1+i)^n-1]}/i

A= quarterly deposit

n= 10*4= 40

i= 0.12/4= 0.03

FV= {4,000*[(1.03^40) - 1]} / 0.03

FV= $301,605.04

Now, the present value:

PV= FV/(1+i)^N

PV= 301,605.04/(1.03^40)

PV= $92,459.09

2. <u>First, we need to calculate the value of the first year of college:</u>

FV= PV*(1+i)^n

FV= 24,000*(1.04^3)

FV= $26,996.74

Now, the quarterly payments:

FV= {A*[(1+i)^n-1]}/i

A= quarterly deposit

Isolating A:

A= (FV*i)/{[(1+i)^n]-1}

i= 0.08/4= 0.02

n= 3*4= 12

A= (26,996.74*0.02) / [(1.02^12) - 1]

A= $2,012.87

5 0
3 years ago
Other questions:
  • Please answer. Will give brainliest.
    7·1 answer
  • What is the gcf for 60,45​
    14·2 answers
  • How many different three digit numbers can be formed with 1 2 and 3?
    7·1 answer
  • Given the system
    12·1 answer
  • Ms. Santor divides 32 students into 8 equal groups for a field trip.Draw a tape diagram,and label the number of students in each
    14·2 answers
  • What is the answer to2/6-2/10
    15·2 answers
  • 4. If z, a+bi and z, c+di represent two complex numbers with real components a, b, c and d, then which of the following represen
    14·1 answer
  • Find the length of each arc.
    14·2 answers
  • Please help I'm in fourth and I do not understand this at all :((
    6·2 answers
  • A dance team fundraiser there is a pie toss going on and Claudia is tossing pies at her coach… The path of the pie models a Quad
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!