Tanya, you like triangles.
Good one
Pythagoras theorem
These are interesting
a = sqrt(c^2-b^2);
good question
this isn't a calculation!
lol
what the
ez
test_1 a=sqrt(3) is longer than b=1
the good solution would be
a= min(sqrt(c^2 -b^2),b)
instead
regexp cheat
Kudos for finding this solution - it did indeed meet all the test cases, but wasn't quite what I had in mind! I will add a new test.
2982 Solvers
1052 Solvers
Who is the smartest MATLAB programmer?
561 Solvers
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
292 Solvers
Matlab Basics - Absolute Value
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!