Which of the following statements is true about Gauss elimination method?
import numpy as np
A = np.array([[1, 2], [3, 4]])
B = np.array([[5, 6], [7, 8]])
C = np.dot(A, B)
print(C)
What will be the output of the above code?
import numpy as np
A = np.array([[1, 2], [3, 4]])
B = np.array([[5, 6], [7, 8]])
C = np.add(A, B)
print(C)
What will be the output of the above code?
import numpy as np
A = np.array([[1, 2], [3, 4]])
B = np.array([[5, 6], [7, 8]])
C = np.subtract(A, B)
print(C)
What will be the output of the above code?
import numpy as np
A = np.array([[1, 2], [3, 4]])
B = np.array([[5, 6], [7, 8]])
C = np.matmul(A, B)
print(C)
What will be the output of the above code?
import numpy as np
A = np.array([[1, 2], [3, 4]])
B = np.array([[1], [2]])
C = np.dot(A, B)
print(C)
What will be the output of the above code?
Consider the following matrix:
A = [[2, 4], [1, 3]]
What is the inverse of matrix A?
Consider the following matrix:
A = [[2, 4], [1, 3]]
What is the determinant of matrix A?
Consider the following matrix:
A = [[2, 4, 6], [1, 3, 5], [0, 1, 2]]
What is the rank of matrix A?
Consider the following system of linear equations:
2x + 3y + 4z = 10
5x + 6y + 7z = 20
8x + 9y + 10z = 30
What is the solution for the system of equations?
Consider the following matrix:
A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
What is the sum of the diagonal elements of matrix A?