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
Leya [2.2K]
3 years ago
11

The complexity of bfs and dfs

Engineering
1 answer:
Lelechka [254]3 years ago
3 0

Answer:

BFS uses Queue to find the shortest path. DFS uses Stack to find the shortest path. ... Time Complexity of BFS = O(V+E) where V is vertices and E is edges. Time Complexity of DFS is also O(V+E) where V is vertices and E is edges.

Explanation:

You might be interested in
You are about to perform PMCS on your M1114? What resource should you use for the procedures and instructions for performing PMC
aniked [119]

The resources and instructions that should be used for the procedures of performing PMCS are:

  1. Operator's manuals
  2. Safety cautions and warnings.
  3. Fording kit
  4. Heating and cooling systems.

<h3>What is PMCS?</h3>

PMCS is an acronym for preventive maintenance checks and services and it can be defined as the maintenance, checks, and services that are typically performed before, during, and after the use of any type of military equipment such as:

  • M1114
  • M1151
  • M1123

Basically, the resources and instructions that should be used for the procedures of performing PMCS are:

  1. Operator's manuals
  2. Safety cautions and warnings.
  3. Fording kit
  4. Heating and cooling systems.

Read more on PMCS here: brainly.com/question/15720250

#SPJ1

4 0
2 years ago
A glass bottle washing facility uses a well agitated hot water bath at 50°C with an open top that is placed on the ground. The b
DochEvi [55]

Answer:

do the wam wam

Explanation:

7 0
3 years ago
Problem 4.079 SI A rigid tank whose volume is 3 m3, initially containing air at 1 bar, 295 K, is connected by a valve to a large
salantis [7]

Answer:

Q_{cv} = -1007.86kJ

Explanation:

Our values are,

State 1

V=3m^3\\P_1=1bar\\T_1 = 295K

We know moreover for the tables A-15 that

u_1 = 210.49kJ/kg\\h_i = 295.17kJkg

State 2

P_2 =6bar\\T_2 = 296K\\T_f = 320K

For tables we know at T=320K

u_2 = 228.42kJ/kg

We need to use the ideal gas equation to estimate the mass, so

m_1 = \frac{p_1V}{RT_1}

m_1 = \frac{1bar*100kPa/1bar(3m^3)}{0.287kJ/kg.K(295k)}

m_1 = 3.54kg

Using now for the final mass:

m_2 = \frac{p_2V}{RT_2}

m_2 = \frac{1bar*100kPa/6bar(3m^3)}{0.287kJ/kg.K(320k)}

m_2 = 19.59kg

We only need to apply a energy balance equation:

Q_{cv}+m_ih_i = m_2u_2-m_1u_1

Q_{cv}=m_2u_2-m1_u_1-(m_2-m_1)h_i

Q_{cv} = (19.59)(228.42)-(3.54)(210.49)-(19.59-3.54)(295.17)

Q_{cv} = -1007.86kJ

The negative value indidicates heat ransfer from the system

7 0
3 years ago
Considering the analogy between electrical circuit and thermal circuit, show your approach to derive an expression for the therm
Simora [160]

Answer:

Thermal resistance for a wall depends on the material, the thickness of the wall and the cross-section area.

Explanation:

Current flow and heat flow are very similar when we are talking about 1-dimensional energy transfer. Attached you can see a picture we can use to describe the heat flow between the ends of the wall. First of all, a temperature difference is required to flow heat from one side to the other, just like voltage is required for current flow.  You can also see that R_{th} represents the thermal resistance. The next image explains more about the parameters which define the value of the thermal resistances which are the following:

  1. Wall Thickness.  More thickness, more thermal resistance.
  2. Material thermal conductivity (unique value for each material). More conductivity, less thermal resistance.
  3. Cross-section Area. More cross-section area, less thermal resistance.

A expression to define  the thermal resistance for the wall is as follows:  R_{th} =\frac{l}{Ak}, where  l is the distance between the tow sides of the wall, that is to say the wall thickness; A is the cross-section area and k is the material conducitivity.

5 0
3 years ago
A circular bar will be subjected to an axial force (P) of 2000 lbf. The bar will be made of material that has a strength (S) of
schepotkina [342]

Answer:

n = 2.36

Explanation:

The stress experimented by the circular bar is:

\sigma = \left[\frac{2000\, lbf}{\frac{\pi}{4}\cdot (0.5\,in)^{2}}\right]\cdot \left(\frac{1\,kpsi}{1000\,psi} \right)

\sigma = 10.186\,kpsi

The safety factor is:

n = \frac{24\,kpsi}{10.186\,kpsi}

n = 2.36

5 0
3 years ago
Other questions:
  • When replacing a timing belt, many experts and vehicle manufacturers recommend that all of the following should be replaced exce
    13·1 answer
  • A 6cm OD, 2cm thick copper hollow sphere [k=386W/m.C] is uniformly heated at the inner surface at a rate of 150W/m2. The outside
    6·1 answer
  • A 11-cm-diameter horizontal jet of water with a velocity of 40 m/s relative to the ground strikes a flat plate that is moving in
    7·1 answer
  • If 5000 N of thrust is acting to the left, and 4300 N of drag is acting to the right, what is the magnitude and direction of the
    11·1 answer
  • Generally the primary source of all water supply is to be said as
    5·2 answers
  • After adjusting your seat, your___ should be as closest possible to the back rest.
    14·1 answer
  • List all possible fracture mechanisms under which the unidirectional composites fail. Briefly explain and describe the related m
    7·1 answer
  • Underground water is to be pumped by a 78% efficient 5- kW submerged pump to a pool whose free surface is 30 m above the undergr
    10·1 answer
  • Which of the following is true regarding screw gauges and shank?
    5·1 answer
  • Which thematic group is involved in the transmission and generation of electrical power?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!