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))
ans =
7
|
2 | Pass |
%%
x = 81;
y_correct = 9;
assert(isequal(square_root(x),y_correct))
ans =
9
|
462 Solvers
509 Solvers
292 Solvers
Compute LOG(1+X) in natural log
204 Solvers
Sum the squares of numbers from 1 to n
163 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!