You are on page 1of 2

\documentclass[10pt]{article}

\usepackage{pgf,tikz,pgfplots}
\pgfplotsset{compat=1.15}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\pagestyle{empty}
\newcommand{\degre}{\ensuremath{^\circ}}
\usepackage{amssymb,fancyhdr,txfonts,pxfonts}
\begin{document}
\definecolor{qqwwqq}{rgb}{0,0.4,0}
\definecolor{ffqqqq}{rgb}{1,0,0}
\definecolor{uququq}{rgb}
{0.25098039215686274,0.25098039215686274,0.25098039215686274}
\definecolor{qqwuqq}{rgb}{0,0.39215686274509803,0}
\definecolor{qqqqff}{rgb}{0,0,1}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm]
\begin{axis}[
x=1cm,y=1cm,
axis lines=middle,
grid style=dashed,
ymajorgrids=true,
xmajorgrids=true,
xmin=-2.3665082623886344,
xmax=7.2968812149736255,
ymin=-2.7367972837102106,
ymax=2.2896855417811124,
xtick={-2.3000000000000003,-2.2,...,7.200000000000001},
ytick={-2.7,-2.6,...,2.2},]
\clip(-2.3665082623886344,-2.7367972837102106) rectangle
(7.2968812149736255,2.2896855417811124);
\draw [shift={(0,0)},line width=0.8pt,color=qqwuqq,fill=qqwuqq,fill opacity=0.1]
(0,0) -- (0:0.2850557367953469) arc (0:60:0.2850557367953469) -- cycle;
\draw [line width=0.8pt] (0,0) circle (1cm);
\draw[line width=2pt,color=qqwuqq,fill=qqwuqq,fill opacity=0.1] (-
1.9579283729819703,1.995127947092585) -- (-1.2737946046731379,1.995127947092585);
\draw [line width=0.8pt] (0,0)-- (0.5,0.8660254037844386);
\draw [line width=2pt,color=qqqqff] (0.5,0)-- (0.5,0.8660254037844386);
\draw [line width=2pt,color=ffqqqq] (0,0)-- (0.5,0);
\draw [line width=2pt,color=qqwwqq] (1,0)-- (1,1.7320508075688767);
\draw (-2.3380026887090994,-0.3518309525224563) node[anchor=north west]
{\mathbf{$ \bigtriangleupOCP\Rightarrowcos^2(\alpha) + sen^2(\alpha) = 1 $}};
\draw [line width=0.8pt] (0,0)-- (1,1.7320508075688767);
\draw [line width=0.8pt] (0.5,0.8660254037844386)-- (0.5,0);
\draw [color=qqqqff](-1.3878168993912765,1.434518331395065) node[anchor=north west]
{0.86603};
\draw [color=ffqqqq](-1.4258243309639895,1.149462594599716) node[anchor=north west]
{0.50000};
\draw [color=qqwwqq](-1.4258243309639895,0.8359012841248318) node[anchor=north
west] {1.7321};
\draw [color=qqwwqq](-2.2904933992432084,0.5128381157567694) node[anchor=north
west] {$ \frac{\overline{PC}}{\overline{OC}} = \frac{\overline{DA}}{\overline{OA}}
\Rightarrow\overline{DA}=\frac{\overline{PC}\;\overline{OA}}
{\overline{OC}}=\frac{sen(\alpha) 1}{cos(\alpha)}=tg(\alpha)$};
\begin{scriptsize}
\draw [fill=qqqqff] (0,0) circle (1.5pt);
\draw[color=qqqqff] (0.06596735826499259,0.1375147289762264) node {$O$};
\draw [fill=qqqqff] (1,0) circle (1.5pt);
\draw[color=qqqqff] (1.0636624370487069,0.1375147289762264) node {$A$};
\draw [fill=qqwuqq] (-1.8439060782638315,1.995127947092585) circle (2pt);
\draw[color=qqwuqq] (-1.6063596309343762,2.1994178917959184) node {$\alpha =
60\textrm{\degre}$};
\draw [fill=qqqqff] (0.5,0.8660254037844386) circle (1.5pt);
\draw[color=qqqqff] (0.370026810846696,0.840652213071421) node {$P$};
\draw[color=qqwuqq] (0.28451008980809156,0.1185110131898698) node {$\alpha$};
\draw [fill=uququq] (1,1.7320508075688767) circle (1.5pt);
\draw[color=uququq] (1.0636624370487069,1.8668528655346777) node {$D$};
\draw [fill=uququq] (0.5,0) circle (1.5pt);
\draw[color=uququq] (0.5695658266034387,0.1375147289762264) node {$C$};
\draw[color=qqqqff] (0.8546215633987854,0.34655560262614915) node {sen($\alpha$)};
\draw[color=ffqqqq] (0.5600639687102603,-0.062024286780517995) node
{cos($\alpha$)};
\draw[color=qqwwqq] (1.4342348948826573,0.9546745077895606) node {tg($\alpha$)};
\end{scriptsize}
\end{axis}
\end{tikzpicture}
\end{document}

You might also like