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
wolverine [178]
2 years ago
12

Suppose we store a relation R (x,y) in a grid file. Both attributes have a range of values from 0 to 1000. The partitions of thi

s grid file happen to be uniformly spaced; for x there are partitions every 20 units, at 20, 40, 60, and so on, while for y the partitions are every 50 units, at 50, 100, 150, and so on.
Required:
a. How many buckets do we have to examine to answer the range query?
b. We wish to perform a nearest-neighbor query for the point (110, 205). We begin by searching the bucket with lower-left corner at (100, 200) and upper-right corner at (120, 250), and we find that the closest point in this bucket is (115, 220). What other buckets must be searched to verify that this point is the closest?
Engineering
1 answer:
leva [86]2 years ago
3 0

Answer:

For (a) The total number of buckets from the given query for the relation is 25 buckets (b) the nearest neighboring query is (80, 200) (80, 150), (100, 150), (120,150) and (120, 200)

Explanation:

From the question stated, we need to define what a Grid file is

Grid File it is a structure of data that are used to divide the total space into a grid non-periodic, where set of point (small) are defined by more than one cells of the grid.

(a)Finding buckets for the query

The relation is divided into two parts which ranges from 0 to 1000, the first part is partitioned in every 20 units, at 20, 40, 60 etc; a second part is partitioned into every 50 units at 50, 100, 150 etc.

The total number of buckets from the given query for the relation is 25 buckets

(b)Finding the closest point or nearest point

The closest point discovered in the distance is little above 15

These points are are the points closer to the point target (110, 205) which can be found in five neighboring rectangles with left corners lower is stated as follows:

(80, 200) (80, 150), (100, 150), (120,150) and (120, 200)

You might be interested in
What is the linear distance traveled in one revolution of a 36-inch wheel
Afina-wow [57]

Answer:

  36π inches ≈ 113.0973 inches

Explanation:

The circumference of the wheel is pi times its diameter.

  C = πd

  C = π(36 in) = 36π in ≈ 113.0973 in

The distance around the wheel is 36π inches, about 113.0973 inches.

7 0
2 years ago
A platinum resistance temperature sensor has a resistance of 120 Ω at 0℃ and forms one arm of a Wheatstone bridge. At this tempe
oksian1 [2.3K]

Answer : 9.36ohms/ temperature

Explanation:

Expression for the variation of resistance of platinum with temperature

Rt= Ro(1+*t)

Rt= resistance @ t°C

Ro= resistance @ 0°C

*= temperature coefficient of resistance

Calculate the change in resistance by putting 120ohms for Ro,

0.0039/K for *

20°C for t

Using this formula:

Rt = Ro(1+*t)

Rt- Ro = Ro*t

= (120ohms)(0.0039/K)(20°C)

= 9.36ohms/K

8 0
2 years ago
The pump of a water distribution system is powered by a 6-kW electric motor whose efficiency is 95 percent. The water flow rate
Sonja [21]

Answer:

a) Mechanical efficiency (\varepsilon)=63.15%  b) Temperature rise= 0.028ºC

Explanation:

For the item a) you have to define the mechanical power introduced (Wmec) to the system and the power transferred to the water (Pw).

The power input (electric motor) is equal to the motor power multiplied by the efficiency. Thus, Wmec=0.95*6kW=5.7 kW.

Then, the power transferred (Pw) to the fluid is equal to the flow rate (Q) multiplied by the pressure jump \Delta P. So P_W = Q*\Delta P=0.018m^3/s * 200x10^3 Pa=3600W.

The efficiency is defined as the ratio between the output energy and the input energy. Then, the mechanical efficiency is \varepsilon=3.6kW/5.7kW=0.6315=63.15\%

For the b) item you have to consider that the inefficiency goes to the fluid as heat. So it is necessary to use the equation of the heat capacity but in a "flux" way. Calling <em>H</em> to the heat transfered to the fluid, the specif heat of the water and \rho the density of the water:

[tex]H=(5.7-3.6) kW=\rho*Q*c*\Delta T=1000kg/m^3*0.018m^3/s*4186J/(kg \ºC)*\Delta T[/tex]

Finally, the temperature rise is:

\Delta T=2100/75348 \ºC=0.028 \ºC

7 0
2 years ago
A steam power plant operates on the reheat Rankine cycle. Steam enters the highpressure turbine at 12.5 MPa and 550°C at a rate
gayaneshka [121]

Answer:

