Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrahan committed Sep 17, 2011
0 parents commit 33f559b
Show file tree
Hide file tree
Showing 2,523 changed files with 307,308 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 00_math_for_cs/course_description
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<p>
A basic introduction to the Calculus and Linear Algebra. The goal is
to make students mathematically literate in preparation for studying a
scientific/engineering discipline. The first week covers differential
calculus: graphing functions, limits, derivatives, and applying
differentiation to real-world problems, such as maximization and rates
of change. The second week covers integral calculus: sums,
integration, areas under curves and computing volumes. This is not
meant to be a comprehensive calculus course, but rather an
introduction to the fundamental concepts. The third and fourth weeks
introduce some basic linear algebra: vector spaces, linear
transformations, matrices, matrix operations, and diagonalization. The
emphasis will be on using the results, not on their proofs.
</p>
<p>
Text: <i>Quick Calculus, 2nd Edition</i>, by Kleppner and Ramsey. <i>Matrices and Transformations</i>, Pettofrezzo.
</p><p>
Reference: <i>Calculus with Analytic Geometry</i>, Simmons. <i>Introduction to Linear Algebra</i>, by Strang,
</p><p>
Requirements: Four exams and 17 assignments
</p>
<br>
160 changes: 160 additions & 0 deletions 00_math_for_cs/exams/Exam_01.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
\documentclass[10pt]{amsart}

\setlength{\parsep}{3pc}
\setlength{\itemsep}{0.2in}


\usepackage{fullpage}
\usepackage{psfig}



\newcommand{\Z}{\mathbb Z}
\newcommand{\F}{\mathbb F}
\newcommand{\R}{\mathbb R}
\newcommand{\C}{\mathbb C}
\newcommand{\N}{\mathbb N}
\newcommand{\Q}{\mathbb Q}
%\newcommand{\to}{\rightarrow}

\newtheorem{thm}{Theorem}[section]
\newtheorem{theorem}[thm]{Theorem}
\newtheorem{corollary}[thm]{Corollary}
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{definition}[thm]{Definition}
\newtheorem{remark}[thm]{Remark}
\newtheorem{fact}{Fact}[section]

