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 Solvers4369
Suggested Problems
-
Find the peak 3n+1 sequence value
1777 Solvers
-
Create a vector whose elements depend on the previous element
534 Solvers
-
What is Sum Of all elements of Matrix
373 Solvers
-
710 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
991 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!