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
AysviL [449]
3 years ago
10

AllElectronics carries 1000 products, P1, . . . , P1000. Consider customers Ada, Bob, and Cathy such that Ada and Bob purchase t

hree products in common, P1,P2, and P3. For the other 997 products, Ada and Bob independently purchase seven of them randomly. Cathy purchases 10 products, randomly selected from the 1000 products. In Euclidean distance, what is the probability that dist(Ada,Bob) > dist(Ada,Cathy)
Mathematics
1 answer:
____ [38]3 years ago
7 0

Answer:

The probability that dist(Ada,Bob)>(Ada,Cathy)  is very small as there is very large number of range to choose the product ==4.7*10^-9.

Step-by-step explanation:

Given:

Ada ,bob and cathy purchase electronics carries

Ada and bob commonly take 3 products and 7 independently.

And Cathy take 10  products on its own .

To Find:

probability that    dist(Ada,bob)>dis(Ada,Cathy)?

Solution:

Using Euclidean distance  is distance formula used in coordinate geometry simply known as Distance formula,

this problem is related to Euclidean Distance and Jaccard Similarity in Data mining.

1st calculate probability for x such that ,

3\leq x\leq 10   as there are 3 common products.

P(3\leq x\leq 10)

=\frac{7C(x-3)*990C(10-x)}{997C7}.............. where x=3,4,5....10. ..........(equation 1).

Now calculate for each term,we get

When

x=3,P(x=3)=0.95

x=4,P(x=4)=6.8*10^{-3}

x=5,P(x=5)=4.1*10^{-5}

x=6,P(x=6)=2.1*10^-7

x=7,P(x=7)=8.5*10^-10

x=8,P(x=8)=2.6*10^-12

x=9,P(x=9)=5.2*10^-15

x=10,P(x=10)=5.3*10^-18.

Now calculating the Euclidean distance,

It is distance between two points ,

So there are total of 2 points as Ada and bob

they have 3 products in common

and 7 independent products ,7  Ada and 7 bob

Total of 17 products .

1,2,3,4,5,6..........,16,17.

<em>Consider each product number as distance between them ,</em>

<em>(Suppose 5 product and 1 product distance will be 4) </em>

<em>Similarly,</em>

<em>Suppose Ada is at 3rd number at the  3 product (as they have 3 product same.)</em>

and bob  at product 17.

Hence when 3 products are similar distance between Ada and bob will be of 14.

Euclidean distance =\sqrt{14}.

Hence the Jaccard similarity =(Ada intersection Bob)/(Ada union bob)

=3/14

<em>When 4 products are same means both will selected 6 and 6 independent product so that  the each one will get 10 products i.e. starting condition should remain same .</em>

<em>Hence now  bob will be at 16th term as it will take one more same product in between them </em>

<em>So no of same products will be 4,</em>

Hence Ada will be at 4th term and bob will be at 16

So Euclidean distance =\sqrt{12}.

Similar For Next terms we can conclude as follows:

When

X=5 , dist(ada,bob)=\sqrt{10},

X=6,dist(Ada,Bob)=\sqrt{8}

X=7,dist(Ada,Bob)=\sqrt{6}

X=8,dist(Ada,Bob)=\sqrt{4}

X=9,dist(Ada,Bob)=\sqrt{2}

X=10,dist(Ada,Bob)=\sqrt{0}.

Now for( Ada and cathy)

Here X ranges different but use same concept as above

Each term analog to the distance between them

Suppose 1st and 3rd term distance will be 2

First calculate

P(1\leq x\leq 10) as Cathy selects 10 products with no common between them.

P(1\leq x\leq 10)

=\frac{10Cx*990C(10-x)}{1000C10}..................equation (2)

Calculate for each term As x=1,2,3...8,9,10.

Hence

P(X=1)=9.23*10^-3  P(X=5)=3*10^-11     P(X=9)=3.8*10^-21

P(X=2)=8.4*10^-5   P(X=6)=1.5*10^-13   P(X=10)=3.8*10^-21

P(X=3)=6.9*10^-7   P(X=7)=6.1*10^-16

P(X=4)=4.9*10^-9   P(X=8)=1.9*10^-18

<em>So Ada will have 10 products and Cathy will have 10 products</em>

Namely,

1,2,3,4,5.......18,19,20.

<em>So suppose 1 product is same between them will be ,</em>

<em>both will have 1 product so remaining will be 19 products.</em>

<em>Jaccard similarity =1/19 </em>

<em>Distance to reach 1 to 19th product will be 18</em>

<em>So Euclidean distance =</em>\sqrt{18}<em></em>

<em>For next when they will 2 products in same remaining will be 18 </em>

<em>Jaccard similarity =2/18</em>

<em>And Distance to reach  2 to 18 th product will be  16</em>

Euclidean distance =\sqrt{16}

Similar for  other

When

x=3 dist(Ada, Cathy)=\sqrt{14}

x=4 dist(Ada, Cathy)=\sqrt{12}

x=5  dist(Ada, Cathy)=\sqrt{10}

x=6  dist(Ada, Cathy)=\sqrt{8}

x=7  dist(Ada, Cathy)=\sqrt{6}

x=8  dist(Ada, Cathy)=\sqrt{4}

