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
-
8 Comments
Show
5 older comments
Mrutyunjaya Hiremath
on 18 Jul 2023
It's a good problem.
Robert Wagner
on 27 Sep 2023
oh my god
yuyuyu
on 25 Apr 2025 at 11:34
Pythagorean Theorem
Solution Comments
Show commentsProblem Recent Solvers14910
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1209 Solvers
-
Reverse the elements of an array
1057 Solvers
-
convert matrix to single column
418 Solvers
-
2530 Solvers
-
Find x rows where the sum of the numbers is the maximum
460 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!