Find out the hypotenuse of right triangle.
Say a = 4, b = 3 then c = 5
Please don't use ^ and sqrt() function.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers121
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6884 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
525 Solvers
-
940 Solvers
-
805 Solvers
-
938 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
A random test case was added to prevent hard-coded workarounds.