answer.
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
kumpel [21]
2 years ago
7

A native Australian named Anatjari wishes to cross a desert carrying only a sin- gle water bottle. He has a map that marks all t

he watering holes along the way. Assuming he can walk k miles on one bottle of water, design an efficient algo- rithm for determining where Anatjari should refill his bottle in order to make as few stops as possible. Argue why your algorithm is correct.
Engineering
1 answer:
Alex2 years ago
5 0

Answer:

Consider that W_{i} be the i^{th} water hole

let D be the distance vector for all distances between watering holes.D[i] represents

the distance between W_{i} and W_{i+1}

K be the distance he can walk with one bottle water.

Let's start with the first water hole.

Stops represents the set of stops={}

i=1

while(Wi Exists)

Distance=D[i]

    while(Distance<k)

Distance=Distance+D[i+1]

             i=i+1

    Put Wi in Stops if Wi+1   exists

return set of Stops

the above algorithm checks if sum of consecutive distances are less than the value of k.

if the sum of distance exceeds value of k.

we put the current water hole to the set of stops.

Explanation:

Proof

let's say distance vector D= {5, 15, 20, 15}

water holes W={W1, W2 , W3 ,W4 ,W5 }

k=25 be the max distance with single bottle.

after the algorithm

step1: distance=5 < 25 i=1

step2: distance=5+15 <25 i=2

step3: distance=20+15 >25 i=3 put W3 in Stops because W4 exists

step4: distance=D[3]=20<25 i=4

step5: distance=20+15>25 i=5 don't put W6 does not exists

You might be interested in
A suspension of Bacillus subtilis cells is filtered under constant pressure for recovery of protease. A pilot-scale filter is us
sattari [20]

The answer & explanation for this question is given in the attachment below.

7 0
2 years ago
A milling operation was used to remove a portion of a solid bar of square cross section. Forces of magnitude P = 18 kN are appli
monitta

The smallest allowable depth is d=16.04 \mathrm{mm} for the milled portion of bar.

<u>Explanation:</u>

Given,

Magnitude of force,\mathbf{p}=18 \mathrm{kN}

a=30 \mathrm{mm}

=0.03 \mathrm{m}

Allowable stress,\sigma_{a l l}=135 \mathrm{MPa}

cross sectional area of bar,

A=a \times d

A=a d

e - eccentricity

e=\frac{a}{2}-\frac{d}{2}

The internal forces in the cross section are equivalent to a centric force P and a bending couple M.

M=P e

=P\left(\frac{a}{2}-\frac{d}{2}\right)

=\frac{P(a-d)}{2}

Allowable stress

\sigma=\frac{P}{A}+\frac{M c}{I}

c=\frac{d}{2}

Moment of Inertia,

I=\frac{b d^{3}}{12}

=\frac{a d^{3}}{12}

\therefore \sigma=\frac{P}{a d}+\frac{\frac{P(a-d)}{2} \times \frac{d}{2}}{\frac{a d^{3}}{12}}

\sigma=\frac{P}{a d}+\frac{3 P(a-d)}{a d^{2}}\\

\sqrt{x} \sigma\left(a d^{2}\right)=P d+3 P(a-d)

\sigma\left(a d^{2}\right)=P d+3 P a-3 P d

\sigma\left(a d^{2}\right)=(P-3 P) d+3 P a

\left(\sigma a d^{2}\right)=-2 P d+3 P a

\sigma d^{2}=-\frac{2 P}{a} d+3 P

By substituting values we get,

\left(135 \times 10^{6}\right) d^{2}+\frac{2 \times 18 \times 10^{3}}{0.03} d-3\left(18 \times 10^{3}\right)=0

\left(135 \times 10^{6}\right) d^{2}+\left(12 \times 10^{5}\right) d-54 \times 10^{3}=0

On solving above equation we get,d=0.01604 \mathrm{m}\\

d=16.04 \mathrm{mm}

