\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}[scale=1.1]
  \draw[->, line width=1pt] (0,0) -- (2.2,0) node[right] {$a$};
  \draw[->, line width=1pt] (0,0) -- (0,-1.8) node[below] {$b$};
  \draw[dim, dashed] (2.2,0) -- (2.2,-1.8) -- (0,-1.8);
  \draw[->, gaaccent, line width=1.4pt] (0,0) -- (2.2,-1.8);
  \draw[->, dim] (0.75,0) arc (0:-39.3:0.75);
  \node[font=\small] at (-19:1.05) {$-\theta$};
  \node[gaaccent, anchor=west] (r) at (2.6,-0.75) {$\sqrt{a^2+b^2}$};
  \draw[->, dim] (1.45,-1.0) to[bend left=15] (r.west);
  \node[gaaccent, anchor=north] at (1.4,-2.05) {$x(t)=\sqrt{a^2+b^2}\,\cos(\omega_0 t-\theta)$};
\end{tikzpicture}
\end{document}
