I am working on a project for Turning Machine, but have problems with conceptualizing steps.
f(x) = x^3, where x is a single digit between 0 - 9 inclusive.
Based on my understanding, I have to convert the number to binary, but how to find the cube of the number in binary format.
Also, how to write a cube on a tape.
So far, I think I should create a state diagram that accepts binary versions 0-9, but what next?
source
share