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 Solvers14813
Suggested Problems
-
7370 Solvers
-
1323 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
640 Solvers
-
Check if number exists in vector
12617 Solvers
-
1629 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!