Question
Hi I need help understanding this question. Suppose there is a set of growers G = {a, b, c, d}, a set of retailers R
Hi
I need help understanding this question.
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 xC, respectively, defined by: aAe, bAg, cAf, dAe, dAg, and eBn, eBr, fBm, fBq, gBp xAy means "grower x sold goods to retailer y", and yA1x means "retailer y bought goods from grower x" xBy means "retailer x sold goods to customer y", and yB1x means "customer y bought goods from retailer x" (i) Find the matrices M(A) and M(B) that represent the relations A and B. (ii) Find the matrices M(A)T and M(B)T that represent the relations A1 and B1 (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)T M(A)T, and finally M(B)T M(A)T M(A) M(B), and hence answer the query.
Regards
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started