\documentclass[fleqn, 12pt]{article}
%\pagestyle{empty}
\setlength{\topmargin}{-.5in}
\setlength{\oddsidemargin}{-.3in}
\setlength{\textheight}{9in}
\setlength{\textwidth}{7.2in}


\usepackage{amssymb}
\usepackage{amsmath}


\newcommand{\adj}{\mathrm{Adj}}
\newcommand{\mbf}{\mathbf}
\newcommand{\R}{\mathbb{R}}
\newcommand{\ra}{\rightarrow}
\newcommand{\proj}{\mathrm{proj}}
\newcommand{\dotprod}{\bullet}

\newcommand{\sol}{{\textbf{Solution: }}}

\newcommand{\lecture}{{\Large\textbf{Lecture Problems}}}

\begin{document}

\begin{center}
{\Large Warm-Up Problems and Lecture Problems

Solutions

February 21, 2003}
\end{center}

\begin{enumerate}


\item \label{one} 
	Suppose you have a line through the given point, with the given slope.
	Find the $y$-value of that line at the given $x$-value.
	\begin{enumerate}
	\item  Point: $(1,2)$, Slope: $3$.  If $x=0$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=-1$
	\item  Point: $(-1,3)$, Slope: $-2$.  If $x=2$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=-3$
	\item  Point: $(-2,3)$, Slope: $\frac{3}{2}$.  If $x=-1$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=\frac{9}{2}$
	\item  Point: $(0,-5)$, Slope: $-\frac{1}{6}$.  If $x=\frac{2}{3}$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=-\frac{46}{9}$
	\end{enumerate}

\item  Now, come up with a general method to answer question~\ref{one}
	\emph{without} first finding the equation of the line?
	In other words, find a formula to plug the point, the slope and the $x$-value into
	that will give you the $y$-value.
	Use your formula to answer the following questions:
	\begin{enumerate}
	\item  Point: $(0,2)$, Slope: $-\frac{1}{6}$.  If $x=1$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=\frac{11}{6}$
	\item  Point: $(1,-5)$, Slope: $0.7$.  If $x=1.3$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=-4.79$
	\item  Point: $(1.2,3.5)$, Slope: $-.67$.  If $x=1.3$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=3.433$
	\item  Point: $(1.3,-3.2)$, Slope: $0.23$.  If $x=1.42$ then $y=$\rule{1in}{.1pt}
		\\\sol $y=-3.1724$
	\end{enumerate}
		\sol
		We know that the point-slope formula for a line is:
		\[
		y-y_0 = m(x-x_0)
		\]
		Solving for $y$ gives:
		\[
		y=y_0+m(x-x_0)
		\]


\newpage

\item  Given the following differential equation:
	\[
	\frac{dy}{dx} = -3y
	\]
	\begin{enumerate}
	\item  Verify that $y=Ce^{-3x}$ is a solution.
	\item  Find the specific solution if $y(1)=4$ (i.e., find the correct value for $C$).
		\\\sol $C=4e^3$
		\[
		y=4e^3 e^{-3x}
		\]
	\end{enumerate}


\item  Using Euler's method, with step size $.2$, construct a table of values for the initial value problem:
	\[
	y' = x-y \qquad y(0)=1
	\]
	\[
	\begin{array}{|c|c|c|}
	\hline
	n & x_n & y_n \\
	\hline
	\hline
	0 & \qquad & \qquad \qquad \qquad \\
	\hline
	1 & & \\
	\hline
	2 & & \\
	\hline
	3 & & \\
	\hline
	4 & & \\
	\hline
	5 & & \\
	\hline
	6 & & \\
	\hline
	7 & & \\
	\hline
	8 & & \\
	\hline
	9 & & \\
	\hline
	10 & & \\
	\hline
	\end{array}
	\]

\sol
	\[
	\begin{array}{|l|l|l|}
	\hline
	n & x_n & y_n \\
	\hline
	\hline
	0 & 0 & 1 \\
	\hline
	1 & 0.2 & 0.8\\
	\hline
	2 & 0.4 & 0.68 \\
	\hline
	3 & 0.6 & 0.624 \\
	\hline
	4 & 0.8 & 0.6192\\
	\hline
	5 & 1.0 & 0.65536 \\
	\hline
	6 & 1.2 & 0.724288 \\
	\hline
	7 & 1.4 & 0.8194304 \\
	\hline
	8 & 1.6 & 0.93554432 \\
	\hline
	9 & 1.8 & 1.068435456 \\
	\hline
	10 & 2.0 & 1.2147483648 \\
	\hline
	\end{array}
	\]


\end{enumerate}



\end{document}