Problem 42855. Height of a right-angled triangle

Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a right angled triangle with sides a and b and hypotenuse c does not exist, return NaN (not-a-number).

Solution Stats

28.04% Correct | 71.96% Incorrect
Last Solution submitted on Feb 07, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers1609

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!