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 Solvers111
Suggested Problems
-
Find the sum of all the numbers of the input vector
55762 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2078 Solvers
-
Program an exclusive OR operation with logical operators
803 Solvers
-
234 Solvers
-
448 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.