Question: 1. (10 pts) Consider a relation R from a set X = {1, . .., m} to a set Y = {1, ..., n} in

1. (10 pts) Consider a relation R from a set X = {1, . .., m} to a set Y = {1, ..., n} in which related elements are represented in a matrix A by Ajj = 1 if (i, j) E R and Ajj = 0 if i and j are not related. Write an algorithm to determine if R is a function from X to Y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
