Anyone understand turing machines? i'm supposed to make one that does the following and I don't even know where to start
no clue on what you need to do exactly but
count variable xyz
read first letter
x if read letter is X x=x+1
y
z
if x<y and <z
then 1
else 0
move one step loop
>>8387680
mark a X, then mark a Y
see if there are Y's left over
reset Y's
mark a Y, then mark a Z
see if there are Z's left over
delete everything and write the answer.
This is the format for a machine made to follow these guidelines "Create a new machine that will move to the right until it finds three x's in a row. It should halt on the location of the first x when it finds a group of three consecutive x's."
read
If Letter = [X, Y, Z]
Then
do until letter =/=[X, Y, Z]
read
if X x=x+1
if Y y=y+1
if Z z=z+1
move 1
halt
end
if x<y and y<z
then 1
else 0
else 0
>>8387884
Here you go.
Fuck wrong image...
>>8387941
What's that turing machine language?
>>8388050
Mathematica/Wolfram Language.
Final solution