Code: Select all
\documentclass[a4paper]{article}
\usepackage{amsmath}
\begin{document}
\title{\ \\ \LARGE\bf Computer Structure Homework \#1\\}
\author{2009-11748 Joon Hyeong Ahn}
\maketitle
\begin{itemize}
\item 1.3.4-6
{\it 1.3.4} Find the IPC(instructino per cycle) for each processor\\
IPC = No.instructions / (Time * Clock Rate)
A: \[\frac{20*10^9}{(2*10^9)*(7)}=\frac{10}{7} \unit{instructions/cycle}\]
B: \[\frac{30 \cdot 10^9}{(1.5\cdot 10^9)\cdot(10)}=2\unit{instructions/cycle}\]
C: \[\frac{90\cdot 10^9}{(3\cdot 10^9)\cdot(9)}=\frac{10}{3}\unit{instructions/cycle}\]
\end{itemize}
\end{document}
In this .tex file, when compiled with latex,
undefined control sequence error occur in each A: B: C: sentence.
but I can't find error there. someone plz help me..
Code: Select all
\[
\begin{split}
\frac{\textrm{P2.instructions}}{\textrm{P2.Clock Rate}\cdot\textrm{P2.IPC}}=7 \\ \\
\textrm{P2.Clock Rate}=\frac{15}{7}\unit{GHz}
\end{split}
\]\\
I'm really new to LaTeX..
..did I posted at wrong category..? new to here.. If I did, sorry..