mathgenerator icon indicating copy to clipboard operation
mathgenerator copied to clipboard

Principle of Inclusion and Exclusion problems

Open Swayam221 opened this issue 4 years ago • 0 comments

the problem would generate a sample space of 3 sets and assign random no. of elements to each set and their intersections. problem will be to calculate the no. of elements in their union. example problem : Suppose you are using the inclusion-exclusion principle to compute the number of elements in the union of 3 sets. Each set has 14 elements. The pair-wise intersections have 9 elements each. There are 3 elements in the intersection of all four sets What is the size of the union? answer: (3x14)-(3x9)+3=18

i would like to add the function for this problem. please assign it to me

Swayam221 avatar Oct 17 '20 19:10 Swayam221