Eigenvalues

Report a typo

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.

Sample Input 1:

8
9
2
3

Sample 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())
___

Create a free account to access the full topic