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 Solvers244
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1200 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13585 Solvers
-
Determine the number of odd integers in a vector
818 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1254 Solvers
-
175 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!