Problem 55905. Triangulo Semelhante
Dados dois vetores A = (a1, a2, a3) e B = (b1, b2, b3) sendo referentes a arestas de triangulos. Verifique se os triangulos são semelhantes, retorne true ou false.
TriangulosSemelhantes([6, 4, 2], [3, 2, 1]) = true;
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 1 Oct 2022
Triangle with sides 1,2,3 or 2,4,6 is not possible.
I would suggest you to update your test suite.
Solution Comments
Show commentsProblem Recent Solvers30
Suggested Problems
-
Longest run of consecutive numbers
5844 Solvers
-
The sum of the numbers in the vector
613 Solvers
-
Replace 0 indices in array with 1's
120 Solvers
-
Volume of Equilateral Triangle Prism
82 Solvers
-
1823 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!