Can someone please explain to me how do I get these two dots (points) after I draw the circle?

How should i draw the semicircle?enter image description here

  • Please post a code, not a screen shot of a code!
    – user121799
    Dec 19, 2018 at 21:56

1 Answer 1


Intersections can be determined with the library of the same name. However, this answer is more an attempt to persuade you to add minimal working examples to your questions, i.e. documents like this:

\begin{tikzpicture}[bullet/.style={circle,fill,inner sep=1pt}]
\node[bullet,label=left:$A$] (A) at (0,0){};
\node[bullet,label=right:$B$] (B) at (7,0){};
\node[bullet,label=above:$C$] (C) at (3.5,0){};
\node[bullet,label=left:$D$] (D) at (0,-3){};
\node[bullet,label=right:$E$] (E) at (7,-3){};
\draw (A) -- (B);
\draw[name path=D--E] (D) -- (E);
\draw[name path=circle] (C) circle (3.5cm);
\path[name intersections={of=circle and D--E,by={M,H}}];
\node[bullet,label=below:$M$] at (M){};
\node[bullet,label=below:$H$] at (H){};

enter image description here

Intersections between straight lines can also be computed with the calc library.

 \draw[very thick] (-4,0) -- (4,0);
 \draw[very thick,line join=bevel] (0,0) coordinate(O) 
 -- (-34:4) coordinate(A) 
 -- ({-180+34}:4) coordinate(B) -- (4,0) coordinate(C);
 \draw (10:4) arc (10:-160:4);
 \path (intersection cs:first line={(O)--(A)}, second line={(B)--(C)})
 coordinate (D);
 \pic [draw,angle radius=1cm,"$\xi$"] {angle = O--D--B};
 \pic [draw,angle radius=1.5cm,"$34^\circ$"] {angle = O--A--B};

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.