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 Solvers104
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6813 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
742 Solvers
-
07 - Common functions and indexing 5
430 Solvers
-
Find the Nth Root of a Given Number
369 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.