3 0
2 years ago
The uniform beam is supported by two rods AB and CD that have crosssectional areas of 10 mm2 and 15 mm2 , respectively. Determin
ddd [48]

Answer:

w=2.25

Explanation:

It is necessary to determine the maximum w so that the normal stress in the AB and CD rods does not exceed the permitted normal stress.  

The surface of the cross-section of the stapes was determined:  

A_ab= 10 mm^2

A-cd=  15 mm^2

The maximum load is determined from the condition that the normal stresses is not higher than the permitted normal stress σ_allow.

σ_ab = F_ab/A_ab\leqσ_allow

σ_cd =  F_cd/A_cd\leqσ_allow

In the next step we will determine the static size: Picture b).  

We apply the conditions of equilibrium:  

∑F_x=0

∑F_y=0

  ∑M=0

∑M_a=0 ==> -w*6*0.5*6*0.75*F_cd*6 =0

              ==> F_cd = 2*w*k*N

∑F_y=0 ==> F_cd+F_ab - 6*w*0.5 ==>2*w+F_ab -6*w*0.5 =0

              ==> F_ab = w*k*N

Now we determine the load w  

<u>Sector AB:  </u>

σ_ab = F_ab/A_ab\leq σ_allow=300 KPa

         = w/10*10^-6\leq σ_allow=300 KPa

w_ab = 3*10^-3 kN/m

<u>Sector CD:  </u>

σ_cd = F_cd/A_cd\leq σ_allow=300 KPa

         = 2*w/15*10^-6\leq σ_allow=300 KPa

w_cd = 2.25*10^-3 kN/m

w=min{w_ab;w_cd} ==> w=min{3*10^-3;2.25*10^-3}

                                ==> w=2.25 * 10^-3 kN/m

<u>The solution is:  </u>

                                w=2.25 N/m

note:

find the attached graph

6 0
2 years ago
One of the best ways to avoid weather-induced hazards is to _____.
enyata [817]

Answer:

c. avoid them by choosing not to drive if you expect severe weather

6 0
2 years ago
As a human resources professional for a large company, Tommy is involved with the ___________ process. His goal is to find the r
zaharov [31]

Answer:

Recruitment

Explanation:

The process of recruitment involves several activities whose main objective is to get the right people with relevant qualifications at the appropriate time to meet the needs of an organisation whenever there’s need. The process involves screening a pool of candidates through several steps to obtain the best fit for the job.

4 0
2 years ago
Other questions:
  • A rod is 2m long at temperature of 10oC. Find the expansion of the rod, when the temperature is raised to 80oC. If this expansio
    7·1 answer
  • Write multiple if statements: If carYear is before 1967, print "Probably has few safety features." (without quotes). If after 19
    6·1 answer
  • Twenty distinct cars park in the same parking lot every day. Ten of these cars are US-made, while the other ten are foreign-made
    5·1 answer
  • Pipe (2) is supported by a pin at bracket C and by tie rod (1). The structure supports a load P at pin B. Tie rod (1) has a diam
    15·1 answer
  • Your assignment is to write a menu driven program. The menu will be responded to using a switch statement. The menu options (cas
    6·1 answer
  • Consider a normal shock wave in air. The upstream conditions are given by M1=3, p1 = 1 atm, and r1 = 1.23 kg/m3. Calculate the d
    15·1 answer
  • A 10-m long steel linkage is to be designed so that it can transmit 2 kN of force without stretching more than 5 mm nor having a
    9·1 answer
  • What is the component called that usually has a dual-voltage selector switch and has cables that connect to the motherboard and
    15·1 answer
  • A 75,000 ft3 clarifier is to be used to treat wastewater. The recycle ratio is 50%, the sludge volume index (SVI) is 125, and th
    9·1 answer
  • A liquid with a specific gravity of 2.6 and a viscosity of 2.0 cP flows through a smooth pipe of unknown diameter, resulting in
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!