Venn Diagram (2 Sets)

Venn Diagram (2 Sets)
Loading the math board and drawing, please wait…
2017-05-26 21:02
In collections Probabilty class 10
This example demonstrates a Venn diagram for two sets. It illustrates basic set concepts such as union, intersection, and complement. Using GeoGebra commands like Segment, If, Element, etc., you can dynamically adjust the elements of the sets and observe the changes in the Venn diagram. Suitable for middle school and above students to learn set theory and logical relationships.

GeoGebra Commands & Parameters

  1. Segment((x_1, y_1), (x_1, y_2)) → e
  2. Segment((x_1, y_2), (x_2, y_2)) → f
  3. Segment((x_2, y_1), (x_2, y_2)) → g
  4. Segment((x_2, y_1), (x_1, y_1)) → h
  5. If(IsGreen1, 0, 1) → RB1
  6. If(IsGreen1, 0.4, 1) → G1
  7. If(IsGreen2, 0, 1) → RB2
  8. If(IsGreen3, 0, 1) → RB3
  9. If(IsGreen4, 0, 1) → RB4
  10. If(IsGreen2, 0.4, 1) → G2
  11. If(IsGreen3, 0.4, 1) → G3
  12. If(IsGreen4, 0.4, 1) → G4
  13. Element(problem, item, 1) → textitem
  14. Length(problem) → i
  15. Element(problem, item, 2) → key
  16. Polygon(Corner[1], Corner[2], Corner[3], Corner[4]) → poly1, l, m, n, q
  17. Corner(5) → G