[methods] clean up
[notes.git] / methods / circ-functions.tex
index a2d85bfbf0333cb37b647aa76c2b84b468a15261..2b615cd7f8f3011cd58e04d22b8317841b4d93e9 100644 (file)
@@ -5,20 +5,26 @@
 \[1 \thinspace \operatorname{rad}={{180 \operatorname{deg}}\over \pi}\]
 
 \subsection*{Exact values}
-
-
-    \begin{tikzpicture}[scale=0.75]
-      \draw [orange, thick] (0,0) -- (3,3) node [black, pos=0.5, above left] {\(\sqrt{2}\)};
-      \draw [orange, thick] (0,0) -- (3,0) node [black, below, pos=0.5] {\(1\)} node[black, above, pos=0.3] {\(\frac{\pi}{4}\)};
-      \draw [orange, thick] (3,0) -- (3,3) node [black, right, pos=0.5] {1} node[black, left, pos=0.7] {\(\frac{\pi}{4}\)};
-      \draw [black] (0,0) coordinate (A) (3,0) coordinate (B) (3,3) coordinate (C) pic [draw,black,angle radius=2mm] {right angle = A--B--C};
-    \end{tikzpicture}
-    \begin{tikzpicture}[scale=0.75]
-      \draw [orange, thick] (0,3) -- (5.19,0) node [black, pos=0.5, above right] {2};
-      \draw [orange, thick] (0,0) -- (5.19,0) node [black, below, pos=0.5] {\(\sqrt{3}\)} node[black, above, pos=0.7] {\(\frac{\pi}{6}\)};
-      \draw [orange, thick] (0,0) -- (0,3) node [black, left, pos=0.5] {1} node [black, pos=0.8, right] {\(\frac{\pi}{3}\)};
-      \draw [black] (5.19,0) coordinate (A) (0,0) coordinate (B) (0,3) coordinate (C) pic [draw,black,angle radius=2mm] {right angle = A--B--C};
-    \end{tikzpicture}
+\adjustbox{trim=0.7cm 0cm}{
+  \begin{tikzpicture}
+    \matrix{
+      \begin{scope}[scale=0.8]
+        \draw [orange, thick] (0,0) -- (3,3) node [black, pos=0.5, above left] {\(\sqrt{2}\)};
+        \draw [orange, thick] (0,0) -- (3,0) node [black, below, pos=0.5] {\(1\)} node[black, above, pos=0.3] {\(\dfrac{\pi}{4}\)};
+        \draw [orange, thick] (3,0) -- (3,3) node [black, right, pos=0.5] {1} node[black, left, pos=0.7] {\(\dfrac{\pi}{4}\)};
+        \draw [black] (0,0) coordinate (A) (3,0) coordinate (B) (3,3) coordinate (C) pic [draw,black,angle radius=2mm] {right angle = A--B--C};
+      \end{scope}
+      &
+      \begin{scope}[scale=0.8]
+        \draw [orange, thick] (0,3) -- (5.19,0) node [black, pos=0.5, above right] {2};
+        \draw [orange, thick] (0,0) -- (5.19,0) node [black, below, pos=0.5] {\(\sqrt{3}\)} node[black, above, pos=0.7] {\(\dfrac{\pi}{6}\)};
+        \draw [orange, thick] (0,0) -- (0,3) node [black, left, pos=0.5] {1} node [black, pos=0.8, right] {\(\dfrac{\pi}{3}\)};
+        \draw [black] (5.19,0) coordinate (A) (0,0) coordinate (B) (0,3) coordinate (C) pic [draw,black,angle radius=2mm] {right angle = A--B--C};
+      \end{scope}
+      \\
+    };
+  \end{tikzpicture}
+}
 
                   \subsection*{Compound angle formulas}
 
@@ -91,8 +97,8 @@
                   \begin{tikzpicture}
                     \begin{axis}[yticklabel style={yshift=1.0pt, anchor=north east},x=0.1cm, y=1cm, ymax=2, ymin=-2, xticklabels={}, ytick={-1.5708,1.5708},yticklabels={\(-\frac{\pi}{2}\),\(\frac{\pi}{2}\)}]
                       \addplot[color=orange, smooth] gnuplot [domain=-35:35, unbounded coords=jump,samples=350] {atan(x)} node [pos=0.5, above left] {\(\tan^{-1}x\)};
-                      \addplot[->, gray, dotted, thick, domain=-35:35] {1.5708};
-                      \addplot[->, gray, dotted, thick, domain=-35:35] {-1.5708};
+                      \addplot[gray, dotted, thick, domain=-35:35] {1.5708} node [black, font=\footnotesize, below right, pos=0] {\(y=\frac{\pi}{2}\)};
+                      \addplot[gray, dotted, thick, domain=-35:35] {-1.5708} node [black, font=\footnotesize, above left, pos=1] {\(y=-\frac{\pi}{2}\)};
                     \end{axis}
                   \end{tikzpicture}
 
@@ -122,7 +128,7 @@ where:
   \item Asymptotes at \(x=\frac{(2k+1)\pi}{2n}\)
 \end{description}
 
-\textbf{Asymptotes should always have equations and arrow pointing up}
+\textbf{Asymptotes should always have equations}
 
 \subsection*{Solving trig equations}