this is for holding javascript data
Edward Brown added numerical-analysis.tex
about 9 years ago
Commit id: 4c7d293ab34a9ac61a17be12668d21a28e845da2
deletions | additions
diff --git a/numerical-analysis.tex b/numerical-analysis.tex
new file mode 100644
index 0000000..028f510
--- /dev/null
+++ b/numerical-analysis.tex
...
\subsection{Introduction of numerical analysis}
Students are expected to do their lab work using \ipython\ notebooks. There are several reasons for adopting \texttt{Python}: it is widely used in astronomy and other STEM disciplines; it is easy to learn but supports complex programming; it has powerful libraries---\np, \sp, and \plt---for numerical analysis and plotting; and the \ipython\ notebooks are relatively platform-independent.\footnote{To ensure a standard working environment, we currently have the students install a virtual machine (using \href{https://www.virtualbox.org/}{VirtualBox}) running Ubuntu Linux. Given the widespread availability of \ipython, we will likely drop the usage of virtual machines in subsequent editions of this course.}
Figure~\ref{f.sample-datasets} illustrates an in-class \ipython\ exercise that was used to illustrate the $\chi^2$-test. The students use the notebook to generate fake datsets, to compute $\chi^2$ for those datasets, and then to answer questions about their findings. When finished, the students upload their \ipython\ notebooks to a course dropbox for grading.