Discrete Mathematical Structures
Discrete Mathematical Structures Draw a Turing machine that takes a string representing two unary numbers, x...
Let x and y be positive integers, x > 0, y > 0, represented in unary. Assume that x < y. Design a Turing Machine that computes the function: f(x, y) = y - x. More specifically, q0w(x)0w(y) | * qf w(y-x)0 Draw the transition graph of the TM. Make sure you clearly indicate initial/final states. Do not draw the block diagram! Here is an example: x = 2, y = 5 q-0 11011111| * qf 1110 Upload a file...