Problem 2023. Is this triangle right-angled?
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Shravankumar P
on 18 Jun 2014
among a,b,c., specify the hypotenuse.
Flo Mo
on 22 Sep 2016
that's the tricky part here ;) Check all combinations - too bad 'combvec' doesnt work here
Bunny Harlan
on 25 Oct 2017
Passes for True, but Failing when I get to false test?? Not sure at the moment what I could be missing.
pwl
on 31 Jan 2023
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.
Solution Comments
Show commentsProblem Recent Solvers4917
Suggested Problems
-
Numbers with prime factors 2, 3 and 5.
428 Solvers
-
822 Solvers
-
Sum of odd numbers in a matrix
466 Solvers
-
Find out sum and carry of Binary adder
1118 Solvers
-
6015 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!