Open In App

Turing machine for multiplication

Prerequisite – Turing Machine
Problem: Draw a turing machine which multiply two numbers.

Example:



Steps:



Here, q0 shows the initial state and q1, q2, ….., q10, q11are the transition states and q12shows the final state.
And X, Y, 0, C are the variables used for multiplication and R, L shows right and left.

Article Tags :