Problem 2020. Area of an Isoceles Triangle
Solution Stats
Problem Comments
-
3 Comments
Great Problem
xd
Good problem
Solution Comments
-
1 Comment
interesting
-
1 Comment
similar to other problem
-
1 Comment
nice
-
1 Comment
why are you so diao?
-
1 Comment
function A = isocelesArea(x,y)
u=(2*x+y)/2;
A = sqrt(u*(u-x)^2*(u-y));
end
-
1 Comment
It takes me three times......
-
2 Comments
Use Pythagoreans theorem
I don't understand assert part in the test code... tolerance value will always be less than the area if I am right... so how..? I am lost... anyone can clarify this for me..
Thank you!
Problem Recent Solvers3747
Suggested Problems
-
1724 Solvers
-
1014 Solvers
-
Project Euler: Problem 3, Largest prime factor
862 Solvers
-
683 Solvers
-
1077 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!