diff --git a/Exercise 1/figures/1c.tex b/Exercise 1/figures/1c.tex new file mode 100644 index 0000000..0e51d63 --- /dev/null +++ b/Exercise 1/figures/1c.tex @@ -0,0 +1,31 @@ +\begin{tikzpicture}[ + my angle/.style={ + draw, <->, + angle eccentricity=1.3, + angle radius=9mm + } + ] + + % coordinate axis + \draw[<->] (-2.5,0) -- (2.5,0); + \draw[<->] (0,-2.5) -- (0,2.5); + + % circle + \draw (0,0) circle (2cm); + + % coordinates + \coordinate (A) at ( 2,0); + \coordinate (B) at ( 0,2); + \coordinate (C) at (-2,0); + \coordinate (D) at (0,-2); + + % + \coordinate (O) at ( 0:0); + + % angles + \shorthandoff{"} + \pic[my angle, "$\frac{-\pi}{2}$"] {angle = D--O--A}; + \shorthandon{"} + + \coordinate[pin=300:{$(0,-1)$}] (sinTheta) at (D); +\end{tikzpicture} \ No newline at end of file diff --git a/Exercise 1/main.tex b/Exercise 1/main.tex index 2095cfd..0008719 100644 --- a/Exercise 1/main.tex +++ b/Exercise 1/main.tex @@ -7,14 +7,16 @@ \usepackage[fleqn]{amsmath} \usepackage[many]{tcolorbox} \usepackage{graphicx} -\usepackage{parskip} +\usepackage{textcomp} \usepackage{gensymb} +\usepackage{float} \definecolor{ntnublue}{RGB}{0,80,158} \input{../lib/geometry.tex} \input{../lib/header.tex} \input{../lib/math.tex} +\usetikzlibrary{angles, quotes} \hypersetup{ colorlinks=true, @@ -30,6 +32,8 @@ \input{../lib/titling.tex} +\setlength{\parindent}{0cm} + \begin{document} \thispagestyle{plain} diff --git a/Exercise 1/tasks/1.tex b/Exercise 1/tasks/1.tex index d707428..b0a0067 100644 --- a/Exercise 1/tasks/1.tex +++ b/Exercise 1/tasks/1.tex @@ -5,9 +5,15 @@ \[ -135\degree \cdot \frac{\pi}{180\degree} \approx -2.35 \] \delo - \[ 1,5\pi \cdot \frac{180\degree}{\pi} = 270\deg \] + \[ 1,5\pi \cdot \frac{180\degree}{\pi} = 270\degree \] - \delo + \delo \[ sin\left( \frac{-\pi}{2} \right) = -1\] + \begin{minipage}{0.42\textwidth} + \begin{graphbox} + \input{figures/1c.tex} + \end{graphbox} + \end{minipage} + \end{deloppgaver} \ No newline at end of file