\documentclass{standalone}
\standaloneconfig{border=2mm 2mm 2mm 2mm}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
% Define the circles
\def\firstcircle{(0,0) circle (2cm)}
\def\secondcircle{(60:2cm) circle (2cm)}
\def\thirdcircle{(0:2cm) circle (2cm)}
% Draw the rectangle
\draw[dashed] (-3,-2.5) rectangle (4.5,4.5) node at (-2.5,4) {$E$};
% Draw the circles
\draw \firstcircle;
\draw \secondcircle;
\draw \thirdcircle;
% Fill the intersections
\begin{scope}
\clip \firstcircle;
\fill[red,opacity=0.5] \secondcircle;
\end{scope}
\begin{scope}
\clip \firstcircle;
\fill[green,opacity=0.5] \thirdcircle;
\end{scope}
\begin{scope}
\clip \secondcircle;
\fill[blue,opacity=0.5] \thirdcircle;
\end{scope}
% Add the labels
\draw (-2.5,0) node at (-1,-1) {$A$};
\draw (1,2.5) node[above] {$B$};
\draw (1,-2.5) node at (2.5,-1) {$C$};
\draw (-0.1,1.4) node[rotate=20] {$A \cap B \setminus C$};
\draw (1.3,1.5) node[rotate=20] {$B \cap C$};
\draw (0.6,-0.3) node[rotate=45] {$A \cap C$};
\draw (1,0.5) node {$A \cap B \cap C$};
\end{tikzpicture}
\end{document}
Leave a comment if you like this content أترك تعليقا إن أعجبك المحتوى
Most viewed courses:
سلسلة تمارين علوم رياضية
Subject: Maths
Class: 2 Bac Science Maths
Views: 39.45K
الحساب المثلثي 1
Subject: Maths
Class: Tronc Commun Sciences
Views: 19.25K
- Série exercices: Calcul Trigonométrique
- Devoir Surveillé 1 Calcul Trigonométrique
- Devoir à la maison 1 Calcul Trigonométrique
- Devoir 2 S02 de généralités des fonctions et trigonométrie
- Devoir Surveillé 1 S02 Calcul Trigonométrique A - B
- Devoir Surveillé 1 S02 Calcul Trigonométrique C - D
- Devoir Surveillé 1 S02 Calcul Trigonométrique E - F
الجداء السلمي وتطبيقاته
Subject: Maths
Class: 1 BAC Science
Views: 16.79K
عموميات حول الدوال العددية
Subject: Maths
Class: Tronc Commun Sciences
Views: 16.64K
دراسة وتمثيل الدوال الاعتيادية
Subject: Maths
Class: Tronc Commun Sciences
Views: 16.41K
- Maths
- 1APIC
- 3APIC
- Tronc Commun Sciences
- Tronc Commun Lettres
- 1 BAC Science
- 1 BAC Science Maths
- 1 Bac Lettre
- 2 Bac Science
- 2 Bac Science Maths
- Discussions
- Physics
- 1 BAC Science
- SVT
- 3 Année Collège
- Tronc Commun Sciences
- 1 BAC Science
- 1 BAC Science Maths
- 1 Bac Lettre
- 2 Bac Science
- Latex
- Templates
- Figures
Most Recent Articles
Most Viewed Articles
0 Comments, Latest
No comments yet. Be the first to Comment