Set Operations Tool
Description
This project is a simple web application for performing various set operations such as union, intersection, complement, difference, symmetric difference, power set, and Cartesian product.
Features
User-friendly interface for inputting sets and selecting operations. Supports the following set operations: Union Intersection Complement Difference Symmetric Difference Power Set Cartesian Product
How to Use
Open the index.html file in a web browser. Enter the elements of Set A and Set B in the respective input fields. Click on the desired operation button to perform the operation. View the result displayed below the buttons.
Set Operations Functions
Union: Combines elements from both sets into a single set. Intersection: Finds common elements between the sets. Complement: Finds elements in Set A that are not in Set B. Difference: Finds elements in Set A that are not in Set B. Symmetric Difference: Finds elements that are in either Set A or Set B but not in both. Power Set: Generates all possible subsets of Set A. Cartesian Product: Finds all possible ordered pairs between elements of Set A and Set B.
Technologies Used HTML CSS JavaScript