Skip to content

Commit

Permalink
Create quant.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagesh19 authored Jul 5, 2024
1 parent db74051 commit b1fb130
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions problem-of-the-day/day29/quant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Let v1 and v2 be two vectors of length 10. The elements of v1 are IID Bernoulli (1/2) random variables. The 10 elements of v2 are IID Bernoulli (3/4) random variables. Find the probability that v1•v2 is odd, where • is the dot product of two vectors.

Definition- Bernoulli random variable
X=Bernoulli(p) means
X=1 with probability p
X=0 with probability 1-p

IID: Independent and Identically distributed

0 comments on commit b1fb130

Please sign in to comment.