can someone help me with this problem? thanks
Q) Prove that there is no algorithm that determines whether an arbitrary Turing machine halts when run with the input string 101.
Method 1) By contradiction
Call it A:
Machine M’.
any input so that M’ runs M on an empty tape:
This will decide the blank tape problem which is undecidable. Seeè
Method 2)
1) converts R(M) w to R(M’)101 where M’ has all of M’s transitions except that
2) there are extra transitions to replace 101 with w,
3) return the tape head to the beginning and to the start state of M, and 4) then run M see è
can someone help me with this problem? thanks Prove that there is no algorithm that determines whether an arbitrary Turing machine halts when run with the input string 101. Prove that there is n...
I'm not sure how to answer this problem. Can someone help me with this. thanks 5. Let M be the Turing machine BIBR 9 9 ala R a) Give a regular expression for L(M. b) Using the techniques from Theorem 10.1.3, give the rules of an unrestricted gram- mar G that accepts L(M. c) Trace the computation of M when run with input bab and give the corresponding derivation in G. 5. Let M be the Turing machine BIBR 9...
Can someone help me with this algorithmic question. Suppose BFS algorithm is run on the graph, where every edge length is 1, starting at node A: (a) Draw the procedure of BFS; (b) Show the final shortest-path tree.). 4 2 4
State whether the problem is decidable or undecidable. If you claim the problem is decidable, then give a high-level, English description of an algorithm to solve the problem. If you claim the problem is undecidable, then describe a proof-by-reduction to verify your claim. If your proof involves some kind of transformation of M into M’ , then provide a high-level, English description of your transformation. Be sure to specify precisely for each “box” in your proof, what are the inputs...
Hello I have an automata question could you help me? [1Points] Give a formal description of a Turing Machine M that takes two parameters: an integer and an array of integers and decides whether the given integer is an element of the array or not. You can assume that all the integers are between 0 and 9. The input string will be written on the tape of the Turing machine. The first square of the tape contains the integer, the...
Can anyone help me write a C function that goes through an input string and insert spaces(" ")infront and after "<",">","|"? For example: if my input string is: HELLO<WO|RLD>!, the output of the function will be a array like: HELLO < WO | RLD > ! Thanks!
Can someone help me with (i), the first diagram? 3.4. Run the strongly connected components algorithm on the following directed graphs G. When doing DFS on GR: whenever there is a choice of vertices to explore, always pick the one that is alphabetically first. S. Dasgupta, C.H. Papadimitriou, and UV. Vazirani 107 In each case answer the following questions. (a) In what order are the strongly connected components (SCCs) found? (b) Which are source SCCs and which are sink SCCs?...
It would be great if someone can help me with this physics problem I struggling with, Thanks!
SUBJECT:THEORY OF COMPUTATION CAN SOMEONE PLEASE HELP ME I HAVE POSTED IT REPEATEDLY AND I KEEP GEETING INCOMPLETE / INCORRECT ANSWER . I WILL GIVE YOU A HIGH REVIEW IF YOU HELP ME AND IT IS DONE PROPERLY ! Note: Please show/explain all cases clearly for the pumping lemma and describe how your Turing machine works for each state transition. Problem 1: Non-context-free languages and Tining Machine Models B5] context-free: 쉑: Use the pumping lemma for context-free languages to show...
Can someone please help me? Thanks! Problem 7 a. Calculate the number of C atoms in 0.751 mole of C. b. Calculate the number of SO2 molecules in 4.36 moles of SO2. c. Calculate the moles of Fe in 5.66x1022 atoms of Fe. d. Calculate the moles of C2H6O in 2.07x1024 molecules of C2H6O.
im not sure if run 1 is correct. can someone help me with run 2? thanks Name: Partner(s) Name Date: Part A: Molar Solubility and Ksp of Calcium Hydroxide Molarity of standardized HCl solution (mol/L): 0.050 44 RUN 1 RUN 2 Initial buret reading (mL) 0.00 0.00 Volume of HCl added at equivalence point (mL) 192 19.4 Volume of HCI added at equivalence point (L) og 10.194 10.875 mol 10-05) Moles of HCI added at equivalence point Moles of OH...