Problem 2068. Determine the square root
Determine the square root of the value the user has entered, n.
Solution Stats
Problem Comments
-
2 Comments
Marcel
on 20 Dec 2013
Hello Samantha,
I think you should change "assert(isequal(your_fcn_name(x),y_correct))
" to "assert(isequal(your_fcn_name(n),y_correct))"
Ned Gulley
on 14 Jan 2014
I made the suggested change to the test suite and re-scored.
Solution Comments
Show commentsProblem Recent Solvers728
Suggested Problems
-
2450 Solvers
-
10734 Solvers
-
Sum all integers from 1 to 2^n
15876 Solvers
-
Given a window, how many subsets of a vector sum positive
857 Solvers
-
Create a vector whose elements depend on the previous element
712 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!