Solution to Let A = {l, m, m, m, n, n, n, p, p, p} and B … - Sikademy
Author Image

Archangel Macsika

Let A = {l, m, m, m, n, n, n, p, p, p} and B = {l, l, m, n, n, n, p, r, r}, find the operations of the following multisets: A. A + B B. A - B C. A U B D. A ∩ B

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question

A. The sum of two multisets A and B, is a multiset such that the multiplicity of an element is equal to the sum of the multiplicity of an element in A and B


A+B

=\{l,l,l,m,m,m,m,n,n,n,n,n,n,p,p,p,p,r,r\}

B. The difference of two multisets A and B, is a multiset such that the multiplicity of an element is equal to the multiplicity of the element in A minus the multiplicity of the element in B if the difference is positive, and is equal to 0 if the difference is 0 or negative


A-B

=\{m,m,p,p\}

C. The Union of two multisets A and B is a multiset such that the multiplicity of an element is equal to the maximum of the multiplicity of an element in A and B


A\cup B

=\{l,l,m,m,m,n,n,n,p,p,p,r,r\}

D. The intersection of two multisets A and B, is a multiset such that the multiplicity of an element is equal to the minimum of the multiplicity of an element in A and B



A\cap B

=\{l,m,n,n,n,p\}

Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-5-stid-8-sqid-919-qpid-774