second-sem/maths/assignment-matrices/assign.tex

58 lines
957 B
TeX

\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}