> From: Ronald Modesitt
>
> How do I formulate the following problem in Maxima?
>
> Determine if the two following sets are equal and of the same size?
>
> A:set(x^2=1)
>
> B:set(1,-1)
(%i1) solve(x^2=1,x);
(%o1) [x=-1,x=1]
(%i2) map(rhs,%);
(%o2) [-1,1]
(%i3) A:setify(%);
(%o3) {-1,1}
(%i4) B:{1,-1};
(%o4) {-1,1}
(%i5) setequalp(A,B);
(%o5) true
NOTICE
This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.