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
mamaluj [8]
3 years ago
12

Let m be an integer in the set {0,1,2,3,4,5,6,7,8, 9}, and consider the following problem: determine m by asking 3-way questions

, i.e. questions with at most 3 possible answers. For instance, one could ask which of 3 specific subsets m belongs to.
Give a decision tree argument showing that at least 3 such questions are necessary in worst case. In other words, prove that no correct algorithm can solve this problem by asking only 2 questions in worst case.

Engineering
1 answer:
kupik [55]3 years ago
5 0

Answer:

Take any algorithm if that algorithm solves this problem it can be represented as a ternary decision tree. Therefore each question has at most three answers.

There are ten possible verdicts, the height of such kind of tree should satisfy

ℎ >= ⌈log3(10)⌉ = 3

Hence no such algorithm can ask less than three questions in the worst case.

---

b)

Each and every internal node represents a question asking whether m belongs to one of three possible subset of {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} or not

For example 0123|456|789 represented the questionDoes “m: belongs to {0, 1, 2, 3}, to {4, 5, 6}, or to {7, 8, 9}?"

Verdicts are placed in brackets "[ ]"

Explanation:

decision tree is attached below

You might be interested in
The temperature at which all molecular motion stops is known as: a) Absolute temperature b) molecular temperature c) absolute ze
Naya [18.7K]

Answer:

c) absolute zero

Explanation:

The fourth principle of thermodynamics posed by the Romanian economist Nicholas Georgescu-Roegen, explains the presence of absolute zero is said that at this temperature the internal molecular movement becomes zero making the internal energy (U) zero, absolute zero is equivalent to -273.15C or 0Kelvin

6 0
4 years ago
) A brick of clay is being dried in a batch dryer using constant drying conditions. You have been asked to determine the amount
dimaraw [331]

Answer:

The drying time is calculated as shown

Explanation:

Data:

Let the moisture content be = 0.6

the free moisture content be = 0.08

total moisture of the clay  = 0.64

total drying time for the period = 8 hrs

then if the final dry and wet masses are calculated, it follows that

t = (X0+ Xc)/Rc) + (Xc/Rc)* ln (Xc/X)

 = 31.3 min.

4 0
3 years ago
An incompressible fluid flows between two infinite stationary parallel plates. The velocity profile is given by u=umaxðAy2 + By+
nexus9112 [7]

Answer:

the volume flow rate per unit depth is:

\frac{Q}{b} = \frac{2}{3} u_{max} h

the ratio is : \frac{V}{u_{max}}=\frac{2}{3}

Explanation:

From the question; the  equations of the velocities profile in the system are:

u = u_{max}(Ay^2+By+C)   ----- equation (1)

The above boundary condition can now be written as :

At y= 0; u =0           ----- (a)

At y = h; u =0            -----(b)

At y = \frac{h}{2} ; u = u_{max}     ------(c)

where ;

A,B and C are constant

h = distance between two plates

u = velocity

u_{max} = maximum velocity

y = measured distance upward from the lower plate

Replacing the boundary condition in (a) into equation (1) ; we have:

u = u_{max}(Ay^2+By+C) \\ \\ 0 = u_{max}(A*0+B*0+C) \\ \\ 0=u_{max}C \\ \\ C= 0

Replacing the boundary condition (b) in equation (1); we have:

u = u_{max}(Ay^2+By+C) \\ \\ 0 = u_{max}(A*h^2+B*h+C) \\ \\ 0 = Ah^2 +Bh + C \\ \\ 0 = Ah^2 +Bh + 0 \\ \\ Bh = - Ah^2 \\ \\ B = - Ah   \ \ \ \ \   --- (d)

Replacing the boundary condition (c) in equation (1); we have:

u = u_{max}(Ay^2+By+C) \\ \\ u_{max}= u_{max}(A*(\frac{h^2}{2})+B*\frac{h}{2}+C) \\ \\ 1 = \frac{Ah^2}{4} +B \frac{h}{2} + 0 \\ \\ 1 =  \frac{Ah^2}{4} + \frac{h}{2}(-Ah)  \\ \\ 1=  \frac{Ah^2}{4}  - \frac{Ah^2}{2}  \\ \\ 1 = \frac{Ah^2 - Ah^2}{4}  \\ \\ A = -\frac{4}{h^2}

replacing A = -\frac{4}{h^2} for A in (d); we get:

B = - ( -\frac{4}{h^2})hB = \frac{4}{h}

replacing the values of A, B and C into the velocity profile expression; we have:

u = u_{max}(Ay^2+By+C) \\ \\ u = u_{max} (-\frac{4}{h^2}y^2+\frac{4}{h}y)

To determine the volume flow rate; we have:

Q = AV \\ \\ Q= \int\limits^h_0 (u.bdy)

Replacing u_{max} (-\frac{4}{h^2}y^2+\frac{4}{h}y) \ for \ u

\frac{Q}{b} = \int\limits^h_0 u_{max}(-\frac{4}{h^2} y^2+\frac{4}{h}y)dy \\ \\  \frac{Q}{b} = u_{max}  \int\limits^h_0 (-\frac{4}{h^2} y^2+\frac{4}{h}y)dy \\ \\ \frac{Q}{b} = u_{max} (-\frac{-4}{h^2}\frac{y^3}{3} +\frac{4}{h}\frac{y^2}{y})^ ^ h}}__0  }} \\ \\ \frac{Q}{b} =u_{max} (-\frac{-4}{h^2}\frac{h^3}{3} +\frac{4}{h}\frac{h^2}{y})^ ^ h}}__0  }} \\ \\ \frac{Q}{b} = u_{max}(\frac{-4h}{3}+\frac{4h}2} ) \\ \\ \frac{Q}{b} = u_{max}(\frac{-8h+12h}{6}) \\ \\ \frac{Q}{b} =u_{max}(\frac{4h}{6})

