2 votes 2 votes Design Turing machines to compute the following functions for $x$ and $y$ positive integers represented in unary $f(x) =\frac{x}{2},$ if $x$ is even, $ = \frac{x+1}{2},$ if $x$ is odd. Theory of Computation peter-linz peter-linz-edition5 theory-of-computation turing-machine + – Rishi yadav asked Apr 6, 2019 Rishi yadav 879 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.