You can load this session from /home/ceng303/maple/sessions as: ch3_1.mw
Session 3.1 Sets and Lists in Maple
> restart;
> uos:={x,y,x};
Note that the elements have to be distinct
> uos[1];uos[2];uos[3]; We can extract elements from the unodered set, but the duplicates are not included.
Error, invalid subscript
selector
> {{a,b},a,{b,b}}; an unordered set can be used as part of an unordered set.
> os:=[1,1,3,5];
> os[2];os[4];
> {[1,2,3],4};
> os2:=[{a,b},c,{d,d,d}];
> os2[3];
> a1:=[[1,2],[3,4],[5,6]];
> a1[2];
> a1[3][2];
>