<div class="codetitle"><b>Код:</b></div><div class="codecontent">
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage[russian,english]{babel}
\usepackage{amsmath}
\usepackage{pstricks-add}
\pagestyle{empty}
\usepackage{graphicx}
\begin{document}
Каков бы ни был треугольник
\begin{figure}[h]
\psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dimen=middle,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-4.3,-2.32)(7.02,6.3)
\psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=1.,Dy=1.,ticksize=-2pt 0,subticks=2]{->}(0,0)(-4.3,-2.32)(7.02,6.3)
\psline(1.84,2.56)(0.78,0.66)
\psline(0.78,0.66)(3.3,0.16)
\psline(3.3,0.16)(1.84,2.56)
\begin{scriptsize}
\psdots[dotstyle=*,linecolor=blue](1.84,2.56)
\rput[bl](1.92,2.68){\blue{$A$}}
\psdots[dotstyle=*,linecolor=blue](0.78,0.66)
\rput[bl](0.86,0.78){\blue{$B$}}
\rput[bl](1.02,1.78){$a$}
\psdots[dotstyle=*,linecolor=blue](3.3,0.16)
\rput[bl](3.38,0.28){\blue{$C$}}
\rput[bl](1.96,0.1){$b$}
\rput[bl](2.84,1.54){$c$}
\end{scriptsize}
\end{pspicture*}
\end{figure}
жи-ши пиши через и $\dfrac{\sqrt{\pi}}{2}$
\end{document}</div>