Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Describe two different Turing machines, M and N, where M outputs <N> and N outputs when started on any input.

Short Answer

Expert verified

Answer:

Two Turing Machine M and N are constructed.

Step by step solution

01

Turing Machine

A Turing Machine is computational model concept that runs on the unrestricted grammar of Type-zero. It accepts recursive enumerable language. It comprises of an infinite tape length where read and write operation can be perform accordingly.

02

Constructing Turing Machine

Construct a Turing Machine as following:

M=oninput<W>

Obtain <M> using recursion theorem

Compute q<M>and the output will be write on the tape.

Make Turing Machine Halt

So we designed the Turing Machine M as above step.

Now let us assume N = q<M>

We construct Turing Machine N as follows:

N=on input<W>

Obtain <N> using recursion theorem

Compute <q<M>>= <N>

Now N will write <M> to the tape

The last line shows that construction of M and N are correct in such a way that, ‘TM M will produce <N> and TM N produce <M> for any input’.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free