Write the transition function for a single Tape TM which simulates the following double tape TM. Sigma={A,B,X,Y}, Tau={A,B,X,Y,_,#}, delta={<q0, [A,_], q0, [A,_], [R,S]>, <q0, [B,_], q0, [B,1], [R,R]>}. This TM counts the number of Bs on the input tape and writes that number in unary on the storage tape. Assume that X is A with a dot on top of it and Y is B with a dot on top of it. Please follow the prescribed algorithm of first sweeping to the right and then back left.
Feel free to work on this assignment in pairs. This assignment is due by Monday, Dec. 5th, 8am. For part (1) You need to submit a .txt file that we can paste into the TM simulator applet.