Problem 2015. Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle.

Image courtesy of Wikipedia.
Solution Stats
Problem Comments
-
7 Comments
Show
4 older comments
Yuhui
on 14 Jul 2023
Math problem
Mrutyunjaya Hiremath
on 18 Jul 2023
It's a good problem.
Robert Wagner
on 27 Sep 2023
oh my god
Solution Comments
Show commentsProblem Recent Solvers14389
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15607 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3011 Solvers
-
Calculate the Levenshtein distance between two strings
1453 Solvers
-
811 Solvers
-
The sum of the numbers in the vector
611 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!