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 Solvers14751
Suggested Problems
-
879 Solvers
-
Project Euler: Problem 10, Sum of Primes
1900 Solvers
-
Create a square matrix of multiples
482 Solvers
-
419 Solvers
-
476 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!