summaryrefslogtreecommitdiff
path: root/book/module0
diff options
context:
space:
mode:
Diffstat (limited to 'book/module0')
-rw-r--r--book/module0/installing_anaconda.tex158
-rw-r--r--book/module0/intro_to_anaconda.tex193
-rw-r--r--book/module0/intro_to_programming.tex38
-rw-r--r--book/module0/module0.tex3
4 files changed, 0 insertions, 392 deletions
diff --git a/book/module0/installing_anaconda.tex b/book/module0/installing_anaconda.tex
deleted file mode 100644
index 0ff3d6f..0000000
--- a/book/module0/installing_anaconda.tex
+++ /dev/null
@@ -1,158 +0,0 @@
-\section{Installing Anaconda}\label{installing-anaconda}
-
-This tutorial will cover the steps on how to install Anaconda.
-
-\emph{Note for Advanced users: For those who wish to have a lightweight
-installation, can install miniconda or miniForge, however for this
-course we will show you how to use Anaconda Navigator. If you've never
-used the programs before then using Anaconda is recommended.}
-
-\subsubsection{What is Anaconda?}\label{what-is-anaconda}
-
-Anaconda Distribution is a popular open-source Python distribution
-specifically designed for scientific computing, data science, machine
-learning, and artificial intelligence applications. It simplifies the
-set up and use of Python for data science, machine learning, and
-scientific computing. It comes with all the important tools you need,
-like NumPy, Pandas, and JupyterLab, so you don't have to install
-everything separately. The Conda package manager helps you install and
-update software without worrying about breaking other programs. It also
-lets you create separate environments, so different projects don't
-interfere with each other. Additionally, Anaconda includes programs like
-JupyterLab for interactive coding, and Spyer a MATLAB-like IDE.
-
-\subsection{Instructions}\label{instructions}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\item
- Find the latest version of Navigator from the official Anaconda
- Inc.~website: \href{https://www.anaconda.com/download}{Download
- Anaconda}
-\item
- Press the \emph{Download Now} button.
-\item
- Press the \emph{Skip registration} button below the submit button,
- otherwise submit your email address to subscribe to the Anaconda email
- list.
-\item
- Under Anaconda Installers press \emph{Download} or find the
- appropriate version for your operating system below.
-\end{enumerate}
-
-Proceed to next section for your respective operating system.
-
-\subsubsection{Windows}\label{windows}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{4}
-\tightlist
-\item
- Once the download is complete, double click the executable (.exe) file
- to start the installer. Proceed with the installation instructions.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_01_welcome.png}
-\caption{Welcome screen}
-\end{figure}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_02_terms.png}
-\caption{Terms and conditions}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{5}
-\tightlist
-\item
- Select the \emph{Just Me} recommended option.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_03_for.png}
-\caption{Install for}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{6}
-\tightlist
-\item
- You can leave the destination folder as is, just make sure you have a
- minimum of \textasciitilde5 GB available storage space. Press
- \emph{Next} to proceed.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_04_destination.png}
-\caption{Installation destination}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{7}
-\tightlist
-\item
- It is recommended to register Anaconda3 as the default python version
- if you already have an instance of python installed. Otherwise, you
- can leave the checkboxes as defaults.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_05_advanced.png}
-\caption{Avanced Options}
-\end{figure}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_06_installing.png}
-\caption{Installing}
-\end{figure}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_07_installing2.png}
-\caption{Installing 2}
-\end{figure}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_08_installing_complete.png}
-\caption{Complete}
-\end{figure}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_09_cloud.png}
-\caption{Cloud}
-\end{figure}
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_installer_10_finish.png}
-\caption{Finish}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{8}
-\tightlist
-\item
- You made it! Anaconda is now installed, you are ready for launch.
- Assuming that you didn't add Anaconda to PATH environment variable you
- will need to start navigator from the start menu.
-\end{enumerate}
-
-\subsubsection{Mac/Linux}\label{maclinux}
-
-Anaconda provides installation documentation for Mac and Linux users,
-please refer to the
-\href{https://docs.anaconda.com/anaconda/install/}{documentation page}.
diff --git a/book/module0/intro_to_anaconda.tex b/book/module0/intro_to_anaconda.tex
deleted file mode 100644
index e35138a..0000000
--- a/book/module0/intro_to_anaconda.tex
+++ /dev/null
@@ -1,193 +0,0 @@
-\section{Introduction to Anaconda Navigator}\label{introduction-to-anaconda-navigator}
-
-Anaconda Navigator is a program that we will be using in this course to
-manage Python environments, libraries and launch programs to help us
-write our python code.
-
-The Anaconda website nicely describes \emph{Navigator} as:
-
-a graphical user interface (GUI) that enables you to work with packages
-and environments without needing to type conda commands in a terminal
-window.Find the packages you want, install them in an environment, run
-the packages, and update them -- all inside Navigator.
-
-To better understand how Navigator works and interacts with the anaconda
-ecosystem see the figure below.
-
-\includegraphics{figures/AnacondaSchematic.png}
-
-As you schematic
-indicated, Navigator is a tool in the Anaconda toolbox that allows the
-user to select and configure python environments and libraries. Let's
-see how we can do this.
-
-\subsection{Getting Started}\label{getting-started}
-
-Note to windows 10 users: Some installation instances do not allow users
-to search the start menu for \emph{Navigator}, instead, you'll have to
-find the program under the \emph{Anaconda (anaconda3)} folder. Expand
-the folder and click on \emph{Anaconda Navigator} to launch the program.
-
-\begin{figure}
-\centering
-\includegraphics{figures/installingAnaconda_windows_launched.png}
-\caption{Anaconda Navigator screen}
-\end{figure}
-
-Once Navigator starts, under \emph{Home}, you'll see tiles of programs
-that come with anaconda. The tab allows you to launch the programs we
-will be using in this course. Before jumping straight into the programs
-we will first need to configure our Python instance.
-
-The \emph{Environment} page allows us to install a variety of libraries
-and configure our environments for different project, more on this in
-the next section.
-
-\subsection{Environments}\label{environments}
-
-A Python environment can be thought of as a ``container'' where you can
-have all the tools, libraries, and dependencies your Python project
-needs without interfering with other projects. Think of it as a
-dedicated toolbox for your project.
-
-Although the base environment comes with many libraries and programs
-pre-installed, it's recommended to create a dedicated environment for
-your projects. This protects the base environment from breaking due to
-complex dependency conflicts. Let us go ahead and create a new
-environment for us to use Spyder with.
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\tightlist
-\item
- Click on the \emph{Environments} page located on the left hand side.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/anaconda_environment_page.png}
-\caption{Environment Page}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{1}
-\tightlist
-\item
- At the bottom of the environments list, click \emph{Create}.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/anaconda_create_new_environment.png}
-\caption{Create new environment}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{2}
-\item
- Select the python checkbox.
-\item
- Select versions of python. At the time of making this tutorial the
- latest version of Python is 3.xx.x. We will go ahead and use that one.
-\item
- Choose an appropriate name for your project. We will be creating an
- environment for the Spyder IDE so we'll call it ``Spyder-env''.
-\item
- Click \emph{Create}.
-\end{enumerate}
-
-For more information see
-\href{https://docs.anaconda.com/working-with-conda/environments/}{Anaconda
-Environments} and
-\href{https://docs.anaconda.com/navigator/tutorials/manage-environments/}{Managing
-environment}.
-
-\subsection{Package Management}\label{package-management}
-
-Now that we have a clean environment configured, let us install some
-library we will be using for this class.
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\tightlist
-\item
- Navigate to the environment page and select the environment we just
- created in the previous section.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/anaconda_select_package_to_manage.png}
-\caption{Select environment to manage}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{1}
-\tightlist
-\item
- Use the search bar in the top right corner to search for the following
- packages:
-\end{enumerate}
-
-\begin{longtable}[]{@{}ll@{}}
-\toprule\noalign{}
-Library & Usage \\
-\midrule\noalign{}
-\endhead
-\bottomrule\noalign{}
-\endlastfoot
-numpy & Numerical computation \\
-scipy & Scientific and techical computing \\
-pandas & Data manipulation and analysis \\
-matplotlib & Plots and visualizations \\
-sympy & Symbolic mathematics \\
-\end{longtable}
-
-\emph{Note: The libraries list may change throughout the development of
-this course}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{2}
-\tightlist
-\item
- Check the boxes to install the selected packages to the current
- environment.
-\end{enumerate}
-
-\subsection{Installing Applications}\label{installing-applications}
-
-From the \emph{Home} page you can install applications, to the current
-environment we created in the Environment section above. In this section
-we will install Spyder IDE, but the process is exactly the same for
-other applications.
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\item
- Go to the \emph{Home} page.
-\item
- Select the desired environment. In our case, we select
- \emph{Spyder-env}.
-\item
- From the Home page find the Spyder IDE tile. Click the \emph{Install}
- button to start the download.
-\end{enumerate}
-
-\begin{figure}
-\centering
-\includegraphics{figures/anaconda_homepage.png}
-\caption{Anaconda Home Page}
-\end{figure}
-
-\begin{enumerate}
-\def\labelenumi{\arabic{enumi}.}
-\setcounter{enumi}{3}
-\tightlist
-\item
- Once the download is complete, press \emph{Launch} to start the
- applications.
-\end{enumerate}
diff --git a/book/module0/intro_to_programming.tex b/book/module0/intro_to_programming.tex
deleted file mode 100644
index c73dcf4..0000000
--- a/book/module0/intro_to_programming.tex
+++ /dev/null
@@ -1,38 +0,0 @@
-\section{Introduction to Programming}\label{introduction-to-programming}
-
-\subsection{The Importance of Programming in
-Engineering}\label{the-importance-of-programming-in-engineering}
-
-Engineering is all about solving problems, designing innovative
-solutions, and making systems work efficiently. Whether you're designing
-cars, airplanes, rockets, or even everyday machines, programming plays a
-critical role in modern engineering.
-
-In mechanical engineering, programming helps us \textbf{analyze data,
-model complex systems, automate repetitive tasks, and simulate
-real-world physics.} For example, instead of spending hours solving
-equations by hand, engineers can write a program that does it in
-seconds. This saves time and therefore do more.
-
-With programming, mechanical engineers can:
-
-\begin{itemize}
-\tightlist
-\item
- \textbf{Automate calculations:} Quickly solve equations for heat
- transfer, fluid dynamics, and mechanical stresses.
-\item
- \textbf{Simulate systems:} Model how a bridge bends under weight or
- how an engine burns fuel efficiently.
-\item
- \textbf{Analyze data:} Process thousands of test results to improve
- designs.
-\item
- \textbf{Control machines:} Program robots, 3D printers, and CNC's.
-\end{itemize}
-
-In this course, you'll see how computing and programming applies to
-mechanical engineering and how they can make you a better problem
-solver. By the end, you'll have the skills and understanding of how to
-write programs that help you \textbf{think like an engineer in the
-digital age.}
diff --git a/book/module0/module0.tex b/book/module0/module0.tex
deleted file mode 100644
index 6f2a4ad..0000000
--- a/book/module0/module0.tex
+++ /dev/null
@@ -1,3 +0,0 @@
-\chapter{Getting Started}
-\input{module0/intro_to_programming}
-\input{module0/installing_anaconda}