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
The times for five sprinters in a 50 meter dash were 6.72 seconds 6.4 seconds 6.08 and 7.03 seconds in 6.75 seconds right these
andreev551 [17]

Answer:

Fastest to slowest = 6.08 > 6.4 > 6.72 > 6.75 > 7.03

Step-by-step explanation:

The person who completes the 50-meter race within the shortest possible time is the fastest sprinter. Here, the third sprinter crossed the line in 6.08 seconds, whereas the 4th sprinter crossed the line in 7.03 seconds. That is why the third sprinter has won the race, and he becomes the fastest. On the contrary, the fourth person takes the most time to complete the race, meaning he is the slowest.

6 0
3 years ago
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B%3F%7D%7B%3F%7D%207" id="TexFormula1" title=" \frac{?}{?} 7" alt=" \frac{?}{?} 7"
belka [17]
Hi, I'd be glad to help you with this equation. 

The answer is (33/43) 

Hope this helps. 
Have a great day!
3 0
3 years ago
Given the diagram below what is tan 60?
Contact [7]

Answer:

A) √3

Step-by-step explanation:

The tangent of an angle can be found by dividing the leg opposite the angle over the leg adjacent to it.

So, we have to find them.

The 30-60-90 rule says that in a right triangle with the angles 30°, 60° and 90°, the sides opposite those angles will have the ratio of 1:√3:2.

That means the side adjacent to 60° is 2 units long and the one opposite is 2√3 units long.

Dividing those two gives us (2√3)/2, which can be simplified to √3.

3 0
4 years ago
Read 2 more answers
What is the sum of entries a32 and b32 in A and B? (matrices)
Katyanochek1 [597]

Answer:

The correct answer is option D.  13

Step-by-step explanation:

From the figure we can see two matrices A and B

<u>To find the sum of a₃₂ and b₃₂</u>

From the given attached figure we get

a₃₂ means that the third row second column element in the matrix A

b₃₂ means that the third row second column element in the matrix B

a₃₂ = 4 and b₃₂ = 9

a₃₂ + b₃₂ = 4 + 9

 = 13

The correct answer is option D.  13

4 0
3 years ago
Read 2 more answers
What is 2x+4 if x is equal to 45
swat32
Hey there!


For this problem you need to replace x with 45

So the new problem is 2(45)+4

2 x 45 = 90
then 90+4 = 94

Your answer is 94

Hope I was able to help!
8 0
3 years ago
Read 2 more answers
Other questions:
  • Help me with this one plz
    5·1 answer
  • The area of a sector of a circle is given by the equation , 3.142S/360 where r is the radius of the circle and S is the angle me
    5·2 answers
  • What does y and z equal. I already got x
    15·1 answer
  • Write the standard form of this equation<br><br> 2x +8+7/2y =0
    7·1 answer
  • Convert the speed of light (3.0 x 10^8m/s) from meters per second (m/s) to nanometers per picosecond (nm/ps)
    8·1 answer
  • Monica and her parents spend $170 on new swimsuits Monica swimsuit cost $35 her mom swimsuit cost twice as much as Monica's how
    9·2 answers
  • Www-k6.thinkcentral.com/wwtb/api/viewer.pl
    6·1 answer
  • Austin deposits S800 into an account that pays simple interest at a rate of 4% per year. How much interest will he be paid in th
    9·1 answer
  • A sweater normally cost $35 there is a 25% discount what is sale price of the sweater? Include the $
    14·1 answer
  • SOMEBODY PLEASE HELP ME!!
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!