Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = 1;
x_correct = 2/sqrt(sqrt(3));
tolerance = 1e-12;
assert(abs( side_length(A) - x_correct ) < tolerance)
|
2 | Pass |
A = sqrt(3);
x_correct = 2;
tolerance = 1e-12;
assert(abs(side_length(A) - x_correct) < tolerance)
|
3 | Pass |
A = 2;
x_correct = 2*sqrt(2)/sqrt(sqrt(3));
tolerance = 1e-12;
assert(abs(side_length(A) - x_correct) < tolerance)
|
231 Solvers
Find the sum of the elements in the "second" diagonal
880 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
263 Solvers
187 Solvers
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
198 Solvers