\frac{Q}{b} = u_{max}(\frac{2h}{3}) \\ \\ \frac{Q}{b} = \frac{2}{3} u_{max} h

Thus; the volume flow rate per unit depth is:

\frac{Q}{b} = \frac{2}{3} u_{max} h

Consider the discharge ;

Q = VA

where :

A = bh

Q = Vbh

\frac{Q}{b}= Vh

Also;  \frac{Q}{b} = \frac{2}{3} u_{max} h

Then;

\frac{2}{3} u_{max} h = Vh \\ \\ \frac{V}{u_{max}}=\frac{2}{3}

Thus; the ratio is : \frac{V}{u_{max}}=\frac{2}{3}

5 0
4 years ago
a horizontal jet of water (at 100c) that is 6 cm in diameter and has a velocity of 20 m/s is deflected by the vane as shown. if
Reptile [31]

The net resultant direct force and angle on the vane is created when the water jet exits the vane at position 2 with 92% of its initial velocity.

<h3>What is mean by velocity?</h3>
  • The speed at which a body or object is moving determines its direction of motion. A scalar quantity, speed is primarily. As a matter of fact, velocity is a vector quantity.
  • The rate at which distance changes is what it is. It measures the displacement's rate of change. A body's velocity is defined as its speed in a particular direction.
  • Velocity is a measure of how quickly a distance changes in relation to time. Having both magnitude and direction, velocity is a vector quantity.
  • The rate of change in a body's displacement with respect to time is referred to as velocity. In the SI, m/s is its unit.

Given,

External angle of Curved Vane = 158°

mean velocity at 1 = 12 m/s

Volumetric flow rate = 55 \mathrm{~m}^3 / \mathrm{h}=\frac{55}{3600} \mathrm{~m}^3 / \mathrm{s}$.

mean velocity at $2=12 \times 0.92=11.04 \mathrm{~m} / \mathrm{s}$

i) Force exerted in x - friction A C 1 =  Volume

F_{S_x} &=\rho A C_1\left[C_2 \cos \theta-C_1\right] \\

&=1000 \times \frac{55}{3600}\left[\left(11.04 \cos 158^{\circ}\right)-12\right]

i\rangle F_{\text {sc }}=\supseteq A c_1\left[C_2 \sin \theta\right] \\

&=1000 \times \frac{55}{3600} \times \text { TI. 04 } \sin (1589 \\

&F_{\text {syn }}=63.18 \mathrm{~N} \\

&\text { Angle } \Rightarrow \frac{F_{s y}}{F_{3 x}}-\tan \theta \\

&\tan \theta=\frac{63.18}{339.18}, \theta=160-10-5.3 \\

&\theta=\tan ^{-}\left(\frac{-63 \cdot 18}{339728}\right) \\

&\theta=-10.540^{\circ} \\

The complete question is:

A horizontal jet of water strikes a curved vane as shown in Figure C.1. The external angle of the curved vane is 158°.The mean velocity and volumetric flow rate of the water jet at position 1 are 12 m/s and 55 m³/h respectively. Due to friction, the water jet leaves the vane at position 2 with 92 % its original velocity.

(i) Direct force exerted by the water jet on the vane in the x - direction.

(ii) Direct force exerted by the water jet on the vane in the y - direction.

(ii) Net resultant direct force and angle on the vane.

To learn more about velocity, refer to:

brainly.com/question/24681896

#SPJ4

4 0
2 years ago
A ball bearing has been selected with the bore size specified in the catalog as 35.000 mm to 35.020 mm. Specify appropriate mini
Verdich [7]

Answer:

A ball bearing has been selected with the bore size specified in the catalog as 35.000 mm to 35.020 mm. Specify.... ... has been selected with the bore size specified in the catalog as 35.000 mm to 35.020 mm. Specify appropriate minimum and maximum shaft diameters to provide a locational interference fit.

Explanation:

8 0
4 years ago
Other questions:
  • Consider a circular grill whose diameter is 0.3 m. The bottom of the grill is covered with hot coal bricks at 961 K, while the w
    10·1 answer
  • Define water hammer. Give four effects of water hammer.​
    12·1 answer
  • A gas contained within a piston-cylinder undergoes the follow change in states: Process 1: Constant volume from p1 = 1 bar V1 =
    9·1 answer
  • Programming Assignment 2 Decimal and IEEE-754 ConversionsObjective: To write a C program (not C++) that converts numbers between
    6·1 answer
  • Given the strings s1 and s2, not necessarily of the same length, create a new string consisting of alternating characters of s1
    5·1 answer
  • An adiabatic air compressor is to be powered by a direct coupled adiabatic steam turbine that is also driving a generator. Steam
    10·1 answer
  • The sports car has a weight of 4900 lblb and center of gravity at GG. If it starts from rest it causes the rear wheels to slip a
    13·1 answer
  • A barometer reads a height of 78 cmHg. Express this atmospheric pressure to:
    15·2 answers
  • In the engineering design and prototyping process, what is the advantage of drawings and symbols over written descriptions?
    13·1 answer
  • What should I do in life?
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!