Find the area of a square whose diagonal length is given as x.
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.
Add two numbers
Get the length of a given vector
Calculate the area of a triangle between three points
Add a row of zeros on top of a matrix
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office