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)
x =
1.5197
|
2 | Pass |
A = sqrt(3);
x_correct = 2;
tolerance = 1e-12;
assert(abs(side_length(A) - x_correct) < tolerance)
x =
2
|
3 | Pass |
A = 2;
x_correct = 2*sqrt(2)/sqrt(sqrt(3));
tolerance = 1e-12;
assert(abs(side_length(A) - x_correct) < tolerance)
x =
2.1491
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35576 Solvers
4107 Solvers
786 Solvers
733 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!