From b1fb130d6483a37b7fa4cc0d16f3cd5eb3effc74 Mon Sep 17 00:00:00 2001 From: Vagesh Mahajan <153351069+Vagesh19@users.noreply.github.com> Date: Sat, 6 Jul 2024 01:40:26 +0530 Subject: [PATCH] Create quant.md --- problem-of-the-day/day29/quant.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 problem-of-the-day/day29/quant.md diff --git a/problem-of-the-day/day29/quant.md b/problem-of-the-day/day29/quant.md new file mode 100644 index 0000000..65abcac --- /dev/null +++ b/problem-of-the-day/day29/quant.md @@ -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