A) condenser pressure = 9.73 kPa,

B) 10242 kw

C) 36.9%

Explanation:

given data

entrance pressure of steam = 12.5 MPa

temperature of steam = 550⁰c

flow rate of steam = 7.7 kg/s

outer pressure = 2 MPa

reheated steam temperature = 450⁰c

isentropic efficiency of turbine( nt ) = 85% = 0.85

isentropic efficiency of pump = 90% = 0.90

From steam tables

at 12.5 MPa and 550⁰c ; h3 = 3476.5 kJ/kg,  S3 = 6.6317 kJ/kgK

also for an Isentropic expansion

S4s = S3 .

therefore when S4s = 6.6317 kJ/kg and P4 = 2 MPa

h4s = 2948.1 kJ/kg

nt = 0.85

nt (0.85) = \frac{h3-h4}{h3-h4s} = \frac{3476.5 - h4}{3476.5 - 2948.1}

making h4 subject of the equation

h4 = 3476.5 - 0.85 (3476.5 - 2948.1)

h4 = 3027.3 kj/kg

at P5 = 2 MPa and T5 = 450⁰c

h5 = 3358.2 kj/kg,  s5 = 7.2815 kj/kgk

at P6 , x6 = 0.95  and s5 = s6

using nt = 0.85 we can calculate for h6 and h6s

from the chart attached below we can see that

p6 = 9.73 kPa, h6 = 2463.3 kj/kg

B) the net power output

solution is attached below

c) thermal efficiency

thermal efficiency = 1 - \frac{qout}{qin} = 1 - ( 2273.7/ 3603.8) = 36.9% ≈ 37%

8 0
2 years ago
A steel rotating-beam test specimen has an ultimate strength Sut of 1600 MPa. Estimate the life (N) of the specimen if it is tes
ziro4ka [17]

Answer:

the life (N) of the specimen is 46400 cycles

Explanation:

given data

ultimate strength Su = 1600 MPa

stress amplitude σa = 900 MPa

to find out

life (N) of the specimen

solution

we first calculate the endurance limit of specimen Se i.e

Se = 0.5× Su   .............1

Se = 0.5 × 1600

Se = 800 Mpa

and we know

Se for steel is 700 Mpa for Su ≥ 1400 Mpa

so we take endurance limit Se is = 700 Mpa

and strength of friction f  = 0.77 for 232 ksi

because for Se 0.5 Su at 10^{6} cycle = (1600 × 0.145 ksi ) = 232

so here coefficient value (a) will be

a = \frac{(f*Su)^2}{Se}    

a = \frac{(0.77*1600)^2}{700}  

a = 2168.3 Mpa

so

coefficient value (b) will be

a = -\frac{1}{3}log\frac{(f*Su)}{Se}

b =  -\frac{1}{3}log\frac{(0.77*1600)}{700}

b = -0.0818

so no of cycle N is

N =  (\frac{ \sigma a}{a})^{1/b}

put here value

N =  (\frac{ 900}{2168.3})^{1/-0.0818}

N = 46400

the life (N) of the specimen is 46400 cycles

5 0
2 years ago
Other questions:
  • A gas metal arc welder is also known as a _____ welder.
    5·1 answer
  • As shown, a load of mass 10 kg is situated on a piston of diameter D1 = 140 mm. The piston rides on a reservoir of oil of depth
    9·1 answer
  • A 0.9% solution of NaCl is considered isotonic to mammalian cells. what molar concentration is this?
    10·1 answer
  • An excavation is at risk for cave-in and water accumulation because of the excess soil that has accumulated. What type of excava
    12·1 answer
  • Argon contained in a closed, rigid tank, initially at 33.7°C, 2.1 bar, and a volume of 4.2 m3, is heated to a final pressure of
    12·1 answer
  • A thin-walled tube with a diameter of 12 mm and length of 25 m is used to carry exhaust gas from a smoke stack to the laboratory
    7·1 answer
  • A glycerin pump is powered by a 5-kW electric motor. The pressure differential between the outlet and the inlet of the pump at f
    13·1 answer
  • Anytime scaffolds are assembled or __________, a competent person must oversee the operation.
    15·2 answers
  • Technician A says that weld-through primer can be removed from the immediate weld area to improve weld quality. Technician B say
    7·1 answer
  • Mr. Ray deposited $200,000 in the Old and Third National Bank. If the bank pays 8% interest, how much will he have in the accoun
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!