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 Solvers710
Suggested Problems
-
788 Solvers
-
Sum of first n positive integers
581 Solvers
-
Solving Quadratic Equations (Version 1)
484 Solvers
-
378 Solvers
-
Test Problem; Create a 5x5 array containing all ones
384 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!