Question: Generate a set of ten (10) uniquely random integer numbers between 11 and 39 into sel X and a set of ten (10) uniquely random

Generate a set of ten (10) uniquely random integer numbers between 11 and 39 into sel X and a set of ten (10) uniquely random integer numbers between 21 and 49 into set Y. Let R be a relation on a set X and Y i.e. R is the Cartesian product XY Randomly generate a subset R1 from R with five elements (x,y) Determine: a. Whether the relation R1 is reflective, symmetric, antisymmetric, transitive or not b. Dom(R1)={xX(x,y)R1 for some yY} c. Rng(R1)={yY(x,y)R1 for some xX} Generate at least three (3) different outputs. Since we are dealing with randomness, the outputs you present should include at least one of the properties of relations for each of the outputs. Explain your results and your reasoning. All programs should be properly documented with comments. Include your source code in a separate file. Show vour program outputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
