Problem 44207. Area of square
Find the area of a square whose diagonal length is given as x.
Solution Stats
Problem Comments
-
4 Comments
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
Solution Comments
Show commentsProblem Recent Solvers226
Suggested Problems
-
2244 Solvers
-
Sum of diagonal of a square matrix
1575 Solvers
-
Reverse the elements of an array
1023 Solvers
-
562 Solvers
-
211 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!