5

It is possible to define coordinates using trigonometric ratios with the construction of a geometric figure, as in the attached example but it does not work for me.

\documentclass{book}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
    \draw (0,0) -- (1,3);
    \draw (0,0) -- ({cos(30)},{tan(45)});
\end{tikzpicture}

\end{document}

0 Answers0