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 Solvers16291
Suggested Problems
-
Remove the two elements next to NaN value
699 Solvers
-
Create a vector whose elements depend on the previous element
779 Solvers
-
711 Solvers
-
Is this triangle right-angled?
6376 Solvers
-
Natural numbers in string form
1842 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!