Problem 2465. Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Muthu Annamalai
on 10 Aug 2015
Please add more tests, otherwise the problem is trivially solvable.
Ben Petschel
on 28 Aug 2016
The solution isn't unique - it could be anything between 0 and 12.5. Need to specify that only integer side lengths are allowed (even then there could be multiple solutions). Also more test cases are required.
Jihye Sofia Seo
on 9 Feb 2017
This problem is problematic.
Anisha Raut
on 30 Aug 2020
did not get this problem...
Solution Comments
Show commentsProblem Recent Solvers165
Suggested Problems
-
623 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
11356 Solvers
-
07 - Common functions and indexing 1
436 Solvers
-
Find the dimensions of a matrix
521 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
150 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!