Solved

Generating Random Bits with RAND() and Conditional Formulas Y2i\mathrm { Y } 2 _ { \mathrm { i } }

Question 5

Essay

Generating random bits with RAND() and conditional formulas.
a.What is the formula that generates random number
Y2i\mathrm { Y } 2 _ { \mathrm { i } } in A3 that is uniformly
distributed over [0,2)?
b.What is the conditional formula in C3 that generates random bit bi from the value in
B3?
c.What is the non-conditional formula in D3 that generates random bit
bib _ { i } ^ { \prime } from the value
in B3?
ABCD1iY2ibibi201.06002211310.5067500421.24273411531.91335411\begin{array} { | c | c | c | c | c | } \hline & \mathrm { A } & \mathrm { B } & \mathrm { C } & \mathrm { D } \\\hline 1 & \mathrm { i } & \mathrm { Y } 2 _ { \mathrm { i } } & \mathbf { b } _ { \mathrm { i } } & \mathbf { b } _ { \mathrm { i } } ^ { \prime } \\\hline 2 & 0 & 1.060022 & 1 & 1 \\\hline 3 & 1 & 0.50675 & 0 & 0 \\\hline 4 & 2 & 1.242734 & 1 & 1 \\\hline 5 & 3 & 1.913354 & 1 & 1 \\\hline\end{array}

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents