%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                           %
%  Math 110 Laboratory Manual               %
%                                           %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% DOCUMENT FORMAT  & PACKAGES                                                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt]{book}

\usepackage[text={6.5in,9in},outer=1.25in]{geometry}
\parindent=0in
\parskip=0in 

\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{boxedminipage}
\usepackage{colortbl}
\usepackage{multicol}
\usepackage{titletoc} %%%NEW: Used to modify TOC entries%%% http://ctan.mirror.rafal.ca/macros/latex/contrib/titlesec/titlesec.pdf
% Allow inline lists
\usepackage{paralist}
%Petry replace tikzpicture with verbatim environment everywhere
\usepackage{verbatim}
% Allow asymptote code for graphics
\usepackage{asymptote}
% Put the asymptote-generated files in a subdirectory.
\def\asydir{asymptote_files}
% Create pdf hyperlinks and display urls. This must be loaded before
% textbooktools for exercise hyperlinks in answer key to work properly.
\usepackage{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The following textbooktoolsv1 code is customized for this document
% by the code below it up to the other comment line.
\input{textbooktoolsv1}
% Change the textbook exercise environment so it does no highlighting
\renewenvironment{exerciselayout}{\vspace{-2.25em}}{\vspace{-2.25em}}
% Change the textbook exercise title so it prints nothing
\renewcommand{\exercisetitlelayout}[1][]{}
% Change the textbook exercise environment so it does no highlighting
\renewenvironment{reviewexerciselayout}{\vspace{-2.25em}}{\vspace{-2.25em}}
% Change the textbook exercise title so it prints nothing
\renewcommand{\reviewexercisetitlelayout}[1][]{}
% Change the problem title so it prints nothing
\newcommand{\problemgrouptitle}[1]{}
% Exercises labeled by section number
\depthfixedexercises[1]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The problems are currently being used for two different documents
% The following commands wrap special formatting that only applies to
% one or the other documents.  Custom page breaks, column breaks or
% multicolumn commands that only apply to either document should be
% wrapped by these commands.  This document wraps these in a \lab
% command.  Any formatting for the other document (a textbook) will be
% similarly wrapped in a \textbook command and will be ignored.
\newcommand{\lab}[1]{#1}
\newcommand{\textbook}[1]{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% DEFINITIONS                                                                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Input calculus definitions
\input{calculussymbolsv1}

% Commands to input files and label them for pagereferencing.
% The \inputsection command inputs the individual blocks of problems into
% separate LaTeX sections.  It uses the textbooktools exercise environment.
\newcommand{\inputsection}[2]{\section{#2}\label{#1}\begin{exercise}\begin{enumerate}\input{#1}\end{enumerate}\end{exercise}}
% The \inputreview command inputs the review problems to be found at the
% end of each module.  It uses the textbooktools reviewexercise environment.
\newcommand{\inputreview}[1]{\clearpage\section*{\chaptername~\thechapter\ Review Exercises}\label{#1}\addcontentsline{toc}{section}{Review Exercises}\begin{reviewexercise}\begin{enumerate}\input{#1}\end{enumerate}\end{reviewexercise}}
\def\thefile#1{\label{#1} \input{#1}}
\def\pref#1{\pageref{#1}}

% Rename: Chapter->Module
\renewcommand{\chaptername}{Module}

% Define chapter section entry in TOC
\titlecontents{chapter}% <section-type>
	[0pt]% <left> (indent)
	{\chaptername\  \thecontentslabel.\quad}% <above-code>
	{}% <numbered-entry-format>
	{\thecontentslabel}% <numberless-entry-format>
	{\hfill\contentspage}% <filler-page-format>

% Removes dots for subsection entries 
\makeatletter
	\renewcommand\@dotsep{1000}
\makeatother

% Fixes TOC entry for Answers/FDL
\newenvironment{plainTOC}
	{\titlecontents{chapter}% <section-type>
		[0pt]% <left> (indent)
		{}% <above-code>
		{}% <numbered-entry-format>
		{\thecontentslabel}% <numberless-entry-format>
		{\hfill\contentspage}% <filler-page-format>
	}
	{\titlecontents{chapter}% <section-type>
		[0pt]% <left> (indent)
		{\chaptername\  \thecontentslabel.\quad}% <above-code>
		{}% <numbered-entry-format>
		{\thecontentslabel}% <numberless-entry-format>
		{\hfill\contentspage}% <filler-page-format>
	}


%Used to set commands for the fdl licence 
\input{gfdl_licensing/gfdl.tex}

%Don't stretch text to bottom of page
\raggedbottom

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TITLE PAGE                                                                  %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\frontmatter

\title{\Huge Mathematics 110 (Calculus I) \\ Laboratory Manual}
\vskip 2 truein
\author{\huge Department of Mathematics \& Statistics \\ \huge University of Regina}
\vskip 1.5 truein
%\date{Academic Year 2014-15}

\begin{titlepage}
\begin{center}
~
\vfill
\vfill
{\Huge Mathematics 110 (Calculus I) \\ Laboratory Manual}
\vskip \baselineskip
{\huge Department of Mathematics \& Statistics} \\ {\huge University of Regina}
\vskip \baselineskip
% Change Academic Year to edition to prevent need for constant change
%\normalsize {Academic Year 2013--14}
\normalsize {$4^{\mbox{\tiny th}}$ edition}
\vfill
\vfill
% The author(s) responsible for the current version of the document as
% well as up to five of the principal authors (all if there are fewer than five)
% of the document must be displayed on the cover.  The latter requirement for
% principal authors may be waived by those authors.  See the GFDL for specifics.
{\normalsize by Douglas Farenick, Fotini Labropulu, Robert G. Petry}
\vfill
%Note that the publisher is just the distributor of the printed copies and
%has no other claim on the document.  (See the GFDL license.)  It can be
%either a person or entity.  It is required on the title page.
{\small Published by the University of Regina Department of Mathematics and Statistics}
\end{center}
\end{titlepage}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% GFDL                                                                        %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{gfdl_licensing/copyright}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TABLE OF CONTENTS                                                           %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\pagenumbering{roman}
\tableofcontents
\cleardoublepage

\mainmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% INTRODUCTION                                                                %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter*{Introduction}
\thefile{INTRODUCTION/introduction}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% EQUATIONS AND FUNCTIONS                                                     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter{Equations and Functions}
\inputsection{EQUATIONS_AND_FUNCTIONS/solving-equations}{Solving Equations}                           
\inputsection{EQUATIONS_AND_FUNCTIONS/properties-of-functions}{Properties of Functions: Domains, Intercepts, Symmetry}\addtoanswerkey{\clearpage}
\inputsection{EQUATIONS_AND_FUNCTIONS/function-algebra}{Function Algebra}
\inputreview{EQUATIONS_AND_FUNCTIONS/equations-and-functions-review}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LIMITS                                                                      %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter{Limits}
\inputsection{LIMITS/secant-and-tangent-lines}{Secant and Tangent Lines}
\inputsection{LIMITS/calculating-limits-using-limit-laws}{Calculating Limits Using Limit Laws}
\inputsection{LIMITS/trigonometric-limits}{Trigonometric Limits}
\inputsection{LIMITS/one-sided-limits}{One-sided Limits}\addtoanswerkey{\clearpage}
\inputsection{LIMITS/infinite-limits-and-vertical-asymptotes}{Infinite Limits and Vertical Asymptotes}
\inputsection{LIMITS/continuity}{Continuity}\addtoanswerkey{\clearpage}
\inputreview{LIMITS/limits-review}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Differentiation                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter{Differentiation}
\inputsection{DIFFERENTIATION/average-and-instantaneous-rate-of-change}{Average and Instantaneous Rate of Change}\clearpage
\inputsection{DIFFERENTIATION/definition-of-derivative}{Definition of Derivative}\addtoanswerkey{\clearpage}
% Following \clearpage added because the margin answer references were being
% messed up
\inputsection{DIFFERENTIATION/derivative-function}{Derivative Function}\clearpage
\inputsection{DIFFERENTIATION/DRpower-sums-constant-multiple}{Differentiation Rules: Power, Sums, Constant Multiple}
\inputsection{DIFFERENTIATION/rates-of-change}{Rates of Change}\addtoanswerkey{\clearpage}\clearpage
\inputsection{DIFFERENTIATION/DRproducts-and-quotients}{Differentiation Rules: Products and Quotients}
\inputsection{DIFFERENTIATION/parallel-perpendicular-normal}{Parallel, Perpendicular, and Normal Lines}
\inputsection{DIFFERENTIATION/DRgeneral-power-rule}{Differentiation Rules: General Power Rule}
\inputsection{DIFFERENTIATION/DRtrigonometric-functions}{Differentiation Rules: Trigonometric Functions}\clearpage
\inputsection{DIFFERENTIATION/DRchain-rule}{Differentiation Rules: Chain Rule}
\inputsection{DIFFERENTIATION/DRimplicit-differentiation}{Differentiation Rules: Implicit Differentiation}\clearpage
\inputsection{DIFFERENTIATION/differentiation-all-methods}{Differentiation Using All Methods}
\inputsection{DIFFERENTIATION/higher-derivatives}{Higher Derivatives}
\inputsection{DIFFERENTIATION/related-rates}{Related Rates}
\inputsection{DIFFERENTIATION/differentials}{Differentials}
\inputreview{DIFFERENTIATION/differentiation-review}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Derivative Applications                                                     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter{Derivative Applications}
\inputsection{DERIVATIVE_APPLICATIONS/local-and-global-extreme-values}{\Relative and \Absolute Extreme Values}%\addtoanswerkey{\clearpage}
\inputsection{DERIVATIVE_APPLICATIONS/rolles-theorem-and-the-mean-value-theorem}{Rolle's Theorem and the Mean Value Theorem}\clearpage
\inputsection{DERIVATIVE_APPLICATIONS/first-derivative-test}{First Derivative Test}
\inputsection{DERIVATIVE_APPLICATIONS/inflection-points}{Inflection Points}\clearpage
\inputsection{DERIVATIVE_APPLICATIONS/second-derivative-test}{Second Derivative Test}
% Note curve-sketching-I has a \clearpage for the answerkey in it.
\inputsection{DERIVATIVE_APPLICATIONS/curve-sketching-I}{Curve Sketching I}
% The following has a \clearpage in it for the manual.
\inputsection{DERIVATIVE_APPLICATIONS/limits-at-infinity-and-horizontal-asymptotes}{Limits at Infinity and Horizontal Asymptotes}
\inputsection{DERIVATIVE_APPLICATIONS/slant-asymptotes}{Slant Asymptotes}
% Note curve-sketching-II has a \clearpage for the answerkey in it.
\inputsection{DERIVATIVE_APPLICATIONS/curve-sketching-II}{Curve Sketching II}\clearpage
% Note optimization-problems has a \clearpage in it
\inputsection{DERIVATIVE_APPLICATIONS/optimization-problems}{Optimization Problems}
\inputreview{DERIVATIVE_APPLICATIONS/derivative-applications-review}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Integration                                                                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter{Integration}
\inputsection{INTEGRATION/antiderivatives}{Antiderivatives}\clearpage
\inputsection{INTEGRATION/series}{Series}
\inputsection{INTEGRATION/area-under-a-curve}{Area Under a Curve}\clearpage
\inputsection{INTEGRATION/the-definite-integral}{The Definite Integral}
\inputsection{INTEGRATION/fundamental-theorem-of-calculus-derivative-form}{Fundamental Theorem of Calculus (Derivative Form)}\clearpage
\inputsection{INTEGRATION/fundamental-theorem-of-calculus-antiderivative-form}{Fundamental Theorem of Calculus (Antiderivative Form)}
\inputsection{INTEGRATION/indefinite-integrals}{Indefinite Integrals}\clearpage\addtoanswerkey{\clearpage}
\inputsection{INTEGRATION/the-substitution-rule}{The Substitution Rule}
\inputsection{INTEGRATION/integration-all-methods}{Integration Using All Methods}%\addtoanswerkey{\clearpage}
\inputsection{INTEGRATION/area-between-curves}{Area Between Curves}
\inputsection{INTEGRATION/distances-and-net-change}{Distances and Net Change}
\inputreview{INTEGRATION/integration-review}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ANSWER APPENDIX                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\phantomsection
\begin{plainTOC}
\addcontentsline{toc}{chapter}{Answers}
\end{plainTOC}
\listofexercise

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FDL                                                                         %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{plainTOC}
\gfdldoublenewpage[chapter]
\end{plainTOC}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% THE END                                                                     %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}









