\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}[x=0.6cm, y=0.8cm]
  \draw[->] (-0.3,0) -- (13,0) node[right] {$t$};
  \draw[->] (0,-1.4) -- (0,1.6) node[above] {$x(t)$};
  \draw[line width=1pt, domain=0:12.5, samples=100] plot (\x, {cos(deg(2*pi*\x/6))});
  \node[left, font=\small] at (0,1) {$A$};
  \draw[dimarrow] (0,-1.15) -- node[below, font=\small, black] {$T_0$} (6,-1.15);
  \begin{scope}[xshift=9.5cm]
    \draw[->] (-0.3,0) -- (13,0) node[right] {$t$};
    \draw[->] (0,-0.4) -- (0,1.6) node[above] {$|x(t)|^2$};
    \draw[wave, domain=0:12.5, samples=100] plot (\x, {cos(deg(2*pi*\x/6))^2});
    \node[left, font=\small] at (0,1) {$A^2$};
  \end{scope}
\end{tikzpicture}
\end{document}
