• Beitrags-Autor:
  • Beitrag zuletzt geändert am:09.05.2020
  • Beitrags-Kategorie:Mathematik
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title:			 Trigonometrische Funktionen - sin und cos
% Author:      Tobias Krähling
% Needs:       pstricks, pst-plot, pst-math
% DesignScale: unit=10mm
% Size:			   11.6 x 3.0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{\sbPSTDefault\sffamily
	\begin{pspicture}(-4.5,-1.5)(7.1,1.5)
		\SpecialCoor
		\psaxes[labels=none,ticks=none]{->}(-3,0)(-4.4,-1.4)(-1.6,1.4)
		\pscircle(-3,0){1}
		\psline(-3,0)(-2.13397,0.5)
		\psline[linewidth=1pt,linecolor=sblinemed](-3,0)(-2.13397,0)
		\psline[linewidth=1pt,linecolor=sblinehighlight](-3,0)(-3,0.5)
		\psline[linestyle=dotted,linecolor=sblinehighlight
           ](-2.13397,0)(-2.13397,0.5)
		\psline[linestyle=dotted,linecolor=sblinemed](-3,0.5)(-2.13397,0.5)
		\psaxes[labels=y,subticks=0,Dx=\pstPI2]{->}(0,0)(0,-1.4)(7,1.4)
		\uput{7pt}[-90](!PI 0){$\pi$}
		\uput{7pt}[-90](!PI 2 div 0){$\frac{1}{2}\pi$}
		\uput{7pt}[-90](!PI 2 div 3 mul 0){$\frac{3}{2}\pi$}
		\uput{7pt}[-90](!PI 2 mul 0){$2\pi$}
		\psplot[linecolor=sblinemed]{0}{6.5}{x COS}
		\psplot[linecolor=sblinehighlight]{0}{6.5}{x SIN}
		\uput[90](!PI 2 div 1){\textcolor{sblinehighlight}{$\sin x$}}
		\uput[-90](!PI -1){\textcolor{sblinemed}{$\cos x$}}
	\end{pspicture}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title:			 Trigonometrische Funktionen - tan und cot
% Author:      Tobias Krähling
% Needs:       pstricks, pst-plot, pst-math
% DesignScale: unit=10mm
% Size:			   11.6 x 7.0	
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{\sbPSTDefault\sffamily
	\begin{pspicture}(-4.5,-3.5)(7.1,3.5)
		\SpecialCoor
		\psaxes[labels=y,subticks=0,Dx=\pstPI2]{->}(0,0)(-4.4,-3.4)(7,3.4)
		\psplot[linecolor=sblinemed]{-4.40}{-1.58}{x TAN}
		\psplot[linecolor=sblinemed]{-1.57}{ 1.57}{x TAN}
		\psplot[linecolor=sblinemed]{ 1.58}{ 4.71}{x TAN}
		\psplot[linecolor=sblinemed]{ 4.72}{ 6.50}{x TAN}
		\psline[linecolor=sblinemed,linestyle=dashed
           ](!PI 2 div neg -3.4)(!PI 2 div neg -0.7)
		\psline[linecolor=sblinemed,linestyle=dashed
           ](!PI 2 div neg 0)(!PI 2 div neg 3.4)
		\psline[linecolor=sblinemed,linestyle=dashed
           ](!PI 2 div -3.4)(!PI 2 div -0.7)
		\psline[linecolor=sblinemed,linestyle=dashed
           ](!PI 2 div 0)(!PI 2 div 3.4)
		\psline[linecolor=sblinemed,linestyle=dashed
           ](!PI 2 div 3 mul -3.4)(!PI 2 div 3 mul -0.7)
		\psline[linecolor=sblinemed,linestyle=dashed
           ](!PI 2 div 3 mul 0)(!PI 2 div 3 mul 3.4)
		\psplot[linecolor=sblinehighlight]{-4.40}{-3.15}{x COS x SIN div}
		\psplot[linecolor=sblinehighlight]{-3.14}{-0.01}{x COS x SIN div}
		\psplot[linecolor=sblinehighlight]{ 0.01}{ 3.14}{x COS x SIN div}
		\psplot[linecolor=sblinehighlight]{ 3.15}{ 6.28}{x COS x SIN div}
		\psplot[linecolor=sblinehighlight]{ 6.29}{ 6.50}{x COS x SIN div}
		\psline[linecolor=sblinehighlight,linestyle=dashed
           ](!PI neg -3.4)(!PI neg -0.7)
		\psline[linecolor=sblinehighlight,linestyle=dashed
           ](!PI neg 0)(!PI neg 3.4)
		\psline[linecolor=sblinehighlight,linestyle=dashed
           ](!PI -3.4)(!PI -0.7)
		\psline[linecolor=sblinehighlight,linestyle=dashed
           ](!PI 0)(!PI 3.4)
		\uput[180](6.4,3.0){\textcolor{sblinemed}{      $\tan x$}}
		\uput[180](6.4,2.5){\textcolor{sblinehighlight}{$\cot x$}}
		\uput{10pt}[-90](!PI neg 0        ){$-\pi$           }
		\uput{10pt}[-90](!PI 2 div neg 0  ){$-\frac{1}{2}\pi$}
		\uput{10pt}[-90](!PI 2 div 0      ){$\frac{1}{2}\pi$ }
		\uput{10pt}[-90](!PI 0            ){$\pi$            }
		\uput{10pt}[-90](!PI 2 div 3 mul 0){$\frac{3}{2}\pi$ }
		\uput{10pt}[-90](!PI 2 mul 0      ){$2\pi$           }
	\end{pspicture}
}