Find the area of a square whose diagonal length is given as x.
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers247
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15782 Solvers
-
4563 Solvers
-
Duplicate each element of a vector.
636 Solvers
-
Determine the number of odd integers in a vector
828 Solvers
-
292 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
good problem.....keep it up!
Additional test cases have been added and the solution removed from the template function. All prior submissions are being re-scored.
FYI, Cody claims "The author requested rescoring, which can take a few minutes", presumably in response to the Test Suite changes circa 31 May 2017. However, currently (22 June 2018) numerous submissions are as yet still awaiting rescoring. E.g. Solution 1191310, submitted 17 May 2017. Evidently the rescoring feature does not work as described.
Good way to keep up with basic math functions