Untitled

 avatar
unknown
plain_text
9 months ago
1.0 kB
14
Indexable
\documentclass{article}
\usepackage{tikz}
\begin{document}

\begin{tikzpicture}[scale=0.6]

% First triangle (height = 30)
\coordinate (C) at (0,0);
\coordinate (A) at (0,6); % height 30 ft
\coordinate (B) at (5,0); % base 29.39 ft approx

\draw[thick] (A) -- (C) -- (B) -- cycle;

\node[left] at (A) {A};
\node[below left] at (C) {C};
\node[below right] at (B) {B};

\node[left] at (2,3) {$a_1 = 30$};
\node[below] at (2.5,0) {$b_1 = 29.39$};
\node[right] at (2.5,3.5) {$c = 42$};

% Right angle
\draw (C) rectangle +(0.3,0.3);

% Second triangle (height = 25)
\coordinate (D) at (0,0);
\coordinate (E) at (6,0); % base 33.74 ft approx
\coordinate (F) at (0,5); % height 25 ft

\draw[thick] (F) -- (D) -- (E) -- cycle;

\node[left] at (F) {D};
\node[below left] at (D) {C};
\node[below right] at (E) {E};

\node[left] at (2,2.5) {$a_2 = 25$};
\node[below] at (3,0) {$b_2 = 33.74$};
\node[right] at (3,2.5) {$c = 42$};

% Right angle
\draw (D) rectangle +(0.3,0.3);

\end{tikzpicture}

\end{document}
Editor is loading...
Leave a Comment