diff options
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.5.0.tex')
-rw-r--r-- | macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.5.0.tex | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.5.0.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.5.0.tex new file mode 100644 index 0000000000..572d8a6897 --- /dev/null +++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-11.5.0.tex @@ -0,0 +1,18 @@ +\input{preamble-standalone.ltx} +\begin{document} + +% Ex. No. 76 (Section 11.5 : Random point on a circle) + +\begin{tikzpicture} + \tkzInit[xmax=5,ymax=5] \tkzGrid + \tkzDefPoints{3/2/A,1/1/B} + \tkzCalcLength[cm](A,B) \tkzGetLength{rAB} + \tkzDrawCircle[R](A,\rAB cm) + \tkzDefRandPointOn[circle = center A radius + \rAB cm]\tkzGetPoint{a} + \tkzDrawSegment(A,a) + \tkzDrawPoints(A,B,a) + \tkzLabelPoints(A,B,a) +\end{tikzpicture} + +\end{document}
\ No newline at end of file |