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 Solvers15300
Suggested Problems
-
Select every other element of a vector
34678 Solvers
-
Find state names that end with the letter A
1188 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
616 Solvers
-
667 Solvers
-
1478 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!