Menu

9 5 Points Discussed Class Given Finite Set S Size N Ordering 81 82 N N Elements S Repres Q43895537

help me solve this
9. (5 points) As discussed in class, given a finite set S of size n and an ordering 81,82,...,n of the n elements in S, we ca9. (5 points) As discussed in class, given a finite set S of size n and an ordering 81,82,…,n of the n elements in S, we can represent the subsets of S using bit vectors of length n ({0,1}”). For a subset ACS, the corresponding bit vector b(A) = (b1,b2, …,br) where b; = 1 if s; e A and bi = 0 if się A. Let S be the elements from the four sets in Problem 1 ordered as -13, -6, 1, 4, 87, 0, 4, (a) Give the bit vector corresponding to the subset (1,87,0,1}. (b) Give the bit vector corresponding to the subset (-13, 1,87, A}. (c) Give the bit vector corresponding to the subset (1,4, -6,0}. (d) Give the bit vector corresponding to the subset 0. (e) Give the bit vector corresponding to S. Show transcribed image text 9. (5 points) As discussed in class, given a finite set S of size n and an ordering 81,82,…,n of the n elements in S, we can represent the subsets of S using bit vectors of length n ({0,1}”). For a subset ACS, the corresponding bit vector b(A) = (b1,b2, …,br) where b; = 1 if s; e A and bi = 0 if się A. Let S be the elements from the four sets in Problem 1 ordered as -13, -6, 1, 4, 87, 0, 4, (a) Give the bit vector corresponding to the subset (1,87,0,1}. (b) Give the bit vector corresponding to the subset (-13, 1,87, A}. (c) Give the bit vector corresponding to the subset (1,4, -6,0}. (d) Give the bit vector corresponding to the subset 0. (e) Give the bit vector corresponding to S.

Expert Answer


Answer to 9. (5 points) As discussed in class, given a finite set S of size n and an ordering 81,82,…,n of the n elements in S, …

OR