x=9  dist(Ada, Cathy)=\sqrt{2}

x=10  dist(Ada, Cathy)=\sqrt{0}

<em>This sqrt(0) means both are holding same products hence they are at same point on the graph so distance with itself will be zero.</em>

Now the Probability of distance of dist(Ada,Bob)>dist(Ada,cathy) will be

=multiplying both the probabilities equations (Adding each term probabilities and multiplying )

=Equation(1) *Equation( 2).

=Summation Of P(3≤x≤10)*summation of P(1≤x≤10)

=4.7*10^-9.

In larger number of product event of in large space ,it is difficult( less likely)  that they will chose same product .

You might be interested in
N circle C, r = 32 units. What is the area of circle C?
charle [14.2K]
The answer is:  " 1024π units² " ; or;  " 3215.36 units² " .
______________________________________________________
A = π * r²  ;

A = π * 32² = 1024 π units² ;

 or, using "3.14" for "π" ;

1024 * π = 1024 * (3.14) = 3215.36 units² .
_______________________________________________
8 0
2 years ago
What the square root of 4
Aliun [14]

Answer:

2

Step-by-step explanation:

2x2=4

3 0
3 years ago
Read 2 more answers
Item 6 for what value of a is 8x−8+3ax=5ax−2a an identity?
Readme [11.4K]

Let's rewrite the expression as

8x+3ax-5ax = 8-2a \iff 8x - 2ax = 8-2a \iff 2x(4-a) = 2(4-a)

So, if a \neq 4, you may divide both sides by 4-a, the equation becomes 2x=2, and the only solution is x=1, which means that this is not an identity (an indentity is tautologically true, no matter the value of x).

If instead a = 4, you are multiplying both sides by zero, so the equation becomes

2x \cdot 0 = 2 \cdot 0 \iff 0=0

So, it doesn't matter which value for x you choose, because you will always end up with 0=0, which is obviously always true.

8 0
3 years ago
Matt gets paid at home for doing extra chores. Last week, he did 6 loads of laundry and 1
emmasim [6.3K]

Matt earns $4 and $3 for 1 load of laundry and 1 load of dishes respectively

<u>Solution:</u>

Given, Matt gets paid at home for doing extra chores.

We have to find How much does Matt earn for completing each type of chore?

Let the amount for 1 load of laundry be m and amount for 1 load of dish be n.

Now, last week, he did 6 loads of laundry and 1 load of dishes, and his parents paid him $27.

Then, 6 \times amount for 1 load of laundry + 1 \times amount for 1 load of dish = 27

\rightarrow 6 \mathrm{m}+\mathrm{n}=27 \rightarrow(1)

The week before, he finished 1 load of laundry and 9 loads of dishes, earning a total of $31

Then, 1 \times amount for 1 load of laundry + 9 \times amount for 1 load of laundry = 31  ⇒m + 9n = 31 ⇒ (2)

Now let us solve equations (1) and (2)

0 – 53n = - 159

-53n  = -159  

53n = 159

n = 3

Now, substitute n value in (1) ⇒ 6m + 3 = 27 ⇒ 6m = 24 ⇒ m = 4

Hence, matt earns $4 and $3 for 1 load of laundry and 1 load of dishes respectively.

8 0
3 years ago
Find the distance between a and b​
Jet001 [13]

Answer:

7.74596669241 (maybe)

Step-by-step explanation:

I havent really done this in a while but I started by making the line into a right triangle and counted how many boxes were inside(6 on the bottom 4 on the side). Then I used the Pythagorean theorem (which is the process of taking the sides and making them squares) < To simplify that explanation (I squared the sides(6 and 4).) so now we are left with 6² + 4² = x². next what you do is simplify your terms. (6² = 36, 4² = 24. 36 + 24 = 60) We have 60 = x² but we aren't don't yet, now we have to remove the square from x. and to do that we have to square root 60 and x² ( squared numbers being square rooted just leaves the regular number.) when square rooting 60 you are left with 7.8≈.

I hope this helps you, like i said its been a while since ive done this.

3 0
2 years ago
Other questions:
  • A car costs £9000. Its value depreciates at 15% per year. Find the value of the car after 1 year.
    5·1 answer
  • Toby's Tiny Toys have fixed expenses of $53,900 for the production of their tiny toys. Toby's has a variable expense of $12.50 a
    14·1 answer
  • What is 2 3/8 * 1/3. Estimate the product
    10·1 answer
  • Write 3 fractions that can be written s percents between 50% and 75%
    13·2 answers
  • I Need Help Please with this problem
    13·1 answer
  • Shakira is baking cookies to put in packages for a funraiser. Shakira has made 86 chocolate chip cookies and 42 sugar cookies. S
    15·1 answer
  • A rancher’s herd of 250 sheep grazes over a 40-acre pasture. He would like to find out how many sheep are grazing on each acre o
    9·2 answers
  • At an ice cream shop, 4 of the last 10 cones sold had cookies and cream ice cream. Considering this data, how many of the next 1
    6·2 answers
  • Gabe saves 40% of his monthly paycheck for college. He earned $320 last month. How much money did he save for college?
    12·2 answers
  • The length of the rectangle is 5/6 of inches and the width of the rectangle is 2/15 of inches. What is the area of the rectangle
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!