2078 12

CSC165 ยท 2078 ยท 5 marks

Represent any three set operations using Venn-diagram. Give a recursive defined function to find the factorial of any given positive integer.

Represent any three set operations using Venn-diagram. Give a recursive defined function to find the factorial of any given positive integer. [5]

Discrete StructuresChapter 1: Basic Discrete StructuresVenn Diagram

--- The union of sets A and B contains all elements that belong to A or B (or both). A โˆช B = { x x โˆˆ A or x โˆˆ B } The entire shaded area of both circles represents A โˆช B. --- The intersection of sets A and B contains only the elements common to both A and B. A โˆฉ B = { x x โˆˆ A and x โˆˆ B } Only the...