(a) Let V = {1,2,3,4,5,6,7} and let E = {(1,7), (2.1). (4.1), (6,5), (6,6)} be a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(a) Let V = {1,2,3,4,5,6,7} and let E = {(1,7), (2.1). (4.1), (6,5), (6,6)} be a binary relation on V. Find the equivalence closure of this relation and state the equivalence classes. (It may help to draw a diagram.) [4 marks] (b) The coefficients of the following system are taken from GF (2). Solve it using Gaus- sian elimination. X₁ + x₂ + x4 = 0 X₁ + x3 + x4 =1 X2 + X5 = 0 X1 + x2 + x3 + X5 = 0 X₁ + X3 = 0 [5 marks] (c) Let S be the smallest subset of {a,b}* such that all of the following conditions are satisfied: • EES. • If w€ S, then aabw € S. • If w€ S, then any anagram of w is also in S. (An anagram of w is a string that arises from w by a permutation of the letters.) (i) Show that aabababaa is in S. [2 marks] (ii) Argue that ababab is not in S by giving a property and proving that all elements of 5 satisfy this property. [5 marks] (d) Consider the following Java methods. Do they represent functions? If yes, are they injective, surjective, or bijective? Justify your answers. int doubleInt(int number) { return number * 2; } float addOneToFloat (float number) { return number + 1.0; } [4 marks] (a) Let V = {1,2,3,4,5,6,7} and let E = {(1,7), (2.1). (4.1), (6,5), (6,6)} be a binary relation on V. Find the equivalence closure of this relation and state the equivalence classes. (It may help to draw a diagram.) [4 marks] (b) The coefficients of the following system are taken from GF (2). Solve it using Gaus- sian elimination. X₁ + x₂ + x4 = 0 X₁ + x3 + x4 =1 X2 + X5 = 0 X1 + x2 + x3 + X5 = 0 X₁ + X3 = 0 [5 marks] (c) Let S be the smallest subset of {a,b}* such that all of the following conditions are satisfied: • EES. • If w€ S, then aabw € S. • If w€ S, then any anagram of w is also in S. (An anagram of w is a string that arises from w by a permutation of the letters.) (i) Show that aabababaa is in S. [2 marks] (ii) Argue that ababab is not in S by giving a property and proving that all elements of 5 satisfy this property. [5 marks] (d) Consider the following Java methods. Do they represent functions? If yes, are they injective, surjective, or bijective? Justify your answers. int doubleInt(int number) { return number * 2; } float addOneToFloat (float number) { return number + 1.0; } [4 marks]
Expert Answer:
Answer rating: 100% (QA)
a Equivalence Closure and Equivalence Classes Final Answer Equivalence Closure 17 2 1 4 1 6 5 6 6 1 ... View the full answer
Related Book For
Discrete Mathematics and Its Applications
ISBN: 978-0073383095
7th edition
Authors: Kenneth H. Rosen
Posted Date:
Students also viewed these programming questions
-
Data for these 23 stores is shown in Table 1 below: Store No Prior Year's Sales Current Year's Sales Current Year's Inv Square ft Avg. Number Sells Lottery Full Time Employees 1 781,793...
-
TIM produces and sells two products, the MK and the KL. The organisation expects to sell 2 MK for every 2 KLs and have monthly sales revenue of GHe150,000. The MK has a C/S ratio of 20% whereas the...
-
Coulson Company is in the process of refinancing some long-term debt. Its fiscal year ends on December 31, 2011, and its financial statements will be issued on March 15, 2012. Under current U.S....
-
Juicy Beauty manufactures and sells a face cream to small specialty stores in the greater Los Angeles area. It presents the monthly operating income statement shown here to George Lopez, a potential...
-
When potassium iodide, KI, dissolves in water, why does the oxygen atom of the water molecule attack the potassium ion, K + ?
-
A 3/2 solenoid valve is needed for a SIF final element. A CV rating of 0.1 is required. The lowest dangerous failure rate is desired. Which type of solenoid valve is the best choice?
-
Misty Higgin, manager of the Hass Music Hall, is considering the opportunity to expand the companys concession revenues. Specifically, she is considering whether to install a popcorn machine. Based...
-
Give a summary of concepts and the applications for the following quistion: When a 200.0-g mass is attached to a spring, it stretches the spring by 7.50 cm. With that mass-spring system in...
-
a. Use the CAPM to compute the required rate of return on common equity capital for Starbucks. b. Using your projected financial statements from Case 10.1 for Starbucks, begin with projected net cash...
-
Which is true of the null model in a regression analysis? It is only accepted when the p value is less than 0.05 It assumes that the slope of the line is zero (0) It is calculated by the change in...
-
What account relationship is exemplified by the title Frank Burns d/b/a Frank's Hardware? a. corporation b. partnership c. sole proprietorship d. fiduciary
-
what are some primary mistakes that Jolene made and how to avoid the mistakes in your own proposal. Jolene is a junior engineer at The Acme Electric Company. When not working on the projects assigned...
-
The circuit shown in the figure below is part of an audio signal receiver device. The portion of this circuit that is enclosed in the red box is a frequency selective circuit that passes or reject...
-
Maria is a homosexual. She works in the auto shop department of Hondota. Her supervisor is constantly telling her that she should wear makeup and act more feminine. She is ultimately fired for not...
-
Give your opinion about the importance of adopting ethical practices and behaviour in business?
-
For the economic decision purpose A) the costs in all six business functions should be included. B) costs for only one function is included. C) period costs are not allocated. D) costing is only...
-
I frequently use NY Times and CNN and am aware of Fox News but I never use it. I visit these sites, NY Times and CNN, a few times a week whenever I have to research something or see something on...
-
Suppose that a weapons inspector must inspect each of five different sites twice, visiting one site per day. The inspector is free to select the order in which to visit these sites, but cannot visit...
-
How many bytes are required to encode n bits of data where n equals? a) 7? b) 17? c) 1001? d) 28,800?
-
Construct a circuit for a full subtractor using AND gates, OR gates, and inverters. A full subtractor has two bits and a borrowas input, and produces as output a difference bit and a borrow.
-
Create a complete stable pattern by using the tips and heuristics provided in this chapter.
-
Develop the following systems using the fairness pattern: 1. Tax fairness: A tax platform based on an ideal that aims to create a system of taxation that is fair, clear, and equivalent for all...
-
BOs make this pattern stable and extendible. Do you agree?
Study smarter with the SolutionInn App