This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 49;
y_correct = 7;
assert(isequal(square_root(x),y_correct))
y =
7
|
2 | Pass |
x = 81;
y_correct = 9;
assert(isequal(square_root(x),y_correct))
y =
9
|
Back to basics 8 - Matrix Diagonals
781 Solvers
Find nearest prime number less than input number
268 Solvers
Given a matrix, return the last eigen value
175 Solvers
299 Solvers
708 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!