08 Aug We describe the functions f:X→Y and g:X→Y
Homework 8 1.
Let X be the set {1,2,3,4,5} and Y be the set {6,7,8,9,10}.We describe the functions f:X→Y and g:X→Y in the following tables. Answer each part and give a reason for each negative answer.
n | f(n) n | g(n)
1|6 1|10
2|7 2|9
3|6 3|8
4|7 4|7
5|6 5|6
a. Is f one-to-one?
b. Is f onto?
c. Is f a correspondence?
d. Is g one-to-one?
e. Is g onto?
f.I s g a correspondence?
2.Answer all parts for the following DFA M and give reasons for your answers.
1
1 0
0,1
a. Is(M,0100)E ADFA?
b.Is(M,011)E ADFA?
c.Is(M)E ADFA?
d. Is(M,0100)E AREx?
e.Is(M)E EDFA?
f.Is(M,M)E EQDFA 3.|
Let INFINITE DFA={(A)| A is a DFA and L(A) is an infinite language}.Show that INFINTTEDFA is decidable.
4.
Let A={(M)| M is a DFA that doesn’t accept any string containing an odd number of 1s}.Show that A is decidable.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.