There are four elements in the input, one per line. Use them to create a two-dimensional array: the first two elements are used for the first row, the next two elements are for the second one. For instance, [[8, 9], [2, 3]]. Print the eigenvalues of this matrix in the array.
Submodule linalg
Eigenvalues
Report a typo
Sample Input 1:
8
9
2
3Sample Output 1:
[10.4244289 0.5755711]Write a program in Python 3
import numpy as np
a = int(input())
b = int(input())
c = int(input())
d = int(input())
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.