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.
45.45% Correct | 54.55% Incorrect
Last Solution submitted on Apr 08, 2023
Show 1 older comment
Gergely Patay on 30 Oct 2019
Why is an equilateral triangle not considered as isosceles?
Asif Newaz on 27 Dec 2019
Dyuman Joshi on 14 Jan 2021
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.
Christian Schröder on 24 Nov 2022
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 CommentsShow comments
Problem Recent Solvers21
Project Euler: Problem 1, Multiples of 3 and 5
More from this Author165
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!