Problem 45179. The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
the remaining side may have many possible values.only assume integer ones for simplicity.
Solution Stats
Problem Comments
-
4 Comments
Why is an equilateral triangle not considered as isosceles?
@Gergely
my mistake..sorry
@Asif
The test suite still doesn't consider equilateral triangle as an isosceles triangle. I suggest either you update your test suite or mentioned the condition in the problem statement.
On top of what's been said already, please also don't use isequal() to compare floating point numbers, and please use isempty() to check for an empty result.
Solution Comments
Show commentsProblem Recent Solvers22
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6188 Solvers
-
Read a column of numbers and interpolate missing data
2277 Solvers
-
514 Solvers
-
Relative ratio of "1" in binary number
1393 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
537 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!