[SOLVED] COMP4200 Homework 2

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon HW2-6ozqhr.zip (158.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)

2.

– 𝐴 & 𝐡 are both regular languages, so according to the theorem that regular languages are closed under complement proves that 𝐴̅ & 𝐡̅ are also regular languages.
– Under the theorem that regular languages are closed under intersection and union, we know that equations like 𝐴 ∩ 𝐡 = ̅𝐴̅̅̅βˆͺ̅̅̅𝐡̅̅ are regular.
– 𝐴 βˆ’ 𝐡 can be written as 𝐴 ∩ 𝐡̅
– As said earlier, under the theorem that regular languages are closed under complement 𝐴 & 𝐡̅ are regular.
– Finally since 𝐴 ∩ 𝐡̅ is a regular language, 𝐴 βˆ’ 𝐡 is also a regular language.

  • HW2-6ozqhr.zip