Sponsored links: Algebra eBooks
 

Related

intersection-powerset-setdifference-solve-union

A:set(1,2,5,6);

B:set(2,5,6,7);

C:intersection(A,B);

Calculate

intersection

intersection({a, b, c...

Calculate

intersection-union

A:set(1,2,3,4,5,6,7,8);

B:set(2,4,6,8,10,12,1...

C:set(3,6,9,12,18);

Calculate

intersection

intersection({a, b, c...

Calculate

intersection-powerset-union

A:set(1,2,3);

B:set(3,4,5);

C:intersection(A,B);

Calculate

intersection

s_1 : {1,6,5,12,4,2};

s_2 : {1,2,3,7,10,13...

s_3 : {1,2,4,5,7,10,...

Calculate

intersection-union

A:set(1,2,3,4,5,6,7,8);

B:set(2,4,6,8,10,12,1...

C:set(3,6,9,12,18);

Calculate

intersection

s_1 : {3/8};

s_2 : {1/2};

s_3 : {1,2,4,5,7,10,...

Calculate

intersection-linsolve-setdifference-union

A:set(1,2,5,6);

B:set(2,5,6);

C:intersection(A,B);

Calculate

intersection

Run Example
(%i1)S_1 : {{}, {{}}, 1, 2, {1, 2}, {1}, {2}};
(%o1)                 {1, 2, {}, {1}, {1, 2}, {2}, {{}}}
(%i2)  S_2 : {1,{ 1, 2, 3}};
(%o2)                           {1, {1, 2, 3}}
(%i3)  intersection (S_1, S_2);
(%o3)                                 {1}
(%i4) 
Run Example
m1: set(a,b,c,d,e);
(%o1)                           {a, b, c, d, e}
(%i2) m2: set(a,f,g,h,i);
(%o2)                           {a, f, g, h, i}
(%i3) m3: set(a,c,e,g,i);
(%o3)                           {a, c, e, g, i}
(%i4) lsg:  intersection (m1, m2);
(%o4)                                 {a}
(%i5) ans1: set(a,b);
(%o5)                               {a, b}
(%i6) fehlt: setdifference(lsg, ans1);
(%o6)                                 {}
(%i7) zuviel: setdifference(lsg, ans1);
(%o7)                                 {}
(%i8) 
Run Example
cardinality (setdifference({1,2,4,7,9,10,12},{2,3,6,7,9,10}));
(%o1)                                  3
(%i2) cardinality (setdifference({2,3,6,7,9,10},{1,2,4,7,9,10,12}));
(%o2)                                  2
(%i3) cardinality (intersection({2,3,6,7,9,10},{1,2,4,7,9,10,12}));
(%o3)                                  4
(%i4) cardinality ({5,8,11});
(%o4)                                  3
(%i5) 

Related Help

Help for Intersection