7. Sociologists can get three possible answers to a typical survey question such as "Do you believe in the tooth fairy?" - namely, yes, no and no opinion. With this in mind, the Sociomagnetic Computer Company has decided to build a computer to process survey data. This computer has a trinary memory - that is, each byte (tryte?)consists of 8 trits, with a trit holding a 0, 1, or 2. How many trits are needed to hold a 6-bit number? Give an expression for the number of trits needed to hold n bits.

Respuesta :

Answer:

1. n ≥ 4

2. N ≥ nlog(2)÷log3

Step-by-step explanation:

1

1 byte = 8 bits

each byte = 8 trits

a 6 bit number = [tex]2^{6} = 64[/tex]

3n ≥ 64

divide through by3

n ≥ 64/3

we take the logarithm

n ≥ [tex]\frac{log64}{log3}[/tex]

n ≥ 1.8062 ÷ 0.4771

n≥3.785

when approximated, n ≥ 4. So the number of trits needed in the storage of 6 bit is atleast 4

2.

to hold n bits, we can do something similar.

3N ≥ 2n

we take log of both sides

such that;

N ≥ [tex]\frac{nlog(2)}{log(3)}[/tex]