From d21a7de801b4a326001e45c0d26826e9ab53589b Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 13 Oct 2023 21:00:07 -0600 Subject: hw 4 --- homeworks/hw-4.org | 42 ++++++++++++++++++----- homeworks/hw-4.pdf | Bin 0 -> 215081 bytes homeworks/hw-4.tex | 70 +++++++++++++++++++++++++++++++++++++++ homeworks/img/make_run.png | Bin 0 -> 73679 bytes homeworks/img/test_routine_1.png | Bin 0 -> 217677 bytes homeworks/img/test_routine_2.png | Bin 0 -> 145961 bytes 6 files changed, 103 insertions(+), 9 deletions(-) create mode 100644 homeworks/hw-4.pdf create mode 100644 homeworks/hw-4.tex create mode 100644 homeworks/img/make_run.png create mode 100644 homeworks/img/test_routine_1.png create mode 100644 homeworks/img/test_routine_2.png (limited to 'homeworks') diff --git a/homeworks/hw-4.org b/homeworks/hw-4.org index ba82878..8884f63 100644 --- a/homeworks/hw-4.org +++ b/homeworks/hw-4.org @@ -1,10 +1,34 @@ -* My Basic Routines -* Linear Solution Routines -** Gaussian Elimination with Backwards Substitution -** LU factorization -* Matrix Routines -** dotproduct -** crossproduct -** matrixvector -** matrixmatrix +#+TITLE: Homework 4 +#+AUTHOR: Elizabeth Hunt +#+LATEX_HEADER: \notindent \notag \usepackage{amsmath} \usepackage[a4paper,margin=1in,portrait]{geometry} +#+LATEX: \setlength\parindent{0pt} +#+OPTIONS: toc:nil +* Question 1 +See the attached LIZFCM Software Manual. + +* Question 2, 3, 4 +#+attr_latex: :width 350px +[[./img/make_run.png]] + +* Question 5 +#+attr_latex: :width 350px +[[./img/test_routine_1.png]] + +#+attr_latex: :width 350px +[[./img/test_routine_2.png]] + +* Question 6 +See the LIZFCM Software Manual. + +* Question 7 +See ~src/matrix.c -> lu_decomp, fsubst, bsubst, solve_matrix~ + +* Question 8 +See ~test/main.c -> lines 109 - 113~ in correspondence to the run in Question 5 + +* Question 9 +See ~test/main.c -> lines 118 - 121~ in correspondence to the run in Question 5 + +* Question 10 +See the TOC on the first page of the LIZFCM Software Manual. diff --git a/homeworks/hw-4.pdf b/homeworks/hw-4.pdf new file mode 100644 index 0000000..8d515c7 Binary files /dev/null and b/homeworks/hw-4.pdf differ diff --git a/homeworks/hw-4.tex b/homeworks/hw-4.tex new file mode 100644 index 0000000..a3667f5 --- /dev/null +++ b/homeworks/hw-4.tex @@ -0,0 +1,70 @@ +% Created 2023-10-13 Fri 20:54 +% Intended LaTeX compiler: pdflatex +\documentclass[11pt]{article} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{graphicx} +\usepackage{longtable} +\usepackage{wrapfig} +\usepackage{rotating} +\usepackage[normalem]{ulem} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{capt-of} +\usepackage{hyperref} +\notindent \notag \usepackage{amsmath} \usepackage[a4paper,margin=1in,portrait]{geometry} +\author{Elizabeth Hunt} +\date{\today} +\title{Homework 4} +\hypersetup{ + pdfauthor={Elizabeth Hunt}, + pdftitle={Homework 4}, + pdfkeywords={}, + pdfsubject={}, + pdfcreator={Emacs 28.2 (Org mode 9.7-pre)}, + pdflang={English}} +\begin{document} + +\maketitle +\setlength\parindent{0pt} + +\section{Question 1} +\label{sec:org0ce46da} +See the attached LIZFCM Software Manual. + +\section{Question 2, 3, 4} +\label{sec:org0794d50} +\begin{center} +\includegraphics[width=350px]{./img/make_run.png} +\end{center} + +\section{Question 5} +\label{sec:orgf7b84cc} +\begin{center} +\includegraphics[width=350px]{./img/test_routine_1.png} +\end{center} + +\begin{center} +\includegraphics[width=350px]{./img/test_routine_2.png} +\end{center} + +\section{Question 6} +\label{sec:orgee1884d} +See the LIZFCM Software Manual. + +\section{Question 7} +\label{sec:org6f86e09} +See \texttt{src/matrix.c -> lu\_decomp, fsubst, bsubst, solve\_matrix} + +\section{Question 8} +\label{sec:orga79c31e} +See \texttt{test/main.c -> lines 109 - 113} in correspondence to the run in Question 5 + +\section{Question 9} +\label{sec:org5b1b74d} +See \texttt{test/main.c -> lines 118 - 121} in correspondence to the run in Question 5 + +\section{Question 10} +\label{sec:org7409683} +See the TOC on the first page of the LIZFCM Software Manual. +\end{document} \ No newline at end of file diff --git a/homeworks/img/make_run.png b/homeworks/img/make_run.png new file mode 100644 index 0000000..f20015e Binary files /dev/null and b/homeworks/img/make_run.png differ diff --git a/homeworks/img/test_routine_1.png b/homeworks/img/test_routine_1.png new file mode 100644 index 0000000..a4e2a02 Binary files /dev/null and b/homeworks/img/test_routine_1.png differ diff --git a/homeworks/img/test_routine_2.png b/homeworks/img/test_routine_2.png new file mode 100644 index 0000000..befdf19 Binary files /dev/null and b/homeworks/img/test_routine_2.png differ -- cgit v1.2.3-70-g09d2