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)
b =
2.3094
|
2 | Pass |
A = sqrt(3);
x_correct = 2;
tolerance = 1e-12;
assert(abs(side_length(A) - x_correct) < tolerance)
b =
2.3094
|
3 | Pass |
A = 2;
x_correct = 2*sqrt(2)/sqrt(sqrt(3));
tolerance = 1e-12;
assert(abs(side_length(A) - x_correct) < tolerance)
b =
2.3094
|
1900 Solvers
Arrange Vector in descending order
4078 Solvers
Back to basics 25 - Valid variable names
293 Solvers
Check if number exists in vector
4468 Solvers
516 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!