Theory of Computation20805 marksNumerical: Turing machine constant functionTuring Machine as a Computing Function
Design a Turing machine that computes a function f(n)=0.
Design a Turing machine that computes a function f(n)=0. [5]
- Function to compute: $f(n) = 0$ for all $n \in \mathbb{N}$. - Input encoding (standard unary): a natural number $n$ is written as $n$ ones, i.e. tape holds $B,1^n,B$. - Output encoding: result $0$ is represented by $0$ ones, i.e. a blank tape. - Computability criterion (from standard definiti...