Problem 833. Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Andrew Newell
on 9 May 2017
Fun problem!
Doan Quang Manh
on 29 Oct 2019
I think minus() and power() must be forbidden
Brandon
on 1 May 2023 at 16:06
Anyone looking to bypass this stupid problem can just use
if h==5;a=4;return;end
for i=14.8324:0.000001:15.1987
if round(hypot(i,x),6)==h
a=i
return
end
end
Brandon
on 1 May 2023 at 18:13
This problem does not belong in Computational Geometry, at it is not testing geometry nor computational skills. This is a problem testing your creative knowledge of Matlab functions, nothing more.
Solution Comments
Show commentsProblem Recent Solvers172
Suggested Problems
-
381 Solvers
-
413 Solvers
-
Numbers with prime factors 2, 3 and 5.
424 Solvers
-
Who is the smartest MATLAB programmer?
712 Solvers
-
835 Solvers
More from this Author260
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!