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 Solvers103
Suggested Problems
-
Duplicate each element of a vector.
636 Solvers
-
Generate N equally spaced intervals between -L and L
943 Solvers
-
Change the sign of even index entries of the reversed vector
645 Solvers
-
Output any real number that is neither positive nor negative
410 Solvers
-
Sum of odd numbers in a matrix
618 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.