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 Solvers16319
Suggested Problems
-
3428 Solvers
-
5963 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
Simple equation: Annual salary
4252 Solvers
-
Convert from Fahrenheit to Celsius
27555 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!