Problem 2023. Is this triangle right-angled?
Solution Stats
Problem Comments
-
5 Comments
among a,b,c., specify the hypotenuse.
that's the tricky part here ;) Check all combinations - too bad 'combvec' doesnt work here
Passes for True, but Failing when I get to false test?? Not sure at the moment what I could be missing.
I'd like to suggest an additional test case such as
a = sqrt(10); b = 3; c = 1;
Here the result is "true", but some of the existing solutions won't work because of rounding errors.
interesting!
Solution Comments
Show commentsProblem Recent Solvers6358
Suggested Problems
-
The Goldbach Conjecture, Part 2
2387 Solvers
-
Create a cell array out of a struct
2272 Solvers
-
Arrange Vector in descending order
12759 Solvers
-
Flip the main diagonal of a matrix
882 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2074 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!