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 commentsGroup

CUP Challenge
- 11 Problems
- 4141 Finishers
- Length of a short side
- Triangle sequence
- Find a Pythagorean triple
- Is this triangle right-angled?
- Is this triangle right-angled?
- Area of an Isoceles Triangle
- Side of a rhombus
- Side of an equilateral triangle
- Area of an equilateral triangle
- Length of the hypotenuse
- Triangle sequence
- Is this triangle right-angled?
- Find a Pythagorean triple
- Is this triangle right-angled?
- Dimensions of a rectangle
Problem Recent Solvers14928
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!