Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 3;
y_correct = -360;
assert(abs(ProdEigMag(n)-y_correct)<10^(-4))
|
2 | Pass |
n = 6;
y_correct = -9.0175e-08;
assert(abs(ProdEigMag(n)-y_correct)<10^(-4))
|
Return the 3n+1 sequence for n
5200 Solvers
193 Solvers
Solve the set of simultaneous linear equations
171 Solvers
Switch matrix to a column vector
188 Solvers
construct matrix with identical rows
137 Solvers