Question
Create following two matrices A and B with following elements.
Write R commands to do the following tasks:
(i) Multiply the two matrices.
(ii) Combine the two matrices row-wise.
(iii) Create a function that computes the following expression:
Answer :
Word Count : 231
____ _________ _______ ____ ____.
______ ___ ______ ________ ______ _________ _______ ________ ________.
_________ ______ _________ ________ ________.
_______ ___ _____ ____ _____ _____ ________ _______.
_________ ____ ______ _______ __________ __________ __________ ______.
______ ____ ________ ________ ___ ______ ____ ____ ______.
_________ __________ ________ __________ _____ ________ _______ _________ ______ _________.
________ _____ ____ ____ _______ ____ __________ _________ _________.
_______ __________ _____ ____ _________ ________ ____ ______ ______ ________ ___ ______.
_______ ___ _________ __________ ______ _______.
_________ ______ _________ _______ __________ ___.
________ ______ ______ _________ _________ ________ ____ __________ ________ __________ _________.
________ ___ ________ ___ ___ _________ ______.
_______ __________ _______ __________ ___ ____ ________ ________ ____.
__________ _________ _______ _________ ____ ________ ______ _________ _____ _____.
______ ________ _________ ________ ____ __________ _______ ______ _______ _________.
___ ________ ______ ____ ________ ______.
______ ______ __________ ____ ______ ___ ___ _________ ________ __________ _____.
___ ___ ____ ________ ________ _________ ___ ____ ____.
__________.
Skip in 10
A = $\begin{pmatrix}1 & 2\\0 & 1\end{pmatrix}$, B = $\begin{pmatrix}-3 & 1\\2 & -1\end{pmatrix}$ (i) Multiply A and B: $$ A \cdot B = \begin{pmatrix}1 & 2\\0 & 1\end{pmatrix} \begin{pmatrix}-3 & 1\\2 & -1\end{pmatrix} = \begin{pmatrix}(1)(-3) + (2)(2) & (1)(1) + (2)(-1)\\ (0)(-3) + (1)(2) & (0)(1) + (1)(-1)\end{pmatrix} = \begin{pmatrix}-3 + 4 & 1 - 2\\ 0 + 2 & 0
_______ ____ _________ _________ ________ _______ ______ __________.____ _________ _______ ____ ____.
______ ___ ______ ________ ______ _________ _______ ________ ________.
_________ ______ _________ ________ ________.
_______ ___ _____ ____ _____ _____ ________ _______.
_________ ____ ______ _______ __________ __________ __________ ______.
______ ____ ________ ________ ___ ______ ____ ____ ______.
_________ __________ ________ __________ _____ ________ _______ _________ ______ _________.
________ _____ ____ ____ _______ ____ __________ _________ _________.
_______ __________ _____ ____ _________ ________ ____ ______ ______ ________ ___ ______.
_______ ___ _________ __________ ______ _______.
_________ ______ _________ _______ __________ ___.
________ ______ ______ _________ _________ ________ ____ __________ ________ __________ _________.
________ ___ ________ ___ ___ _________ ______.
_______ __________ _______ __________ ___ ____ ________ ________ ____.
__________ _________ _______ _________ ____ ________ ______ _________ _____ _____.
______ ________ _________ ________ ____ __________ _______ ______ _______ _________.
___ ________ ______ ____ ________ ______.
______ ______ __________ ____ ______ ___ ___ _________ ________ __________ _____.
___ ___ ____ ________ ________ _________ ___ ____ ____.
__________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.