Problem 833. Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed

Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowed.

Unallowed functions and symbols: mtimes cross prod cumprod times mldivide mrdivide dot * / \ - ^ '

Derivative of Aurelien's Cody 813 Multiply 2 numbers

Test suite disallowed function usage check courtesy of Aurelien Queffurust.

Example : h= 5; x= 3;

output = 4 since y=(h^2-x^2)^0.5

Solution Stats

16.04% Correct | 83.96% Incorrect
Last Solution submitted on Dec 12, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers242

Suggested Problems

More from this Author308

Community Treasure Hunt

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

Start Hunting!