Cody

Solution 1574237

Submitted on 3 Jul 2018
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
n = 3; y_correct = -360; assert(abs(ProdEigMag(n)-y_correct)<10^(-4))

m = 8 1 6 3 5 7 4 9 2 v = 3 y = 3

Assertion failed.

2   Fail
n = 6; y_correct = -9.0175e-08; assert(abs(ProdEigMag(n)-y_correct)<10^(-4))

m = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 v = 6 y = 6

Assertion failed.