Cody

Problem 43634. Find product of eigenvalues of n*n magic matrix.

Find product of eigenvalues of n*n magic matrix.

Example

n=3

Matrix= [ 8 1 6; 3 5 7; 4 9 2]

result=-360

Solution Stats

67.92% Correct | 32.08% Incorrect
Last solution submitted on Oct 13, 2019

Problem Comments