2013-05-30 19:34:14 +02:00
|
|
|
\documentclass[varwidth=true, border=2pt]{standalone}
|
|
|
|
\usepackage{tikz}
|
2015-10-14 14:25:34 +02:00
|
|
|
\usetikzlibrary{shapes, calc, shapes, arrows}
|
2013-05-30 19:34:14 +02:00
|
|
|
\usepackage{amsmath,amssymb}
|
|
|
|
|
|
|
|
\usepackage{xcolor}
|
|
|
|
\definecolor{xvectorcolor}{HTML}{77933C}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
\begin{tikzpicture}
|
|
|
|
\newcommand{\R}{1.4}
|
|
|
|
\path (240:\R) coordinate (A);
|
|
|
|
\path ( 60:\R) coordinate (B);
|
|
|
|
\path ( 0:\R) coordinate (C);
|
|
|
|
\draw[green,fill=gray!10] (0,0) circle (\R);
|
|
|
|
|
|
|
|
\draw[red] (0,0) -- (C);
|
|
|
|
\path[red] ( 0:\R/2) node [below]{$r$};
|
|
|
|
\draw[blue] (A) -- (B);
|
|
|
|
\path[blue] (240:\R/2) node [below]{$d$};
|
|
|
|
\draw[green] (0,0) circle (\R);
|
|
|
|
\path[green] (135:\R*1.2) node {$c$};
|
|
|
|
\draw[black] (0,0) node [left] {$M$};
|
|
|
|
\end{tikzpicture}
|
|
|
|
\end{document}
|