From ab7c84c2ce86570bb163fe6242a02e39bba8e009 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Tue, 5 May 2020 04:17:29 +0530 Subject: [PATCH] Ignore pdfs. Solve first question. --- .gitignore | 2 + maths/assignment-matrices/assign.tex | 57 ++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 maths/assignment-matrices/assign.tex diff --git a/.gitignore b/.gitignore index e694825..0e6eede 100644 --- a/.gitignore +++ b/.gitignore @@ -276,3 +276,5 @@ TSWLatexianTemp* # Makeindex log files *.lpz +# Ignore pdfs +*.pdf diff --git a/maths/assignment-matrices/assign.tex b/maths/assignment-matrices/assign.tex new file mode 100644 index 0000000..7c9b710 --- /dev/null +++ b/maths/assignment-matrices/assign.tex @@ -0,0 +1,57 @@ +\documentclass{report} +% Import for matrices +\usepackage{amsmath} +\begin{document} +\title{Mathematics Assignment --- Matrices} +\author{Ahmad Saalim Lone, 2019BCSE017} +\date{05 May, 2020} +\maketitle +\chapter{Matrices} +\section{Question 1} +\begin{equation} + A = + \begin{bmatrix} + 2 & -5 & -1 \\ + -2 & -1 & 4 + \end{bmatrix} +\end{equation} + +\begin{equation} + B = + \begin{bmatrix} + 3 & 4 & 0 \\ + 5 & -2 & 3 + \end{bmatrix} +\end{equation} + +\subsection{Part i} +\begin{equation} + A + B = + \begin{bmatrix} + 2 + 1 & -5 + 4 & -1 + 0 \\ + -2 + 5 & -1 -2 & 4 + 3 + \end{bmatrix} +\end{equation} +\begin{equation} + A + B = + \begin{bmatrix} + 3 & -1 & -1 \\ + 3 & -3 & 7 + \end{bmatrix} +\end{equation} +\subsection{Part ii} +\begin{equation} + 2A + B = + \begin{bmatrix} + 4 + 1 & -10 + 4 & -2 + 0 \\ + -4 + 5 & -2 -2 & 8 + 3 + \end{bmatrix} +\end{equation} +\begin{equation} + 2A + B = + \begin{bmatrix} + 5 & -6 & -2 \\ + 1 & -4 & 11 + \end{bmatrix} +\end{equation} +\end{document}