Page 1 of 1
    
\documentclass{standalone}
\standaloneconfig{margin=5mm}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usepackage{polyglossia}
\setdefaultlanguage[calendar=gregorian,numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.4]{Amiri}
\newcommand{\cercle}[4]{
\node[circle,inner sep=0,minimum size={2*#2}](a) at (#1) {};
\draw[red,thick] (a.#3) arc (#3:{#3+#4}:#2); }
\begin{document}
\begin{tikzpicture}[very thick]
% triangle
    \tkzDefPoint(4,2){A}
    \tkzDefPoint(8,3){B}
    \tkzDefPoint(6,5){C}
    \tkzDrawPolygon[thick](A,B,C)
    \tkzDrawPoints(A,B,C)
% intersect circles
    \tkzInterCC(A,B)(B,A)
    \tkzGetPoints{I}{J}
% label points
    \tkzLabelPoints[below left](A)
    \tkzLabelPoints[below right](B)
    \tkzLabelPoints[above right=-1mm](C)
    \tkzLabelPoint[above left,blue](I){$I$}
    \tkzLabelPoint[below right,blue](J){$J$}
    \tkzDrawPoints(I,J)
% Point{M}
\tkzDefMidPoint(A,B) \tkzGetPoint{M}
    \tkzLabelPoints[below left](M)
\tkzMarkRightAngle[fill=lightgray,size=.3](I,M,A)
% Hauteur line
   \tkzDrawLine[very thick,blue, dashed,add=.04 and .04](I,J)
% arcs (type compass)
    % arc Center A
  \coordinate (center) at (A);
  \cercle{center}{4.1cm}{60}{40}
  \coordinate (center) at (A);
  \cercle{center}{4.1cm}{-25}{-40}
    % arc Center B
  \coordinate (center) at (B);
  \cercle{center}{4.1cm}{115}{40}
  \coordinate (center) at (B);
  \cercle{center}{4.1cm}{-85}{-40}
 % - line C-P
\tkzDefSpcTriangle[orthic](C,A,B){P,HA,HB}
\tkzDrawLine[very thick,dashed,magenta](C,P)
\tkzMarkRightAngle[fill=lightgray,size=.3](C,P,A)
\tkzDrawPoints(C,B,A)
\tkzLabelPoints[below right,magenta](P)
\tkzLabelSegment[magenta,below left,sloped,near start,yshift=.9cm,xshift=1.9cm](C,P)
{الارتفاع}
\tkzLabelSegment[blue,sloped,below, ,yshift=1cm,xshift=1.6cm](J,I)
{المحــور}
\end{tikzpicture}
\end{document}

    

Leave a comment if you like this content أترك تعليقا إن أعجبك المحتوى
Class: Figures
Views:  46




0 Comments, Latest

No comments yet. Be the first to Comment

Most viewed courses: