View the step-by-step solution to:


This question was created from ENS1161_A1_ECU_v25_1_2018.docx


pls give me the answer for this


Question 2
Suppose there is a set of growers G = {a, b, c, d}, a set of retailers R = {e, f, g} and a set of customers
C = {m, n, p, q, r}. There are two relations A and B on G x R and R x C, respectively, defined by:
aAe, bAg, cAf, dAe, dAg, and eBn, eBr, fBm, fBq, gBp
XAy means "grower x sold goods to retailer y", and
yA *x means "retailer y bought goods from grower x"
xBy means "retailer x sold goods to customery", and yB"
*x means "customer y bought goods from retailer x"
Find the matrices M(A) and M(B) that represent the relations A and B.
Find the matrices M(A) and M(B) that represent the relations A" and B"
(iii) Consider the query:
Which customers have received goods that came from
the same grower(s) as those goods received by customer p?
Find the logical matrix products M(A) M(B) and then M(B) ' M(A) , and finally
M(B)' M(A) M(A) M(B), and hence answer the query.
[ Hint: To see a similar exercise, look at the "Application" on page 13 of Lecture 5.]
[1 + 1 + 3 = 5 marks

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes