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
Sanjog Panda
on 28 Jun 2019
Nice Problem.
Jyothsna Chintala
on 21 Apr 2020
good
Monica S
on 16 Apr 2021
Good one
Isabella Stellitano
on 26 Oct 2021
GOOD
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
yuyuyu
on 25 Apr 2025
Pythagorean Theorem
Solution Comments
Show commentsProblem Recent Solvers16223
Suggested Problems
-
Flag largest magnitude swings as they occur
688 Solvers
-
Reverse the elements of an array
1104 Solvers
-
1221 Solvers
-
640 Solvers
-
Height of a right-angled triangle
2000 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!