0
8.8kviews
Design a Turing Machine to find the value of log 2n, where n is a unary number.
1 Answer
written 7.8 years ago by |
We first intend to take the input in the form of binary numbers, since in finite automata, we deal with sequences rather than the number as a whole.
For 2, we use 10 Therefore, $log_2 2=1$, which is represented as 01
For 4, we use 100 Therefore, $log_24=2$, which is …