Cody

Solution 1031891

Submitted on 25 Oct 2016 by Andriy Kavetsky
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   Pass
n = 3; y_correct = -360; assert(abs(ProdEigMag(n)-y_correct)<10^(-4))

ans = -360.0000

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

ans = -9.0175e-08