Skip to content

Instantly share code, notes, and snippets.

@dapperfu
Created September 30, 2014 12:10
Show Gist options
  • Save dapperfu/a4aa5f949cf0ccecff8c to your computer and use it in GitHub Desktop.
Save dapperfu/a4aa5f949cf0ccecff8c to your computer and use it in GitHub Desktop.
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
% This is a simple template for a LaTeX document using the "article" class.
% See "book", "report", "letter" for other types of document.
\documentclass[11pt]{article} % use larger type; default would be 10pt
\usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
%%% Examples of Article customizations
% These packages are optional, depending whether you want the features they provide.
% See the LaTeX Companion or other references for full information.
%%% PAGE DIMENSIONS
\usepackage{geometry} % to change the page dimensions
\geometry{a4paper} % or letterpaper (US) or a5paper or....
% \geometry{margin=2in} % for example, change the margins to 2 inches all round
% \geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
\usepackage{graphicx} % support the \includegraphics command and options
\usepackage{amsmath}
% \usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
%%% PACKAGES
\usepackage{booktabs} % for much better looking tables
\usepackage{array} % for better arrays (eg matrices) in maths
\usepackage{paralist} % very flexible & customisable lists (eg. enumerate/itemize, etc.)
\usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
\usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
% These packages are all incorporated in the memoir class to one degree or another...
%%% HEADERS & FOOTERS
\usepackage{siunitx}
\usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
\pagestyle{fancy} % options: empty , plain , fancy
\renewcommand{\headrulewidth}{0pt} % customise the layout...
\lhead{}\chead{}\rhead{}
\lfoot{}\cfoot{\thepage}\rfoot{}
%%% SECTION TITLE APPEARANCE
\usepackage{sectsty}
\allsectionsfont{\sffamily\mdseries\upshape} % (See the fntguide.pdf for font help)
% (This matches ConTeXt defaults)
%%% ToC (table of contents) APPEARANCE
\usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC{
\usepackage[titles,subfigure]{tocloft} % Alter the style of the Table of Contents
\renewcommand{\cftsecfont}{\rmfamily\mdseries\upshape}
\renewcommand{\cftsecpagefont}{\rmfamily\mdseries\upshape} % No bold!
%%% END Article customizations
%%% The "real" document content comes below...
\title{Brief Article}
\author{The Author}
%\date{} % Activate to display a given date or no date (if empty),
% otherwise the current date is printed
\begin{document}
\section{First section}
\begin{eqnarray}
I_{system}&=& \frac{1}{2}\left(R^2_{in_{2}}-R^2_{in_{1}}\right)
\end{eqnarray}
The equation of motion of the system is:
\begin{eqnarray}
a\frac{d\omega}{dt}+b\omega+c&=&0 \label{EoM}\\
a&=& I_{system} \\
b&=& 2 \mu R^3_{in_2}\frac{\pi L}{t g}+\mu\pi\frac{R^4_{in_2}}{2 h}\\
c&=& R_{spool}mg - M_f
\end{eqnarray}
Rearranging the equation of motion (Eqn. \ref{EoM}) you get Eqn. \ref{EoM2}.
\begin{eqnarray}
a d \omega &=& \left(c-b \omega \right) dt \label{EoM2} \\
\int^{\omega_2}_{\omega_1} a d \omega &=& \int^{t_2}_{t_1}\left(c - b \omega\right) dt \\
a \left(\omega_2 - \omega_1\right) &=& \left(c-b \omega\right)\left(t_2-t_2\right) \\
t_1 &=& 0 \\
\omega_1 &=& 0
\end{eqnarray}
Using angular velocity as $0.4666$ RPS with an unknown $t_2$ results in the simplifications shown in Eqn. \ref{finalEqn}
\begin{eqnarray}
\left(\frac{1}{2}\left(0.086 \text{kg}\right)\left(\left(0.075438 \text{mm} \right)^2 - \left(69.09 mm\right)^2\right)\right)\left(0.46666 \text{s}^{-1}\right) \nonumber \\ = \left(10.16 \text{mm}\right)\left(0.086\text{kg}\right)\left(9.81 \frac{\text{m}}{\text{s}^2}\right)\ \label{finalEqn}
\end{eqnarray}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment