Determine the square root of the value the user has entered, n.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers800
Suggested Problems
-
Return the largest number that is adjacent to a zero
5527 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2580 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
894 Solvers
-
Matlab Basics II - Count rows in a matrix
409 Solvers
-
Sum the squares of numbers from 1 to n
261 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Hello Samantha,
I think you should change "assert(isequal(your_fcn_name(x),y_correct))
" to "assert(isequal(your_fcn_name(n),y_correct))"
I made the suggested change to the test suite and re-scored.