Homework 10

General instructions

You may find it useful that all problems from the Sipser's Theory of Computation (2nd edition) can be found here.

Exercises 

Extra credit 

From Sipser, 2nd edition (page 297):