logo

Crowdly

Browser

Add to Chrome

Mathematics for Computer Scientists 2 (COMP1045 UNMC) (SPM1 25-26)

Looking for Mathematics for Computer Scientists 2 (COMP1045 UNMC) (SPM1 25-26) test answers and solutions? Browse our comprehensive collection of verified answers for Mathematics for Computer Scientists 2 (COMP1045 UNMC) (SPM1 25-26) at moodle.nottingham.ac.uk.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Given the linear system A,  what is the correct u33 in LU factorization?

Click here to find the formula which would be helpful to calculate u33

A = 

  2

  1

 1

 4 1 0
 -2 2 5

, L =

 1 0 0
 2 1 0
 -1 -3 1

, and U =

 2 1 1
 0 -1 -2
 0 0 u33

0%
0%
0%
100%
View this question

\text{If } A = \begin{bmatrix} 2 & -1 \\ 0 & 3 \end{bmatrix}, \text{ then } 3A = ?\text{If } A = \begin{bmatrix} 2 & -1 \\ 0 & 3 \end{bmatrix}, \text{ then } 3A = ?

0%
0%
0%
50%
View this question

What is the determinant of the matrix A and B?

A = \begin{bmatrix} 1 & 0 & 0 &0\\ 0 & 2 & 0&0 \\ 0 & 0 & 3 & -1 \\ 0 & 0 &0&4\end{bmatrix}A = \begin{bmatrix} 1 & 0 & 0 &0\\ 0 & 2 & 0&0 \\ 0 & 0 & 3 & -1 \\ 0 & 0 &0&4\end{bmatrix}

 

B = \begin{bmatrix} 3 & 0 & 0 &0\\ 0 & 3 & 0&0 \\ 0 & 0 & 3 & -2\\ 0 & 0 &0&1\end{bmatrix}B = \begin{bmatrix} 3 & 0 & 0 &0\\ 0 & 3 & 0&0 \\ 0 & 0 & 3 & -2\\ 0 & 0 &0&1\end{bmatrix}

 

 

0%
0%
0%
17%
View this question
Consider the function f: A -> B, where A = {1, 2, 3} and B = {a, b, c}. The function is defined by the following mapping: 1 -> a, 2 -> b, 3 -> c. Which of the following describes the function?
100%
0%
0%
0%
View this question

\text{if} \quad A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} \quad \text{, what is AB} \quad\text{if} \quad A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} \quad \text{, what is AB} \quad

 

Python

import numpy as

np

A = np.array([[

1, 0, 0, 0], [0, 2, 0, 0], [0, 0, 3, -1], [0, 0, 0, 4

]])

B = np.array([[

3, 0, 0, 0], [0, 3, 0, 0], [0, 0, 3, -2], [0, 0, 0, 1

]])

det_A = np.linalg.det(A)

det_B = np.linalg.det(B)

print(

f"{det_A=}"

)

print(

f"{det_B=}"

)

Code output

det_A=23.999999999999993

det_B=27.0

 

0%
25%
25%
0%
View this question
Given the linear system A,  what is the correct u33 in LU factorization?

Click here to find the formula which would be helpful to calculate u33

A = 

  2

  1

 1

 4 1 0
 -2 2 3

, L =

 1 0 0
 2 1 0
 -1 -3 1

, and U =

 2 1 1
 0 -1 -2
 0 0 u33

0%
100%
0%
0%
View this question

What is the result of adding the following matrices ?

\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}

 and

\begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}\begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}

 

 

0%
0%
33%
0%
View this question
Gaussian elimination transforms a matrix into:
0%
100%
0%
0%
View this question
LU factorization decomposes a matrix into:
60%
20%
0%
20%
View this question
LU factorization is computationally efficient for:
0%
67%
33%
0%
View this question

Want instant access to all verified answers on moodle.nottingham.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome