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
MAVERICK [17]
3 years ago
5

I have an algorithm that runs in O(N ), where N is the size of the problem. For N = 100, the time for the algorithm to run is 1

minute. How long does the algorithm take for N=1000? A) Same time B) 10 minutes C) 100 minutes D) 1000 minutes
Physics
1 answer:
hodyreva [135]3 years ago
4 0

Answer:

B) 10 minutes

Explanation:

When the size of the problem is 100 then it takes 1 minute to solve

100\ s=1\ min

So, when the size of the problem is 1 then it takes the following minutes

1\ s=\frac{1}{100}\ min

For when the size of the problem is 1000 we have

1000\ s=\frac{1000}{100}\ min=10\ min

So, it will take 10 minutes to solve the algorithm of size 1000

You might be interested in
Richard is driving home to visit his parents. 135 mi of the trip are on the interstate highway where the speed limit is 65 mph .
Elis [28]
<h2>Answer:</h2>

He saves 13.2 minutes

<h2>Explanation:</h2>

Hey! The question is incomplete, but it can be found on the internet. The question is:

How many minutes did he save?

Let's call:

t_{1}:Time \ at \ speed \ 65mph \\ \\ t_{2}:Time \ at \ speed \ 73mph \\ \\ v_{1}=65mph \\ \\ v_{2}=73mph

We know that the 135 miles are on the interstate highway where the speed limit is 65 mph. From this, we can calculate the time it takes to drive on this highway. Assuming Richard maintains constant the speed:

v=\frac{d}{t} \\ \\ d:distance \\ \\ t:time \\ \\ v:velocity \\ \\ t_{1}=\frac{d}{v_{1}} \\ \\ t=\frac{135}{65} \\ \\ t_{1}=2.07 \ hours

Today he is running late and decides to take his chances by driving at 73 mph, so the new time it takes to take the trip is:

t_{2}=\frac{135}{73} \\ \\ t_{2}=1.85 \ hours

So he saves the time t_{s}:

t_{s}=t_{1}-t_{2}=2.07-1.85=0.22 \ hours

In minutes:

t_{s}=0.22h\left(\frac{60min}{1h}\right) \\ \\ \boxed{t_{s}=13.2min}

5 0
3 years ago
A coin is dropped from a height of 421 m. calculate the velocity of the coin after 3 s​
Keith_Richards [23]

Answer:

29.4 m.s

Explanation:

Vf = vo + at       v o = original velocity = 0 in this case

Vf = at

   = 9.81 m/s^2 * 3 = 29.4 m/s

7 0
1 year ago
a sensor light installed on the edge of a home can detect motion for a distance of 50 feet in front and with a range of motion o
Dvinal [7]

Answer:

4363.3231 feets²

Explanation:

Given that :

Distance, r = 50 ft

θ = 200°

The arc length of area covered :

Arc length = θ/360° * πr²

Arc length = (200/360) * 50 ft ^2 * π

Arc length = 0.5555555 * 2500 * π

Arc length = 4363.3231 feets²

7 0
2 years ago
You have What needs to be done to this circuit so that the light bulb lights up?
Fynjy0 [20]
Close the switch would be the correct answer
6 0
3 years ago
What does the negative sign in F = –kx mean?
Andru [333]
The force is opposite to the displacement
3 0
3 years ago
Other questions:
  • How fast must a cyclist climb a 6.0º hill to maintain a power output of 0.25 hp? Neglect work done by friction, and assume the m
    6·1 answer
  • The force exerted by expanding gases is what propels a shell out of a gun barrel. Suppose a force that has an average magnitude
    14·1 answer
  • Use term chloroplast and organelle in a sentence that describes cell function.
    11·1 answer
  • ¿Cuál es el rango de frecuencias comprendido entre las longitudes de onda de 220 nm, 350 nm,
    14·1 answer
  • A large truck breaks down out on the road and receives a push back to town by a small compact car.
    5·1 answer
  • Does a ball ever bounce back to it's drop height?
    8·2 answers
  • When unbalanced forces act on an object, __________________. the object accelerates friction becomes greater than the net force
    14·1 answer
  • Under conditions of conservation of energy where the initial energy object is only gravitiational potential energy and the final
    9·1 answer
  • State two devices that transfer heat out of a cool environment into a warm environment​
    10·1 answer
  • What is gravity ?short ans​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!