Problem 2465. Find the area of a rectangle if length of the diagonal is given.
Solution Stats
Problem Comments
-
4 Comments
Please add more tests, otherwise the problem is trivially solvable.
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.
This problem is problematic.
did not get this problem...
Solution Comments
-
1 Comment
It is'nt always true! E.e. whether a quadrat's diagonal is 5 it's sides are 5/sqrt(2)! And the area will be 12.5!!
Problem Recent Solvers158
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
14599 Solvers
-
14800 Solvers
-
5765 Solvers
-
Find out sum of prime number till given number
179 Solvers
-
Compute LOG(1+X) in natural log
230 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!