[pstricks] Solving equations with pstricks (draw one-thid of an angle)

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue May 22 10:57:06 CEST 2012


Am 22.05.2012 10:03, schrieb Plamen Tanovski:

> To do so, I have to find the points E and D, so, that
> - E is on the circle OX
> - D is on the line BO
> - DE = OE = OX = r
> - X, E, D are on the same line
>
> I've looked at pst-eucl, but I can't see any way to find D and E.

additional to what Christoph wrote a solution with Theta and R
as parameter and without pst-eucl (using it is always a good choice!)

\listfiles
\documentclass{article}
\usepackage{pstricks-add}

\begin{document}

\def\Theta{60 } \def\Radius{4 }

\pspicture(-4,-1)(8,5)
\psline(-4,0)(8,0)\pnode(0,0){O} \pnode(-\Radius,0){B}
\pnode(!\Radius 180 \Theta sub PtoC){X}
\pcline[nodesepB=-0.5](O)(X)
\psarc(0,0){\Radius}{0}{!180 \Theta sub 5 add}
\pnode(!\Radius \Theta 3 div PtoC){E}
\pcline[linecolor=red,nodesepB=-0.5](0,0)(E)
\psIntersectionPoint(X)(E)(B)(O){D}
\psline[linecolor=blue](X)(D)
\endpspicture

\end{document}


Herbert


More information about the PSTricks mailing list