\newenvironment{EG}[1]{{\vspace{1 ex}}\noindent {\sc Example.}{#1}{\hfill{$\diamondsuit$}}\\{\vspace{1 ex}}}



\title[\hskip 0.2inExam 1\hfill Name:\hskip 2in]{Exam 1: Differential calculus}

\begin{document}

\begin{figure}[h]
\centerline{
\psfig{figure=logo.ps}
}
\end{figure}

\centerline{\Large{\sc{Month 0: Mathematics for Computer Science}}}
\medskip

\maketitle

\vfill


\centerline{\LARGE{September 9, 2000}}

\vskip 1in

\hskip 2in\Large{Name:}

\vskip 1in

\noindent You may consult your paper containing trigonometric
identities, but you may not consult any other books or papers. You
may use a calculator (or the calculator on your computer), but you may
not use any other computing or graphing device other than your own
head!

\vfill\pagebreak
\begin{enumerate}

\item Differentiate the following functions.
\begin{enumerate}
\item $f(x)=\cos(x^3+4)$
\vfill
\item $f(x)=e^{x}+3x^2+7$
\vfill
\item $f(x)=(x^2+2x)^{50}\cdot(x-3)$
\end{enumerate}

\vfill\pagebreak

\item Graph the following function, using the first and second
derivatives:
$$
f(x)=\frac{x^3-3x^2+2x-6}{x-3}=\frac{(x-3)\cdot(x^2+2)}{(x-3)}.
$$

\vfill

\begin{figure}[h]
\psfig{figure=graphPaper.ps,width=5in}
\end{figure}



\pagebreak

\item A farmer wants to fence off a rectangular garden next to his
barn, using the barn as one of the walls. (See figure below.) He goes
to Agway, and buys 240m of fencing. What is the biggest garden he can
fence off?

\begin{figure}[h]
\hfill\psfig{figure=barn.ps,width=2in}
\end{figure}

\vfill\pagebreak

\item When Mike Allen (the kicker for his MIT intramural football
team) kicks the football,
the ball goes up in the air and reaches a height of
$s(t)=2t-\frac{t^2}{8}$ meters after $t$ seconds. (See figure below
for a rough sketch of this.)

\begin{figure}[h]
\centerline{
\psfig{figure=football.ps,width=3in}
}
\end{figure}

\begin{enumerate}
\item What is the velocity of the ball when $t=2$seconds?
\vfill
\item What is the maximum height of the ball?
\vfill
\item What is the acceleration of the ball at $t=4$seconds?
\end{enumerate}


\vfill\pagebreak

\noindent {\sc{Extra problem -- A maximization puzzler.}} Only do this
problem if you completed and checked over your exam, and feel like
taking a look at this! It will not count
towards your exam grade, but is meant to be a fun problem to think
about!

For your birthday, the king decides to give you as much land as you can
claim in one day. He gives you some wooden posts. You are free to place
these posts in the ground wherever you want, and at the end of the day the
land contained in the convex hull of the posts will be yours. (That
is, the king will send out men to wrap string around all the posts you
have planted in the ground, and you get to keep the land inside.)

\begin{itemize}
\item You have exactly 24 hours (1440 minutes).
\item It takes you exactly 1 minute to pound a post into the ground.
\item You walk at at a constant speed.
\item You must end to your initial starting point.
\end{itemize}
What do you do? (We are assuming, of course, that you want to get as
much land as possible! The full solution to this problem probably
requires the use of a computer to find the exact answer. Try to write
down the function that you are trying to maximize, though.)


\end{enumerate}





\end{document}
201 changes: 201 additions & 0 deletions 00_math_for_cs/exams/Exam_02.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
\documentclass[10pt]{amsart}

\setlength{\parsep}{3pc}
\setlength{\itemsep}{0.2in}


\usepackage{fullpage}
\usepackage{psfig}



\newcommand{\Z}{\mathbb Z}
\newcommand{\F}{\mathbb F}
\newcommand{\R}{\mathbb R}
\newcommand{\C}{\mathbb C}
\newcommand{\N}{\mathbb N}
\newcommand{\Q}{\mathbb Q}
%\newcommand{\to}{\rightarrow}

\newtheorem{thm}{Theorem}[section]
\newtheorem{theorem}[thm]{Theorem}
\newtheorem{corollary}[thm]{Corollary}
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{definition}[thm]{Definition}
\newtheorem{remark}[thm]{Remark}
\newtheorem{fact}{Fact}[section]

\newenvironment{EG}[1]{{\vspace{1 ex}}\noindent {\sc Example.}{#1}{\hfill{$\diamondsuit$}}\\{\vspace{1 ex}}}



\title[\hskip 0.2inExam 2\hfill Name:\hskip 2in]{Exam 2: Integral calculus}

\begin{document}

\renewcommand{\arraystretch}{2}

\begin{figure}[h]
\centerline{
\psfig{figure=logo.ps}
}
\end{figure}

\centerline{\Large{\sc{Month 0: Mathematics for Computer Science}}}
\medskip

\maketitle

\vfill


\centerline{\LARGE{September 17, 2000}}

\vskip 1in

\hskip 2in\Large{Name:}

\vskip 1in

\noindent You may consult your paper containing trigonometric
identities, but you may not consult any other books or papers. You
may use a calculator (or the calculator on your computer), but you may
not use any other computing or graphing device other than your own
head!

\vfill\pagebreak


\centerline{\sc Identities that you may need}

\vskip 0.3in


$$
\begin{array}{|c|c|}
\hline
1=\cos^2(\theta)+\sin^2(\theta) & \cos^2(\theta)=1-\sin^2(\theta)\\
\hline
\cot^2(\theta)=\csc^2(\theta)-1 & \sec^2(\theta)=1+\tan^2(\theta) \\
\hline
\end{array}
$$

If $S_r$ is a sphere of radius $r$, then the volume of $S$ is
$$
V(S_r)=\frac{4}{3}\pi r^3.
$$
If $C_{r,h}$ is a cylinder of radius $r$ and height $h$ with no lids, then
the surface area of $C_{r,h}$ is
$$
S.A.(C_{r,h})=2\pi rh,
$$
and the volume is
$$
V(C_{r,h})=\pi r^2h.
$$

\vfill\pagebreak



\begin{enumerate}

\item Take the following integrals.
\begin{enumerate}
\item $\int_0^2 4x^3-2x+1\ dx$
\vfill
\item $\int \tan(\theta)\ d\theta$
\vfill
\item $\int 3x^2\ln(x)\ dx$
\vfill\pagebreak
\item $\int \frac{4\sin(\theta)-5}{(\sin(\theta)-2)(\sin(\theta)-1)}
\cdot\cos(\theta)\ d\theta$
\vfill
\item $\int_0^{\frac{1}{2}} \frac{1}{1-x}\ dx$
\end{enumerate}

\vfill\pagebreak

\item Consider the functions $f(x)=x^2$ and $g(x)=x^3$.

\begin{enumerate}
\item Rotate the region between $f$ and $g$ from $x=0$ to
$x=1$ around the $y$-axis, and compute the volume of that solid of
revolution.
\vfill
\item Rotate the region between $f$ and $g$ from $x=0$ to
$x=1$ around the $x$-axis, and compute the volume of that solid of
revolution.
\end{enumerate}
\vfill\pagebreak

\item A horn shaped solid is formed by a moving circle perpendicular
to the $y$-axis whose diameter lies in the $xy$-plane and extends from
$y=25x^2$ to $y=x^2$. (See figure below for a rough sketch.) Find
the volume of this solid between $y=0$ and $y=5$.


\begin{figure}[h]
\hfill\psfig{figure=horn.ps,width=3in}
\end{figure}

\vfill\pagebreak

\item ({\sc Short Answer}) Please answer the following questions in
full English sentences. (Mathematicians have to write too!)

\begin{enumerate}
\item If you are given a function $f(x)$ as in the figure below, and
$a$ and $b$ are numbers between $A$ and $B$, what
does $\int_a^b f(x)\ dx$ compute?
\begin{figure}[h]
\hfill\psfig{figure=function2.ps,width=2in}
\end{figure}
\vfill
\item Describe when and why $\int_a^b f(x)\ dx$ might be a negative number.
\end{enumerate}


\vfill\pagebreak

\noindent {\sc{Extra problems -- Some logic puzzles.}} Only do these
problems if you have completed and checked over your exam, and feel like
taking a look at these! They will not count
towards your exam grade, but are meant to be fun problems to think
about!

\begin{enumerate}
\item ({\sc Pirates of the Caribbean}) There is a pirate ship of $10$
pirates, and they have found $100$ gold coins. Their algorithm for
dividing up gold coins is the following. They rank themselves from
strongest to weakest ($10$ being the strongest), and then the
strongest pirate (number $10$) suggests a plan for dividing up the
coins. The pirates then vote on the plan, and if the plan gets aproved
by $50\%$ of the group, then that is how the coins are divided. If
the plan is not approved, Pirate $10$ is thrown overboard (and
therefore drowns, since pirates cannot swim), and Pirate $9$ must now
propose a plan. You are Pirate $10$. What do you propose? (You may
assume that you do not want to drown, and that the pirates will vote
for a plan that they feel will maximize their gold coin intake.)
\vfill\pagebreak
\item ({\sc Whistling in the dark}) You enter a house, and next to the
door, there is a light switch with $3$ switches, all in the off
position. You know that one of the switches controls a $60$ watt
lightbulb in a closet on the $3^{\mathrm rd}$ floor, and you want to
determine which one. You may flip the switches in any way you like,
and then you must go up to the closet, open the door, and immediately
deduce which switch controlled the light. (No running up and down the
stairs, and you may assume that the other two switches do not connect
to anything.) What do you do?
\end{enumerate}


\end{enumerate}





\end{document}
Loading

0 comments on commit 33f559b

Please sign in to comment.