cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Set Theory

Set Theory

Hi,

I have been using Mathcad for some years and have always found that it more than adequately supported my needs. However, I have recenetly needed to perform set theory operations such as union, itersection, difference, cartesian product, etc. I can see no straightforward way of doing this in Mathcad.

Have I overlooked some features, or this something beyond Matcad's capability?

regards.
38 REPLIES 38
Highlighted

Re: Set Theory

It can be done easilyCapture1.JPGCapture2.JPG

Highlighted

Re: Set Theory

Hi, I am reading a text entitled Introductory Real Analysis and the first chapter is a discussion of Set Theory.  In Mathcad Prime 5, I note that the symbols for Union, Intersection, Subset and Superset appear within the Math Symbols and the operator "Is an Element of" appears within the Boolean Operators but have found no guidance in the Boolean or other sections of the Help menu regarding these items.  I would like to know based on your detailed response to the prior question if you or any members of the PTC Community have found anything in the available Help documents that would describe how each of these items are used in the same or similar level of details shown in other Help topics.

Highlighted

Re: Set Theory

That's not the right type of application for Mathcad. Look at other tools like Maple or Mathematica.

Highlighted

Re: Set Theory

Thanks so much for your prompt reply.  I would like to have used the operator and symbols from set theory that are included in Mathcad Prime 5 (union, intersection, etc.) to evaluate the expressions contained in the Introductory Real Analysis text but I appreciated that you have prevented me from pursuing a dead end.

 

Regards,

 

Gerry

Highlighted

Re: Set Theory

Here's an example of what you can do, in Mathcad Prime, with the boolean symbols:

LM_20190313_Boolean.png

Note that Mathcad knows vectors. To work with sets, you'll have to do some programming yourself; such as shown by jpilling above.

 

Success!
Luc

Highlighted

Re: Set Theory

Mathcad has not correct Boolean operators.

For both - fuzzy and not fuzzy logic (sets):

FL.png

Highlighted

Re: Set Theory

Hi, Luc, thanks so much for the instruction.  It should have occurred to me that the symbols for union, intersection, subset and superset are in fact symbols as opposed to operators as in the case of "Is Element Of".

Highlighted

Re: Set Theory

Hi, Valery,

 

More excellent information.  Thank you for your input.

Highlighted

Re: Set Theory


@gerrypete wrote:

Hi, Valery,

 

More excellent information.  Thank you for your input.


Thanks!

I have translated into English one my book - see two chapters from it in attach - about this topic.

If you have time and wish - correct please the content and my English! And send me the files back!

Announcements